Statusupdate pending Waiting for previous builds
Statusupdate pending Building project
Loading master/steamwarci.yml
HEAD is now at e63d7142 Add UpdateTeamsPacket
Build: Executing JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 ./gradlew build
> Task :build-logic:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:generateExternalPluginSpecBuilders UP-TO-DATE
> Task :build-logic:extractPrecompiledScriptPluginPlugins UP-TO-DATE
> Task :build-logic:compilePluginsBlocks UP-TO-DATE
> Task :build-logic:generatePrecompiledScriptPluginAccessors UP-TO-DATE
> Task :build-logic:generateScriptPluginAdapters UP-TO-DATE
> Task :build-logic:compileKotlin UP-TO-DATE
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:pluginDescriptors UP-TO-DATE
> Task :build-logic:processResources UP-TO-DATE
> Task :build-logic:classes UP-TO-DATE
> Task :build-logic:jar UP-TO-DATE
Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :jar UP-TO-DATE
> Task :assemble UP-TO-DATE
> Task :compileTestJava NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test NO-SOURCE
> Task :check UP-TO-DATE
> Task :build UP-TO-DATE
> Task :deprecated-configurate3:compileJava NO-SOURCE
> Task :deprecated-configurate3:processResources NO-SOURCE
> Task :deprecated-configurate3:classes UP-TO-DATE
> Task :deprecated-configurate3:jar UP-TO-DATE
> Task :deprecated-configurate3:assemble UP-TO-DATE
> Task :deprecated-configurate3:checkstyleMain NO-SOURCE
> Task :deprecated-configurate3:compileTestJava NO-SOURCE
> Task :deprecated-configurate3:processTestResources NO-SOURCE
> Task :deprecated-configurate3:testClasses UP-TO-DATE
> Task :deprecated-configurate3:checkstyleTest NO-SOURCE
> Task :spotlessInternalRegisterDependencies UP-TO-DATE
> Task :deprecated-configurate3:spotlessJava UP-TO-DATE
> Task :deprecated-configurate3:spotlessJavaCheck UP-TO-DATE
> Task :deprecated-configurate3:spotlessCheck UP-TO-DATE
> Task :deprecated-configurate3:shadowJar UP-TO-DATE
> Task :deprecated-configurate3:test NO-SOURCE
> Task :deprecated-configurate3:check UP-TO-DATE
> Task :deprecated-configurate3:build UP-TO-DATE
> Task :velocity-api:compileJava UP-TO-DATE
> Task :velocity-api:processResources NO-SOURCE
> Task :velocity-api:classes UP-TO-DATE
> Task :velocity-api:jar UP-TO-DATE
> Task :velocity-api:javadoc UP-TO-DATE
> Task :velocity-api:javadocJar UP-TO-DATE
> Task :velocity-api:sourcesJar UP-TO-DATE
> Task :velocity-api:assemble UP-TO-DATE
> Task :velocity-api:checkstyleMain UP-TO-DATE
> Task :velocity-api:compileTestJava UP-TO-DATE
> Task :velocity-api:processTestResources NO-SOURCE
> Task :velocity-api:testClasses UP-TO-DATE
> Task :velocity-api:checkstyleTest UP-TO-DATE
> Task :velocity-api:spotlessJava UP-TO-DATE
> Task :velocity-api:spotlessJavaCheck UP-TO-DATE
> Task :velocity-api:spotlessCheck UP-TO-DATE
> Task :velocity-api:test UP-TO-DATE
> Task :velocity-api:check UP-TO-DATE
> Task :velocity-api:build UP-TO-DATE
> Task :velocity-native:compileJava UP-TO-DATE
> Task :velocity-native:processResources UP-TO-DATE
> Task :velocity-native:classes UP-TO-DATE
> Task :velocity-native:jar UP-TO-DATE
> Task :velocity-native:assemble UP-TO-DATE
> Task :velocity-native:checkstyleMain UP-TO-DATE
> Task :velocity-native:compileTestJava UP-TO-DATE
> Task :velocity-native:processTestResources NO-SOURCE
> Task :velocity-native:testClasses UP-TO-DATE
> Task :velocity-native:checkstyleTest UP-TO-DATE
> Task :velocity-native:spotlessJava UP-TO-DATE
> Task :velocity-native:spotlessJavaCheck UP-TO-DATE
> Task :velocity-native:spotlessCheck UP-TO-DATE
> Task :velocity-native:test UP-TO-DATE
> Task :velocity-native:check UP-TO-DATE
> Task :velocity-native:build UP-TO-DATE
> Task :velocity-proxy-log4j2-plugin:compileJava UP-TO-DATE
> Task :velocity-proxy:compileJava UP-TO-DATE
> Task :velocity-proxy:processResources UP-TO-DATE
> Task :velocity-proxy:classes UP-TO-DATE
> Task :velocity-proxy:jar UP-TO-DATE
> Task :velocity-proxy-log4j2-plugin:processResources NO-SOURCE
> Task :velocity-proxy-log4j2-plugin:classes UP-TO-DATE
> Task :velocity-proxy-log4j2-plugin:jar UP-TO-DATE
> Task :velocity-proxy:startScripts UP-TO-DATE
> Task :velocity-proxy:distTar UP-TO-DATE
> Task :velocity-proxy:distZip UP-TO-DATE
> Task :velocity-proxy:shadowJar UP-TO-DATE
> Task :velocity-proxy:startShadowScripts UP-TO-DATE
> Task :velocity-proxy:shadowDistTar UP-TO-DATE
> Task :velocity-proxy:shadowDistZip UP-TO-DATE
> Task :velocity-proxy:assemble UP-TO-DATE
> Task :velocity-proxy:compileTestJava UP-TO-DATE
> Task :velocity-proxy:processTestResources NO-SOURCE
> Task :velocity-proxy:testClasses UP-TO-DATE
> Task :velocity-proxy:checkstyleTest UP-TO-DATE
> Task :velocity-proxy:spotlessJava UP-TO-DATE
> Task :velocity-proxy:spotlessJavaCheck FAILED
> Task :velocity-proxy:checkstyleMain
[ant:checkstyle] [WARN] /home/gitea/ci/SteamWar/velocity/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:52:49: Using the '.*' form of import should be avoided - com.velocitypowered.proxy.protocol.packet.*. [AvoidStarImport]
[ant:checkstyle] [WARN] /home/gitea/ci/SteamWar/velocity/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:652:15: 'method call rparen' has incorrect indentation level 14, expected level should be 6. [Indentation]
> Task :velocity-proxy:checkstyleMain FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':velocity-proxy:spotlessJavaCheck'.
> The following files had format violations:
src/main/java/com/velocitypowered/proxy/protocol/packet/UpdateTeamsPacket.java
@@ -1,20 +1,18 @@
/*
-?*???This?file?is?a?part?of?the?SteamWar?software.
+?*?Copyright?(C)?2024?Velocity?Contributors
?*
-?*???Copyright?(C)?2024??SteamWar.de-Serverteam
+?*?This?program?is?free?software:?you?can?redistribute?it?and/or?modify
+?*?it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
+?*?the?Free?Software?Foundation,?either?version?3?of?the?License,?or
+?*?(at?your?option)?any?later?version.
?*
-?*???This?program?is?free?software:?you?can?redistribute?it?and/or?modify
-?*???it?under?the?terms?of?the?GNU?Affero?General?Public?License?as?published?by
-?*???the?Free?Software?Foundation,?either?version?3?of?the?License,?or
-?*???(at?your?option)?any?later?version.
-?*
-?*???This?program?is?distributed?in?the?hope?that?it?will?be?useful,
-?*???but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
-?*???MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.?See?the
-?*???GNU?Affero?General?Public?License?for?more?details.
+?*?This?program?is?distributed?in?the?hope?that?it?will?be?useful,
+?*?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
+?*?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
+?*?GNU?General?Public?License?for?more?details.
?*
-?*???You?should?have?received?a?copy?of?the?GNU?Affero?General?Public?License
-?*???along?with?this?program.??If?not,?see?.
+?*?You?should?have?received?a?copy?of?the?GNU?General?Public?License
+?*?along?with?this?program.??If?not,?see?.
?*/
package?com.velocitypowered.proxy.protocol.packet;
Run './gradlew :velocity-proxy:spotlessApply' to fix these violations.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':velocity-proxy:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/gitea/ci/SteamWar/velocity/proxy/build/reports/checkstyle/main.html
Checkstyle files with violations: 1
Checkstyle violations by severity: [warning:2]
* Try:
> Run with --scan to get full insights.
==============================================================================
BUILD FAILED in 11s
53 actionable tasks: 3 executed, 50 up-to-date
Traceback (most recent call last):
File "/home/gitea/gitea-repositories/steamwar/velocity.git/./hooks/post-receive.d/steamwarci.py", line 190, in
ci_main(config, logfile)
File "/home/gitea/gitea-repositories/steamwar/velocity.git/./hooks/post-receive.d/steamwarci.py", line 153, in ci_main
run(logfile, cmd, "Could not run build command", config.wdir)
File "/home/gitea/gitea-repositories/steamwar/velocity.git/./hooks/post-receive.d/steamwarci.py", line 127, in run
raise Exception(errormessage)
Exception: Could not run build command
Statusupdate failure Build failed