Console Output

Push event to branch 1.18
03:10:28 Connecting to https://api.github.com using progwml6 ci login
Obtained Jenkinsfile from 7899bae8d5529bac2158596ec50d8f9a9e4e9d0a
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/Inspirations_1.18
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential progwml6-ci-gh-login
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Inspirations_1.18/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/KnightMiner/Inspirations.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/KnightMiner/Inspirations.git
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
using GIT_ASKPASS to set credentials progwml6 ci login
 > git fetch --no-tags --progress https://github.com/KnightMiner/Inspirations.git +refs/heads/1.18:refs/remotes/origin/1.18 # timeout=10
Checking out Revision 7899bae8d5529bac2158596ec50d8f9a9e4e9d0a (1.18)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7899bae8d5529bac2158596ec50d8f9a9e4e9d0a # timeout=10
Commit message: "Increase version to 1.3.0"
 > git rev-list --no-walk 9ba9f4406a9ae8ae4157f714df253f8dc174a12e # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
The recommended git tool is: NONE
using credential progwml6-ci-gh-login
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Inspirations_1.18/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/KnightMiner/Inspirations.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/KnightMiner/Inspirations.git
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
using GIT_ASKPASS to set credentials progwml6 ci login
 > git fetch --no-tags --progress https://github.com/KnightMiner/Inspirations.git +refs/heads/1.18:refs/remotes/origin/1.18 # timeout=10
Checking out Revision 7899bae8d5529bac2158596ec50d8f9a9e4e9d0a (1.18)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7899bae8d5529bac2158596ec50d8f9a9e4e9d0a # timeout=10
Commit message: "Increase version to 1.3.0"
[Pipeline] sh
+ rm -rf build/libs
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
+ ./gradlew build -PBUILD_NUMBER=6 --no-daemon
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Task :compileJava
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/common/data/ConfigEnabledCondition.java:45: warning: [removal] test() in ICondition has been deprecated and marked for removal
  public boolean test() {
                 ^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/common/network/MilkablePacket.java:49: error: cannot find symbol
      entity.getPersistentData().putShort(CommonsEvents.TAG_MILKCOOLDOWN, (short)(packet.milkable ? 0 : 100));
                                                       ^
  symbol:   variable TAG_MILKCOOLDOWN
  location: class CommonsEvents
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:39: warning: [removal] registerSubtypeInterpreter(Item,IIngredientSubtypeInterpreter<ItemStack>) in ISubtypeRegistration has been deprecated and marked for removal
    Consumer<ItemLike> setTextureSubtype = item -> registry.registerSubtypeInterpreter(item.asItem(), texture);
                                                           ^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:50: warning: [removal] ITEM in VanillaTypes has been deprecated and marked for removal
    for (ItemStack item : ingedientManager.getAllIngredients(VanillaTypes.ITEM)) {
                                                                         ^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:75: warning: [removal] ITEM in VanillaTypes has been deprecated and marked for removal
      ingedientManager.removeIngredientsAtRuntime(VanillaTypes.ITEM, hidden);
                                                              ^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:78: warning: [removal] ITEM in VanillaTypes has been deprecated and marked for removal
      ingedientManager.addIngredientsAtRuntime(VanillaTypes.ITEM, visible);
                                                           ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
5 warnings

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

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

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

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 20s
1 actionable task: 1 executed
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
Stage "Archive" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
Stage "Deploy" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1

GitHub has been notified of this commit’s build result

Finished: FAILURE