09:57:53Started by GitHub push by Geolykt
09:57:53Running as SYSTEM
09:57:53Building in workspace /var/lib/jenkins/workspace/sponge-mixin-sl
09:57:53The recommended git tool is: NONE
09:57:53No credentials specified
09:57:53 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/sponge-mixin-sl/.git # timeout=10
09:57:53Fetching changes from the remote Git repository
09:57:53 > git config remote.origin.url https://github.com/stianloader/SLMixin.git # timeout=10
09:57:53Fetching upstream changes from https://github.com/stianloader/SLMixin.git09:57:53 > git --version # timeout=10
09:57:53 > git --version # 'git version 2.54.0'
09:57:53 > git fetch --tags --force --progress -- https://github.com/stianloader/SLMixin.git +refs/heads/*:refs/remotes/origin/* # timeout=10
09:57:53 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
09:57:53Checking out Revision dd100899212dc23289060773fa0d6fc35ffa2982 (refs/remotes/origin/main)
09:57:53 > git config core.sparsecheckout # timeout=10
09:57:53 > git checkout -f dd100899212dc23289060773fa0d6fc35ffa2982 # timeout=10
09:57:53Commit message: "Fix checkstyle"
09:57:53 > git rev-list --no-walk 671bbbe86e6c78c9f3709909a0adaa7c3f09b017 # timeout=10
09:57:53false
09:57:53SCM Skip: Pattern .*\[CI-SKIP\].* NOT matched on message: Fix checkstyle
09:57:5309:57:53-.-
09:57:5309:57:53Added the checkstyle task to the publishToMavenLocal task to fix that from
09:57:53happening in the future
09:57:5309:57:53[Gradle] - Launching build.
09:57:53[sponge-mixin-sl] $ /var/lib/jenkins/workspace/sponge-mixin-sl/gradlew -PpublishRepo=http://localhost:25615/maven clean publish
09:57:55Starting a Gradle Daemon (subsequent builds will be faster)
09:58:1009:58:10> Configure project :
09:58:10Publishing to http://localhost:25615/maven09:58:1209:58:12> Task :clean09:58:2209:58:22> Task :compileJava09:58:22/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/transformer/EnumInfo.java:201: warning: [serial] serializable class org.spongepowered.asm.mixin.transformer.EnumInfo.AssumptionViolatedException has no definition of serialVersionUID
09:58:22 public static final class AssumptionViolatedException extends Exception {
09:58:22 ^
09:58:22/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorMethodProxy.java:78: warning: [deprecation] getClassNode() in org.spongepowered.asm.mixin.struct.SpecialMethodInfo has been deprecated
09:58:22 boolean isInterface = Bytecode.hasFlag(this.info.getClassNode(), Opcodes.ACC_INTERFACE);
09:58:22 ^
09:58:22/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorMethodProxy.java:81: warning: [deprecation] getClassNode() in org.spongepowered.asm.mixin.struct.SpecialMethodInfo has been deprecated
09:58:22 method.instructions.add(new MethodInsnNode(opcode, this.info.getClassNode().name, this.targetMethod.name, this.targetMethod.desc, isInterface));
09:58:22 ^
09:58:22/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorFieldSetter.java:56: warning: [deprecation] getClassNode() in org.spongepowered.asm.mixin.struct.SpecialMethodInfo has been deprecated
09:58:22 if (Bytecode.hasFlag(this.info.getClassNode(), Opcodes.ACC_INTERFACE)) {
09:58:22 ^
09:58:22/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorFieldSetter.java:59: warning: [deprecation] getClassNode() in org.spongepowered.asm.mixin.struct.SpecialMethodInfo has been deprecated
09:58:22 this.info, this.info.getClassNode().name, this.targetField.name));
09:58:22 ^
09:58:225 warnings
09:58:2309:58:23> Task :processResourcesNO-SOURCE
09:58:23> Task :classes09:58:2609:58:26> Task :compileJava9Java09:58:26/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:100: warning: [module] module not found: mixinextras.common
09:58:26 opens org.spongepowered.asm.mixin.injection to mixinextras.common;
09:58:26 ^
09:58:26/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:101: warning: [module] module not found: mixinextras.common
09:58:26 opens org.spongepowered.asm.mixin.injection.struct to mixinextras.common;
09:58:26 ^
09:58:26/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:102: warning: [module] module not found: mixinextras.common
09:58:26 opens org.spongepowered.asm.mixin.transformer to com.google.gson, mixinextras.common;
09:58:26 ^
09:58:26/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:103: warning: [module] module not found: mixinextras.common
09:58:26 opens org.spongepowered.asm.mixin.transformer.ext to mixinextras.common;
09:58:26 ^
09:58:26/var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:104: warning: [module] module not found: mixinextras.common
09:58:26 opens org.spongepowered.asm.mixin.transformer.ext.extensions to mixinextras.common;
09:58:26 ^
09:58:265 warnings
09:58:2709:58:27> Task :processJava9ResourcesNO-SOURCE
09:58:27> Task :java9Classes09:58:35> Task :javadoc09:58:36> Task :javadocJar09:58:36> Task :sourcesJar09:58:36> Task :compileTestJavaNO-SOURCE
09:58:36> Task :processTestResourcesNO-SOURCE
09:58:36> Task :testClassesUP-TO-DATE
09:58:36> Task :testNO-SOURCE
09:58:37> Task :jar09:58:37> Task :assemble09:58:49> Task :checkstyleJava909:58:49> Task :checkstyleTestNO-SOURCE
09:58:4909:58:49> Task :validateHeaders FAILED
09:58:49File /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLNumberParser.java does not have the correct license header
09:58:49File /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLArrayUtils.java does not have the correct license header
09:58:49File /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLHelpers.java does not have the correct license header
09:59:0709:59:07> Task :checkstyleMain09:59:08[ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLNumberParser.java:7:1: Class SLNumberParser should be declared as final. [FinalClass]
09:59:08[ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLArrayUtils.java:10:1: Class SLArrayUtils should be declared as final. [FinalClass]
09:59:08[ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLHelpers.java:10:1: Class SLHelpers should be declared as final. [FinalClass]
09:59:0909:59:09> Task :checkstyleMain FAILED
09:59:0909:59:09[Incubating] Problems report is available at: file:///var/lib/jenkins/workspace/sponge-mixin-sl/build/reports/problems/problems-report.html09:59:0909:59:09FAILURE: Build completed with 2 failures.
09:59:0909:59:091: Task failed with an exception.
09:59:09-----------
09:59:09* Where:
09:59:09Build file '/var/lib/jenkins/workspace/sponge-mixin-sl/build.gradle' line: 119
09:59:0909:59:09* What went wrong:
09:59:09Execution failed for task ':validateHeaders'.
09:59:09> License header validation failed for the following files:
09:59:09 SLNumberParser.java
09:59:09 SLArrayUtils.java
09:59:09 SLHelpers.java
09:59:0909:59:09* Try:
09:59:09> Run with --stacktrace option to get the stack trace.
09:59:09> Run with --info or --debug option to get more log output.
09:59:09> Run with --scan to get full insights.
09:59:09> Get more help at https://help.gradle.org.
09:59:09==============================================================================
09:59:0909:59:092: Task failed with an exception.
09:59:09-----------
09:59:09* What went wrong:
09:59:09Execution failed for task ':checkstyleMain'.
09:59:09> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
09:59:09 > Checkstyle rule violations were found. See the report at: file:///var/lib/jenkins/workspace/sponge-mixin-sl/build/reports/checkstyle/main.html09:59:09 Checkstyle files with violations: 3
09:59:09 Checkstyle violations by severity: [error:3]
09:59:0909:59:0909:59:09* Try:
09:59:09> Run with --scan to get full insights.
09:59:09==============================================================================
09:59:0909:59:09Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
09:59:0909:59:09You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
09:59:0909:59:09For more on this, please refer to https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
09:59:0909:59:09BUILD FAILED in 1m 15s
09:59:0910 actionable tasks: 10 executed
09:59:10Build step 'Run with timeout' changed build result to FAILURE
09:59:10Build step 'Run with timeout' marked build as failure
09:59:12Sending notification to Discord.
09:59:12Finished: FAILURE