Skip to content
09:51:38 Started by GitHub push by Geolykt
09:51:38 Running as SYSTEM
09:51:38 Building in workspace /var/lib/jenkins/workspace/sponge-mixin-sl
09:51:38 The recommended git tool is: NONE
09:51:38 No credentials specified
09:51:38 Cloning the remote Git repository
09:51:38 Cloning repository https://github.com/stianloader/SLMixin.git
09:51:38  > git init /var/lib/jenkins/workspace/sponge-mixin-sl # timeout=10
09:51:38 Fetching upstream changes from https://github.com/stianloader/SLMixin.git
09:51:38  > git --version # timeout=10
09:51:38  > git --version # 'git version 2.54.0'
09:51:38  > git fetch --tags --force --progress -- https://github.com/stianloader/SLMixin.git +refs/heads/*:refs/remotes/origin/* # timeout=10
09:51:39  > git config remote.origin.url https://github.com/stianloader/SLMixin.git # timeout=10
09:51:39  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
09:51:39 Avoid second fetch
09:51:39  > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
09:51:39 Checking out Revision 671bbbe86e6c78c9f3709909a0adaa7c3f09b017 (refs/remotes/origin/main)
09:51:39  > git config core.sparsecheckout # timeout=10
09:51:39  > git checkout -f 671bbbe86e6c78c9f3709909a0adaa7c3f09b017 # timeout=10
09:51:40 Commit message: "Nuke guava dependency"
09:51:40  > git rev-list --no-walk 0d3d308a10dd65a8238b2d36cf531a7881c7577a # timeout=10
09:51:40 false
09:51:40 SCM Skip: Pattern .*\[CI-SKIP\].* NOT matched on message: Nuke guava dependency
09:51:40 
09:51:40 Not tests, pushed to prod anyways lulululullululululullulululululullululululululullululululululul
09:51:40 
09:51:40 [Gradle] - Launching build.
09:51:40 [sponge-mixin-sl] $ /var/lib/jenkins/workspace/sponge-mixin-sl/gradlew -PpublishRepo=http://localhost:25615/maven clean publish
09:51:42 Starting a Gradle Daemon (subsequent builds will be faster)
09:52:00 
09:52:00 > Configure project :
09:52:00 Publishing to http://localhost:25615/maven
09:52:03 
09:52:03 > Task :clean UP-TO-DATE
09:52:15 
09:52:15 > Task :compileJava
09:52:15 /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:52:15     public static final class AssumptionViolatedException extends Exception {
09:52:15                         ^
09:52:15 /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:52:15         boolean isInterface = Bytecode.hasFlag(this.info.getClassNode(), Opcodes.ACC_INTERFACE);
09:52:15                                                         ^
09:52:15 /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:52:15         method.instructions.add(new MethodInsnNode(opcode, this.info.getClassNode().name, this.targetMethod.name, this.targetMethod.desc, isInterface));
09:52:15                                                                     ^
09:52:15 /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:52:15         if (Bytecode.hasFlag(this.info.getClassNode(), Opcodes.ACC_INTERFACE)) {
09:52:15                                       ^
09:52:15 /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:52:15                     this.info, this.info.getClassNode().name, this.targetField.name));
09:52:15                                         ^
09:52:15 5 warnings
09:52:16 
09:52:16 > Task :processResources NO-SOURCE
09:52:16 > Task :classes
09:52:20 
09:52:20 > Task :compileJava9Java
09:52:20 /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:100: warning: [module] module not found: mixinextras.common
09:52:20     opens org.spongepowered.asm.mixin.injection to mixinextras.common;
09:52:20                                                               ^
09:52:20 /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:101: warning: [module] module not found: mixinextras.common
09:52:20     opens org.spongepowered.asm.mixin.injection.struct to mixinextras.common;
09:52:20                                                                      ^
09:52:20 /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:102: warning: [module] module not found: mixinextras.common
09:52:20     opens org.spongepowered.asm.mixin.transformer to com.google.gson, mixinextras.common;
09:52:20                                                                                  ^
09:52:20 /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:103: warning: [module] module not found: mixinextras.common
09:52:20     opens org.spongepowered.asm.mixin.transformer.ext to mixinextras.common;
09:52:20                                                                     ^
09:52:20 /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java9/module-info.java:104: warning: [module] module not found: mixinextras.common
09:52:20     opens org.spongepowered.asm.mixin.transformer.ext.extensions to mixinextras.common;
09:52:20                                                                                ^
09:52:20 5 warnings
09:52:20 
09:52:20 > Task :processJava9Resources NO-SOURCE
09:52:20 > Task :java9Classes
09:52:29 > Task :javadoc
09:52:30 > Task :javadocJar
09:52:30 > Task :sourcesJar
09:52:30 > Task :compileTestJava NO-SOURCE
09:52:31 > Task :processTestResources NO-SOURCE
09:52:31 > Task :testClasses UP-TO-DATE
09:52:31 > Task :test NO-SOURCE
09:52:31 > Task :jar
09:52:31 > Task :assemble
09:52:45 > Task :checkstyleJava9
09:52:45 > Task :checkstyleTest NO-SOURCE
09:52:45 
09:52:45 > Task :validateHeaders FAILED
09:52:45 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:52:45 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:52:45 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:53:01 
09:53:01 > Task :checkstyleMain
09:53:05 [ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLNumberParser.java:7:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
09:53:05 [ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLArrayUtils.java:10:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
09:53:05 [ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/util/internal/SLHelpers.java:10:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
09:53:05 [ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/injection/points/BeforeNew.java:113:9: WhitespaceAround: 'if' is not followed by whitespace. [WhitespaceAround]
09:53:05 [ant:checkstyle] [ERROR] /var/lib/jenkins/workspace/sponge-mixin-sl/src/main/java/org/spongepowered/asm/mixin/transformer/MixinConfig.java:796:58: WhitespaceAround: ':' is not preceded with whitespace. [WhitespaceAround]
09:53:06 
09:53:06 > Task :checkstyleMain FAILED
09:53:06 
09:53:06 [Incubating] Problems report is available at: file:///var/lib/jenkins/workspace/sponge-mixin-sl/build/reports/problems/problems-report.html
09:53:06 
09:53:06 FAILURE: Build completed with 2 failures.
09:53:06 
09:53:06 1: Task failed with an exception.
09:53:06 -----------
09:53:06 * Where:
09:53:06 Build file '/var/lib/jenkins/workspace/sponge-mixin-sl/build.gradle' line: 119
09:53:06 
09:53:06 * What went wrong:
09:53:06 Execution failed for task ':validateHeaders'.
09:53:06 > License header validation failed for the following files:
09:53:06   SLNumberParser.java
09:53:06   SLArrayUtils.java
09:53:06   SLHelpers.java
09:53:06 
09:53:06 * Try:
09:53:06 > Run with --stacktrace option to get the stack trace.
09:53:06 > Run with --info or --debug option to get more log output.
09:53:06 > Run with --scan to get full insights.
09:53:06 > Get more help at https://help.gradle.org.
09:53:06 ==============================================================================
09:53:06 
09:53:06 2: Task failed with an exception.
09:53:06 -----------
09:53:06 * What went wrong:
09:53:06 Execution failed for task ':checkstyleMain'.
09:53:06 > A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
09:53:06    > Checkstyle rule violations were found. See the report at: file:///var/lib/jenkins/workspace/sponge-mixin-sl/build/reports/checkstyle/main.html
09:53:06      Checkstyle files with violations: 5
09:53:06      Checkstyle violations by severity: [error:5]
09:53:06 
09:53:06 
09:53:06 * Try:
09:53:06 > Run with --scan to get full insights.
09:53:06 ==============================================================================
09:53:06 
09:53:06 Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
09:53:06 
09:53:06 You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
09:53:06 
09:53:06 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:53:06 
09:53:06 BUILD FAILED in 1m 26s
09:53:06 10 actionable tasks: 9 executed, 1 up-to-date
09:53:07 Build step 'Run with timeout' changed build result to FAILURE
09:53:07 Build step 'Run with timeout' marked build as failure
09:53:09 Sending notification to Discord.
09:53:09 Finished: FAILURE