Started by GitHub push by fullwall Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/Citizens2/workspace The recommended git tool is: NONE No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository git://github.com/CitizensDev/Citizens2.git > git init /var/lib/jenkins/jobs/Citizens2/workspace # timeout=10 Fetching upstream changes from git://github.com/CitizensDev/Citizens2.git > git --version # timeout=10 > git --version # 'git version 1.8.3.1' > git fetch --tags --progress git://github.com/CitizensDev/Citizens2.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://github.com/CitizensDev/Citizens2.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision a29fb3059a2dec72a06d6154df1c3ca3bfd98ae0 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a29fb3059a2dec72a06d6154df1c3ca3bfd98ae0 # timeout=10 Commit message: "Add /npc useitem" > git rev-list --no-walk 88ab30840b2ae492f7526fb2ca5f3b678d96411e # timeout=10 > git tag -a -f -m Jenkins Build #2468 jenkins-Citizens2-2468 # timeout=10 false Parsing POMs Modules changed, recalculating dependency graph Established TCP socket on 46442 [workspace] $ /usr/lib/jvm/java-17-openjdk-17.0.1.0.12-1.rolling.el7.x86_64//bin/java -Djava.awt.headless=true -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.11.2.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 46442 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/Citizens2/workspace/pom.xml clean package install -DBUILD_NUMBER=2468 [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] citizens-parent [pom] [INFO] citizens-main [jar] [INFO] citizens-v1_8_R3 [jar] [INFO] citizens-v1_10_R1 [jar] [INFO] citizens-v1_11_R1 [jar] [INFO] citizens-v1_12_R1 [jar] [INFO] citizens-v1_13_R2 [jar] [INFO] citizens-v1_14_R1 [jar] [INFO] citizens-v1_15_R1 [jar] [INFO] citizens-v1_16_R3 [jar] [INFO] citizens-v1_17_R1 [jar] [INFO] citizens-v1_18_R1 [jar] [INFO] citizens [pom] [INFO] [INFO] ------------------< net.citizensnpcs:citizens-parent >------------------ [INFO] Building citizens-parent 2.0.29-SNAPSHOT [1/13] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ citizens-parent --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ citizens-parent --- [INFO] Installing /var/lib/jenkins/jobs/Citizens2/workspace/pom.xml to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizens-parent/2.0.29-SNAPSHOT/citizens-parent-2.0.29-SNAPSHOT.pom Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] -------------------< net.citizensnpcs:citizens-main >------------------- [INFO] Building citizens-main 2.0.29-SNAPSHOT [2/13] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ citizens-main --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ citizens-main --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 9 resources to . [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ citizens-main --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 148 source files to /var/lib/jenkins/jobs/Citizens2/workspace/main/target/classes [INFO] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/trait/versioned/CatTrait.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/trait/versioned/CatTrait.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java:[466,50] cannot find symbol symbol: variable USING_HELD_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java:[467,50] cannot find symbol symbol: variable USING_OFFHAND_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2521,40] cannot find symbol symbol: variable USING_OFFHAND_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2521,89] cannot find symbol symbol: variable USING_OFFHAND_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2523,48] cannot find symbol symbol: variable USING_OFFHAND_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2525,40] cannot find symbol symbol: variable USING_HELD_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2525,86] cannot find symbol symbol: variable USING_HELD_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2526,99] cannot find symbol symbol: variable USING_HELD_ITEM location: class net.citizensnpcs.api.npc.NPC.Metadata [INFO] 8 errors [INFO] ------------------------------------------------------------- Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for citizens-parent 2.0.29-SNAPSHOT: [INFO] [INFO] citizens-parent .................................... SUCCESS [ 0.788 s] [INFO] citizens-main ...................................... FAILURE [ 9.703 s] [INFO] citizens-v1_8_R3 ................................... SKIPPED [INFO] citizens-v1_10_R1 .................................. SKIPPED [INFO] citizens-v1_11_R1 .................................. SKIPPED [INFO] citizens-v1_12_R1 .................................. SKIPPED [INFO] citizens-v1_13_R2 .................................. SKIPPED [INFO] citizens-v1_14_R1 .................................. SKIPPED [INFO] citizens-v1_15_R1 .................................. SKIPPED [INFO] citizens-v1_16_R3 .................................. SKIPPED [INFO] citizens-v1_17_R1 .................................. SKIPPED [INFO] citizens-v1_18_R1 .................................. SKIPPED [INFO] citizens ........................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.017 s [INFO] Finished at: 2022-02-14T16:58:07Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project citizens-main: Compilation failure: Compilation failure: [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java:[466,50] cannot find symbol [ERROR] symbol: variable USING_HELD_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java:[467,50] cannot find symbol [ERROR] symbol: variable USING_OFFHAND_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2521,40] cannot find symbol [ERROR] symbol: variable USING_OFFHAND_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2521,89] cannot find symbol [ERROR] symbol: variable USING_OFFHAND_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2523,48] cannot find symbol [ERROR] symbol: variable USING_OFFHAND_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2525,40] cannot find symbol [ERROR] symbol: variable USING_HELD_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2525,86] cannot find symbol Waiting for Jenkins to finish collecting data [ERROR] symbol: variable USING_HELD_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] /var/lib/jenkins/jobs/Citizens2/workspace/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java:[2526,99] cannot find symbol [ERROR] symbol: variable USING_HELD_ITEM [ERROR] location: class net.citizensnpcs.api.npc.NPC.Metadata [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/main/pom.xml to net.citizensnpcs/citizens-main/2.0.29-SNAPSHOT/citizens-main-2.0.29-SNAPSHOT.pom [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :citizens-main [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_8_R3/pom.xml to net.citizensnpcs/citizens-v1_8_R3/2.0.29-SNAPSHOT/citizens-v1_8_R3-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/pom.xml to net.citizensnpcs/citizens-parent/2.0.29-SNAPSHOT/citizens-parent-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_17_R1/pom.xml to net.citizensnpcs/citizens-v1_17_R1/2.0.29-SNAPSHOT/citizens-v1_17_R1-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_15_R1/pom.xml to net.citizensnpcs/citizens-v1_15_R1/2.0.29-SNAPSHOT/citizens-v1_15_R1-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_16_R3/pom.xml to net.citizensnpcs/citizens-v1_16_R3/2.0.29-SNAPSHOT/citizens-v1_16_R3-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/dist/pom.xml to net.citizensnpcs/citizens/2.0.29-SNAPSHOT/citizens-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_14_R1/pom.xml to net.citizensnpcs/citizens-v1_14_R1/2.0.29-SNAPSHOT/citizens-v1_14_R1-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_11_R1/pom.xml to net.citizensnpcs/citizens-v1_11_R1/2.0.29-SNAPSHOT/citizens-v1_11_R1-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_10_R1/pom.xml to net.citizensnpcs/citizens-v1_10_R1/2.0.29-SNAPSHOT/citizens-v1_10_R1-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_12_R1/pom.xml to net.citizensnpcs/citizens-v1_12_R1/2.0.29-SNAPSHOT/citizens-v1_12_R1-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_13_R2/pom.xml to net.citizensnpcs/citizens-v1_13_R2/2.0.29-SNAPSHOT/citizens-v1_13_R2-2.0.29-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Citizens2/workspace/v1_18_R1/pom.xml to net.citizensnpcs/citizens-v1_18_R1/2.0.29-SNAPSHOT/citizens-v1_18_R1-2.0.29-SNAPSHOT.pom channel stopped Archiving artifacts [Set GitHub commit status (universal)] ERROR on repos [GHRepository@d8b2ae1[nodeId=MDEwOlJlcG9zaXRvcnkzNDcyMTg3,description=Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.,homepage=https://citizensnpcs.co,name=Citizens2,fork=false,archived=false,visibility=public,size=63941,milestones={},language=Java,commits={},source=,parent=,isTemplate=false,compareUsePaginatedCommits=false,url=https://api.github.com/repos/CitizensDev/Citizens2,id=3472187,nodeId=,createdAt=2012-02-17T17:36:29Z,updatedAt=2022-02-13T03:40:37Z]] (sha:a29fb30) with context:ci/jenkins/build-status Setting commit status on GitHub for https://github.com/CitizensDev/Citizens2/commit/a29fb3059a2dec72a06d6154df1c3ca3bfd98ae0 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Sending notification to Discord. Finished: FAILURE