Established TCP socket on 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