Skip to content
Failed

Console Output

Started by GitHub push by fullwall
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace
No JDK named ‘OpenJDK 17’ found
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
No JDK named ‘OpenJDK 17’ found
Cloning the remote Git repository
Cloning repository https://github.com/CitizensDev/CitizensAPI.git
 > git init /var/lib/jenkins/jobs/CitizensAPI/workspace # timeout=10
Fetching upstream changes from https://github.com/CitizensDev/CitizensAPI.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.3'
 > git fetch --tags --force --progress -- https://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/CitizensDev/CitizensAPI.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Seen branch in repository origin/compat
Seen branch in repository origin/master
Seen branch in repository origin/simplify
Seen branch in repository origin/speech
Seen 4 remote branches
 > git show-ref --tags -d # timeout=10
No JDK named ‘OpenJDK 17’ found
Checking out Revision ca822c610a6a1f46826ba6bed1c7054dde3e2976 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ca822c610a6a1f46826ba6bed1c7054dde3e2976 # timeout=10
Commit message: "Add completions provider helper, misc cleanup"
 > git rev-list --no-walk e3261a59606655fe4118324686e7f206592753cb # timeout=10
 > git tag -a -f -m Jenkins Build #1126 jenkins-CitizensAPI-1126 # timeout=10
No JDK named ‘OpenJDK 17’ found
false
No JDK named ‘OpenJDK 17’ found
Parsing POMs
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata com.sk89q.worldguard:worldguard-bukkit:7.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find artifact com.sk89q.worldguard:worldguard-bukkit:pom:7.1.0-20240503.180049-12 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/worldguard-bukkit-7.1.0-20240503.180049-12.pom
Failed to transfer Could not find metadata com.sk89q.worldguard:worldguard-core:7.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact com.sk89q.worldguard:worldguard-core:pom:7.1.0-20240503.180049-12 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/worldguard-core-7.1.0-20240503.180049-12.pom
Failed to transfer Could not find metadata com.sk89q.worldguard.worldguard-libs:core:7.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact com.sk89q.worldguard.worldguard-libs:core:pom:7.1.0-20240503.180049-12 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/core-7.1.0-20240503.180049-12.pom
Failed to transfer Could not find artifact com.sk89q.worldedit:worldedit-core:pom:7.3.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-core/7.3.0/worldedit-core-7.3.0.pom
Failed to transfer Could not find metadata org.enginehub.lin-bus:lin-bus-bom:0.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-bom/0.1.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-bom/0.1.0-SNAPSHOT/lin-bus-bom-0.1.0-20240331.033045-6.pom
Failed to transfer Could not find artifact com.sk89q.worldedit.worldedit-libs:core:pom:7.3.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-libs/core/7.3.0/core-7.3.0.pom
Failed to transfer Could not find metadata org.enginehub.lin-bus:lin-bus-tree:0.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-tree/0.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact org.enginehub.lin-bus:lin-bus-tree:pom:0.1.0-20240331.033045-6 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-tree/0.1.0-SNAPSHOT/lin-bus-tree-0.1.0-20240331.033045-6.pom
Failed to transfer Could not find metadata org.enginehub.lin-bus:lin-bus-common:0.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-common/0.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact org.enginehub.lin-bus:lin-bus-common:pom:0.1.0-20240331.033045-6 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-common/0.1.0-SNAPSHOT/lin-bus-common-0.1.0-20240331.033045-6.pom
Failed to transfer Could not find metadata org.enginehub.lin-bus:lin-bus-stream:0.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-stream/0.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact org.enginehub.lin-bus:lin-bus-stream:pom:0.1.0-20240331.033045-6 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-stream/0.1.0-SNAPSHOT/lin-bus-stream-0.1.0-20240331.033045-6.pom
Failed to transfer Could not find metadata org.enginehub.lin-bus.format:lin-bus-format-snbt:0.1.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/format/lin-bus-format-snbt/0.1.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact org.enginehub.lin-bus.format:lin-bus-format-snbt:pom:0.1.0-20240331.033045-6 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/format/lin-bus-format-snbt/0.1.0-SNAPSHOT/lin-bus-format-snbt-0.1.0-20240331.033045-6.pom
Failed to transfer Could not find artifact org.codehaus:codehaus-parent:pom:4 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
Failed to transfer Could not find artifact com.sk89q.worldedit:worldedit-bukkit:pom:7.3.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-bukkit/7.3.0/worldedit-bukkit-7.3.0.pom
Failed to transfer Could not find metadata org.bukkit:bukkit:1.13.1-R0.1-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find metadata org.bukkit:bukkit:1.13.1-R0.1-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/)
Downloaded artifact https://hub.spigotmc.org/nexus/content/groups/public/org/bukkit/bukkit/1.13.1-R0.1-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find artifact net.kyori:adventure-text-minimessage:pom:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-text-minimessage/4.16.0/adventure-text-minimessage-4.16.0.pom
Failed to transfer Could not find artifact net.kyori:adventure-bom:pom:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-bom/4.16.0/adventure-bom-4.16.0.pom
Failed to transfer Could not find artifact net.kyori:adventure-api:pom:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-api/4.16.0/adventure-api-4.16.0.pom
Failed to transfer Could not find artifact net.kyori:adventure-key:pom:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-key/4.16.0/adventure-key-4.16.0.pom
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-tree/0.1.0-SNAPSHOT/lin-bus-tree-0.1.0-20240331.033045-6.jar
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-common/0.1.0-SNAPSHOT/lin-bus-common-0.1.0-20240331.033045-6.jar
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/core-7.1.0-20240503.180049-12.jar
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/worldguard-core-7.1.0-20240503.180049-12.jar
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/worldguard-bukkit-7.1.0-20240503.180049-12.jar
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/lin-bus-stream/0.1.0-SNAPSHOT/lin-bus-stream-0.1.0-20240331.033045-6.jar
Downloaded artifact https://maven.enginehub.org/repo/org/enginehub/lin-bus/format/lin-bus-format-snbt/0.1.0-SNAPSHOT/lin-bus-format-snbt-0.1.0-20240331.033045-6.jar
Failed to transfer Could not find artifact com.sk89q.worldedit:worldedit-core:jar:7.3.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find artifact com.sk89q.worldedit:worldedit-bukkit:jar:7.3.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find artifact net.kyori:adventure-text-minimessage:jar:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find artifact net.kyori:adventure-api:jar:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find artifact com.sk89q.worldedit.worldedit-libs:core:jar:7.3.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find artifact net.kyori:adventure-key:jar:4.16.0 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-api/4.16.0/adventure-api-4.16.0.jar
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-text-minimessage/4.16.0/adventure-text-minimessage-4.16.0.jar
Downloaded artifact https://maven.enginehub.org/repo/net/kyori/adventure-key/4.16.0/adventure-key-4.16.0.jar
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-bukkit/7.3.0/worldedit-bukkit-7.3.0.jar
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-libs/core/7.3.0/core-7.3.0.jar
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-core/7.3.0/worldedit-core-7.3.0.jar
Modules changed, recalculating dependency graph
Established TCP socket on 35605
[workspace] $ java -Djava.awt.headless=true -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0 /var/cache/jenkins/war/WEB-INF/lib/remoting-3206.vb_15dcf73f6a_9.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 35605
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml clean install javadoc:javadoc
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< net.citizensnpcs:citizensapi >--------------------
[INFO] Building CitizensAPI 2.0.34-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.sk89q.lib:jlibnoise:jar:1.0.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- resources:3.3.0:resources (default-resources) @ citizensapi ---
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ citizensapi ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 243 source files with javac [debug release 8] to target/classes
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java: Some input files use or override a deprecated API.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java: Recompile with -Xlint:deprecation for details.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/command/Arg.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/command/Arg.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[64,36] getByIdentifier(java.lang.String) in org.bukkit.block.banner.PatternType has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[234,40] getByIdentifier(java.lang.String) in org.bukkit.block.banner.PatternType has been deprecated and marked for removal
[INFO] 5 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/ai/goals/WanderGoal.java:[63,56] cannot access java.lang.Record
  class file for java.lang.Record not found
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.970 s
[INFO] Finished at: 2024-05-05T18:13:02Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project citizensapi: Compilation failure
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/ai/goals/WanderGoal.java:[63,56] cannot access java.lang.Record
[ERROR] class file for java.lang.Record not found
[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:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to net.citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-SNAPSHOT.pom
Copying /var/lib/jenkins/jobs/CitizensAPI/workspace@tmp/maven-reporters/project to /var/lib/jenkins/jobs/CitizensAPI/modules/net.citizensnpcs$citizensapi
channel stopped
No JDK named ‘OpenJDK 17’ found
Archiving artifacts
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@55b472c7[archived=false,commits={},compareUsePaginatedCommits=false,description=API for Citizens,disabled=false,fork=false,homepage=https://citizensnpcs.co,isTemplate=false,language=Java,milestones={},name=CitizensAPI,nodeId=MDEwOlJlcG9zaXRvcnkzMzQzMTkw,parent=<null>,size=11807,source=<null>,visibility=public,createdAt=2012-02-03T09:29:38Z,id=3343190,nodeId=<null>,updatedAt=2024-05-05T18:12:31Z,url=https://api.github.com/repos/CitizensDev/CitizensAPI]] (sha:ca822c6) with context:ci/jenkins/build-status
Setting commit status on GitHub for https://github.com/CitizensDev/CitizensAPI/commit/ca822c610a6a1f46826ba6bed1c7054dde3e2976
No JDK named ‘OpenJDK 17’ found
Sending notification to Discord.
Finished: FAILURE