Skip to content
09:57:53 Started by GitHub push by Geolykt
09:57:53 Running as SYSTEM
09:57:53 Building in workspace /var/lib/jenkins/workspace/sponge-mixin-sl
09:57:53 The recommended git tool is: NONE
09:57:53 No credentials specified
09:57:53  > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/sponge-mixin-sl/.git # timeout=10
09:57:53 Fetching changes from the remote Git repository
09:57:53  > git config remote.origin.url https://github.com/stianloader/SLMixin.git # timeout=10
09:57:53 Fetching upstream changes from https://github.com/stianloader/SLMixin.git
09: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:53 Checking 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:53 Commit message: "Fix checkstyle"
09:57:53  > git rev-list --no-walk 671bbbe86e6c78c9f3709909a0adaa7c3f09b017 # timeout=10
09:57:53 false
09:57:53 SCM Skip: Pattern .*\[CI-SKIP\].* NOT matched on message: Fix checkstyle
09:57:53 
09:57:53 -.-
09:57:53 
09:57:53 Added the checkstyle task to the publishToMavenLocal task to fix that from
09:57:53 happening in the future
09:57:53 
09: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:55 Starting a Gradle Daemon (subsequent builds will be faster)
09:58:10 
09:58:10 > Configure project :
09:58:10 Publishing to http://localhost:25615/maven
09:58:12 
09:58:12 > Task :clean
09:58:22 
09:58:22 > Task :compileJava
09: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:22 5 warnings
09:58:23 
09:58:23 > Task :processResources NO-SOURCE
09:58:23 > Task :classes
09:58:26 
09:58:26 > Task :compileJava9Java
09: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:26 5 warnings
09:58:27 
09:58:27 > Task :processJava9Resources NO-SOURCE
09:58:27 > Task :java9Classes
09:58:35 > Task :javadoc
09:58:36 > Task :javadocJar
09:58:36 > Task :sourcesJar
09:58:36 > Task :compileTestJava NO-SOURCE
09:58:36 > Task :processTestResources NO-SOURCE
09:58:36 > Task :testClasses UP-TO-DATE
09:58:36 > Task :test NO-SOURCE
09:58:37 > Task :jar
09:58:37 > Task :assemble
09:58:49 > Task :checkstyleJava9
09:58:49 > Task :checkstyleTest NO-SOURCE
09:58:49 
09:58:49 > Task :validateHeaders FAILED
09:58:49 File /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:49 File /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:49 File /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:07 
09:59:07 > Task :checkstyleMain
09: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:09 
09:59:09 > Task :checkstyleMain FAILED
09:59:09 
09:59:09 [Incubating] Problems report is available at: file:///var/lib/jenkins/workspace/sponge-mixin-sl/build/reports/problems/problems-report.html
09:59:09 
09:59:09 FAILURE: Build completed with 2 failures.
09:59:09 
09:59:09 1: Task failed with an exception.
09:59:09 -----------
09:59:09 * Where:
09:59:09 Build file '/var/lib/jenkins/workspace/sponge-mixin-sl/build.gradle' line: 119
09:59:09 
09:59:09 * What went wrong:
09:59:09 Execution 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:09 
09: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:09 
09:59:09 2: Task failed with an exception.
09:59:09 -----------
09:59:09 * What went wrong:
09:59:09 Execution 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.html
09:59:09      Checkstyle files with violations: 3
09:59:09      Checkstyle violations by severity: [error:3]
09:59:09 
09:59:09 
09:59:09 * Try:
09:59:09 > Run with --scan to get full insights.
09:59:09 ==============================================================================
09:59:09 
09:59:09 Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
09:59:09 
09:59:09 You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
09:59:09 
09:59:09 For 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:09 
09:59:09 BUILD FAILED in 1m 15s
09:59:09 10 actionable tasks: 10 executed
09:59:10 Build step 'Run with timeout' changed build result to FAILURE
09:59:10 Build step 'Run with timeout' marked build as failure
09:59:12 Sending notification to Discord.
09:59:12 Finished: FAILURE