Skip to content
Failed

Console Output

Started by GitHub push by fullwall
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
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 1.8.3.1'
 > git fetch --tags --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
Checking out Revision ddbb3266c4d114ab4d832e6315f622219eb74b70 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ddbb3266c4d114ab4d832e6315f622219eb74b70 # timeout=10
Commit message: "Trial adding .mvn"
 > git rev-list --no-walk 78e2c6183d9d61baf39fe733e00ed8f4d87a49b6 # timeout=10
 > git tag -a -f -m Jenkins Build #1001 jenkins-CitizensAPI-1001 # timeout=10
false
Parsing POMs
Failed to transfer Could not find artifact org.spigotmc:spigot-api:pom:1.19.4-R0.1-20230329.083218-31 in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-20230329.083218-31.pom
Downloaded artifact https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-20230329.083218-31.jar
Established TCP socket on 45797
[workspace] $ /usr/lib/jvm/java-17-openjdk//bin/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.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/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3077.vd69cf116da_6f.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 45797
<===[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.31-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ citizensapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ citizensapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 261 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/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/npc/SimpleMetadataStore.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/SimpleMetadataStore.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[177,55] cannot access org.bukkit.loot.Lootable
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/loot/Lootable.class)
    unable to access file: java.util.zip.ZipException: invalid block type
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[183,61] cannot access org.bukkit.inventory.AbstractHorseInventory
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/AbstractHorseInventory.class)
    unable to access file: java.util.zip.ZipException: invalid stored block lengths
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[188,53] cannot access org.bukkit.inventory.HorseInventory
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/HorseInventory.class)
    unable to access file: java.util.zip.ZipException: invalid code lengths set
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[193,62] incompatible types: org.bukkit.inventory.HorseInventory cannot be converted to org.bukkit.inventory.Inventory
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[319,64] cannot access org.bukkit.inventory.ItemFactory
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/ItemFactory.class)
    unable to access file: java.util.zip.ZipException: invalid code lengths set
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/event/NPCVehicleDamageEvent.java:[17,24] cannot access org.bukkit.event.vehicle.VehicleEvent
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/event/vehicle/VehicleEvent.class)
    unable to access file: java.util.zip.ZipException: invalid stored block lengths
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[57,36] cannot access org.bukkit.material.Openable
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Openable.class)
    unable to access file: java.util.zip.ZipException: invalid code lengths set
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[83,52] cannot access org.bukkit.material.Door
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Door.class)
    unable to access file: java.util.zip.ZipException: invalid distance too far back
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[110,27] cannot access org.bukkit.scheduler.BukkitTask
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/scheduler/BukkitTask.class)
    unable to access file: java.util.zip.ZipException: invalid distance too far back
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java:[33,115] cannot access org.bukkit.plugin.ServicesManager
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/plugin/ServicesManager.class)
    unable to access file: java.util.zip.ZipException: invalid block type
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[83,28] cannot access org.bukkit.metadata.LazyMetadataValue
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/LazyMetadataValue.class)
    unable to access file: java.util.zip.ZipException: invalid block type
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[91,28] cannot access org.bukkit.metadata.MetadataValue
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/MetadataValue.class)
    unable to access file: java.util.zip.ZipException: invalid stored block lengths
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.508 s
[INFO] Finished at: 2023-03-30T15:23:33Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project citizensapi: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[177,55] cannot access org.bukkit.loot.Lootable
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/loot/Lootable.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid block type
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[183,61] cannot access org.bukkit.inventory.AbstractHorseInventory
[JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to net.citizensnpcs/citizensapi/2.0.31-SNAPSHOT/citizensapi-2.0.31-SNAPSHOT.pom
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/AbstractHorseInventory.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid stored block lengths
Copying /var/lib/jenkins/jobs/CitizensAPI/workspace@tmp/maven-reporters/project to /var/lib/jenkins/jobs/CitizensAPI/modules/net.citizensnpcs$citizensapi
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[188,53] cannot access org.bukkit.inventory.HorseInventory
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/HorseInventory.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid code lengths set
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[193,62] incompatible types: org.bukkit.inventory.HorseInventory cannot be converted to org.bukkit.inventory.Inventory
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[319,64] cannot access org.bukkit.inventory.ItemFactory
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/ItemFactory.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid code lengths set
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/event/NPCVehicleDamageEvent.java:[17,24] cannot access org.bukkit.event.vehicle.VehicleEvent
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/event/vehicle/VehicleEvent.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid stored block lengths
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[57,36] cannot access org.bukkit.material.Openable
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Openable.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid code lengths set
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[83,52] cannot access org.bukkit.material.Door
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Door.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid distance too far back
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[110,27] cannot access org.bukkit.scheduler.BukkitTask
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/scheduler/BukkitTask.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid distance too far back
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java:[33,115] cannot access org.bukkit.plugin.ServicesManager
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/plugin/ServicesManager.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid block type
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[83,28] cannot access org.bukkit.metadata.LazyMetadataValue
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/LazyMetadataValue.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid block type
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[91,28] cannot access org.bukkit.metadata.MetadataValue
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/MetadataValue.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid stored block lengths
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[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
channel stopped
Archiving artifacts
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@3484e562[nodeId=MDEwOlJlcG9zaXRvcnkzMzQzMTkw,description=API for Citizens,homepage=https://citizensnpcs.co,name=CitizensAPI,fork=false,archived=false,visibility=public,size=11719,milestones={},language=Java,commits={},source=<null>,parent=<null>,isTemplate=false,compareUsePaginatedCommits=false,url=https://api.github.com/repos/CitizensDev/CitizensAPI,id=3343190,nodeId=<null>,createdAt=2012-02-03T09:29:38Z,updatedAt=2023-03-28T22:18:14Z]] (sha:ddbb326) with context:ci/jenkins/build-status
Setting commit status on GitHub for https://github.com/CitizensDev/CitizensAPI/commit/ddbb3266c4d114ab4d832e6315f622219eb74b70
Sending notification to Discord.
Finished: FAILURE