LuckPerms

LuckPerms

905k Downloads

Building: repo .lucko.me internal server error

chill0r opened this issue ยท 1 comments

commented

Description

Building the master branch (probably all branches) leads to error

> Task :bukkit:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bukkit:compileJava'.
> Could not resolve all files for configuration ':bukkit:compileClasspath'.
   > Could not resolve net.milkbowl.vault:VaultAPI:1.7.
     Required by:
         project :bukkit
      > Could not resolve net.milkbowl.vault:VaultAPI:1.7.
         > Could not get resource 'https://repo.lucko.me/net/milkbowl/vault/VaultAPI/1.7/VaultAPI-1.7.pom'.
            > Could not GET 'https://repo.lucko.me/net/milkbowl/vault/VaultAPI/1.7/VaultAPI-1.7.pom'. Received status code 500 from server: Internal Server Error
> There is 1 more failure with an identical cause.

(Snipped from private jenkins instance)

Reproduction Steps

Build with gradle (openjdk-21 used)

Expected Behaviour

Project buids

Server Details

compiling

LuckPerms Version

master

Logs and Configs

Started by user [admin](http://localhost:8080/user/admin)
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/LuckPerms
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/LuckPerms/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/LuckPerms/LuckPerms.git # timeout=10
Fetching upstream changes from https://github.com/LuckPerms/LuckPerms.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.5'
 > git fetch --tags --force --progress -- https://github.com/LuckPerms/LuckPerms.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 9d80de5d5cbc15c75e01e4d1faf143fb9906ab42 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9d80de5d5cbc15c75e01e4d1faf143fb9906ab42 # timeout=10
Commit message: "Fix MongoStorage nodeFromDoc integer cast (#3846)"
 > git rev-list --no-walk 9d80de5d5cbc15c75e01e4d1faf143fb9906ab42 # timeout=10
[Gradle] - Launching build.
[LuckPerms] $ /var/jenkins_home/workspace/LuckPerms/gradlew build
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.9/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 

> Configure project :fabric
Fabric Loom: 1.7.4
Previous process has disowned the lock due to abrupt termination.
Found existing cache lock file (ACQUIRED_PREVIOUS_OWNER_DISOWNED), rebuilding loom cache. This may have been caused by a failed or canceled build.
:remapping 6 mods from modImplementation (java-api)
:remapping 6 mods from modImplementation (java-runtime)
Setting up MCP environment
Initializing steps
Executing steps
 > Running 'downloadManifest'
 > Running 'downloadJson'
 > Running 'downloadClient'
 > Running 'downloadServer'
 > Running 'extractServer'
 > Running 'downloadClientMappings'
 > Running 'mergeMappings'
 > Running 'stripClient'
 > Running 'stripServer'
 > Running 'merge'
 > Running 'listLibraries'
 > Running 'rename'
Stopping at requested step: /var/jenkins_home/.gradle/caches/forge_gradle/mcp_repo/de/oceanlabs/mcp/mcp_config/1.21.1-20240808.132146/joined/rename/output.jar
[12:42:54] [main/INFO]: Writing debug log file accesstransform.log
[12:42:54] [main/INFO]: Access Transformer processor running version 8.2.0
[12:42:54] [main/INFO]: Command line arguments [--inJar, /var/jenkins_home/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.21.1-52.0.2/forge-1.21.1-52.0.2-injected.jar, --outJar, /var/jenkins_home/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.21.1-52.0.2_mapped_official_1.21.1/forge-1.21.1-52.0.2_mapped_official_1.21.1.jar, --logFile, accesstransform.log, --atFile, /var/jenkins_home/workspace/LuckPerms/forge/build/_atJar_4/parent_at.cfg]
[12:42:54] [main/INFO]: Reading from /var/jenkins_home/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.21.1-52.0.2/forge-1.21.1-52.0.2-injected.jar
[12:42:54] [main/INFO]: Writing to /var/jenkins_home/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.21.1-52.0.2_mapped_official_1.21.1/forge-1.21.1-52.0.2_mapped_official_1.21.1.jar
[12:42:54] [main/INFO]: Transformer file /var/jenkins_home/workspace/LuckPerms/forge/build/_atJar_4/parent_at.cfg
[12:42:54] [main/WARN]: Found existing output jar /var/jenkins_home/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.21.1-52.0.2_mapped_official_1.21.1/forge-1.21.1-52.0.2_mapped_official_1.21.1.jar, overwriting
[12:42:56] [main/INFO]: JAR transformation complete /var/jenkins_home/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.21.1-52.0.2_mapped_official_1.21.1/forge-1.21.1-52.0.2_mapped_official_1.21.1.jar
Creating SRG -> MCP TSRG

> Task :api:compileJava
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings

> Task :api:processResources NO-SOURCE
> Task :api:classes
> Task :api:jar
> Task :api:assemble
> Task :api:checkLicenseMain
> Task :api:checkLicenseTest NO-SOURCE
> Task :api:checkLicenses
> Task :api:compileTestJava NO-SOURCE
> Task :api:processTestResources NO-SOURCE
> Task :api:testClasses UP-TO-DATE
> Task :api:test NO-SOURCE
> Task :api:check
> Task :api:build

> Task :common:loader-utils:compileJava
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :common:loader-utils:processResources NO-SOURCE
> Task :common:loader-utils:classes
> Task :common:loader-utils:jar

> Task :common:compileJava
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings

> Task :bukkit:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bukkit:compileJava'.
> Could not resolve all files for configuration ':bukkit:compileClasspath'.
   > Could not resolve net.milkbowl.vault:VaultAPI:1.7.
     Required by:
         project :bukkit
      > Could not resolve net.milkbowl.vault:VaultAPI:1.7.
         > Could not get resource 'https://repo.lucko.me/net/milkbowl/vault/VaultAPI/1.7/VaultAPI-1.7.pom'.
            > Could not GET 'https://repo.lucko.me/net/milkbowl/vault/VaultAPI/1.7/VaultAPI-1.7.pom'. Received status code 500 from server: Internal Server Error
> There is 1 more failure with an identical cause.

* 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/.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 4m 49s
7 actionable tasks: 7 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Finished: FAILURE

Extra Details

No response

commented

I had this issue too yesterday. Today it works though.

By the way, I went here (https://nexus.lucko.me/#browse/search=keyword%3DVaultAPI:NX.coreui.model.Component-1) and saw that the other files in this directory worked, just not that jar file. But as I said, right now it seems to be working.