Skip to content
Failed

Console Output

Started by GitHub push by DV8FromTheWorld
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/JDA5
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/JDA5/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/DV8FromTheWorld/JDA.git # timeout=10
Fetching upstream changes from https://github.com/DV8FromTheWorld/JDA.git
 > git --version # timeout=10
 > git --version # 'git version 2.30.2'
 > git fetch --tags --force --progress -- https://github.com/DV8FromTheWorld/JDA.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 628a9aa5a9fb670e6c3ea80b4256e39e960383a6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 628a9aa5a9fb670e6c3ea80b4256e39e960383a6 # timeout=10
Commit message: "Dependency upgrades (#1819)"
 > git rev-list --no-walk 2d25758fb0784628976756b5fd929a5750ddc81b # timeout=10
[Gradle] - Launching build.
[JDA5] $ /var/jenkins_home/workspace/JDA5/gradlew clean release
Downloading https://services.gradle.org/distributions/gradle-7.4.2-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.4.2!

Here are the highlights of this release:
 - Aggregated test and JaCoCo reports
 - Marking additional test source directories as tests in IntelliJ
 - Support for Adoptium JDKs in Java toolchains

For more details see https://docs.gradle.org/7.4.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
> Task :clean
> Task :initializeSonatypeStagingRepository SKIPPED
> Task :closeRepository SKIPPED
> Task :releaseRepository SKIPPED
> Task :sourcesForRelease
> Task :generateJavaSources

> Task :compileJava
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/requests/RestActionImpl.java:136: warning: [deprecation] create(MediaType,byte[]) in RequestBody has been deprecated
        this(api, route, data == null ? null : RequestBody.create(Requester.MEDIA_TYPE_JSON, data.toJson()), handler);
                                                          ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/requests/RestActionImpl.java:248: warning: [deprecation] create(MediaType,byte[]) in RequestBody has been deprecated
        return object == null ? null : RequestBody.create(Requester.MEDIA_TYPE_JSON, object.toJson());
                                                  ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/requests/RestActionImpl.java:255: warning: [deprecation] create(MediaType,byte[]) in RequestBody has been deprecated
        return array == null ? null : RequestBody.create(Requester.MEDIA_TYPE_JSON, array.toJson());
                                                 ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/requests/Requester.java:53: warning: [deprecation] create(MediaType,byte[]) in RequestBody has been deprecated
    public static final RequestBody EMPTY_BODY = RequestBody.create(null, new byte[0]);
                                                            ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java:323: warning: [deprecation] create(MediaType,byte[]) in RequestBody has been deprecated
        return new RestActionImpl<>(getJDA(), route, RequestBody.create(Requester.MEDIA_TYPE_JSON, array.toJson()), (response, request) -> {
                                                                ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/requests/restaction/MessageActionImpl.java:505: warning: [deprecation] create(MediaType,byte[]) in RequestBody has been deprecated
        return RequestBody.create(Requester.MEDIA_TYPE_JSON, getJSON().toJson());
                          ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/entities/StageInstanceImpl.java:87: warning: [deprecation] isDiscoverable() in StageInstance has been deprecated
    public boolean isDiscoverable()
                   ^
7 warnings

> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
> Task :check
> Task :sourcesJar

> Task :javadoc
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/requests/restaction/pagination/BanPaginationAction.java:34: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
 * <h1>Example</h1>
   ^
1 error

> Task :javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/var/jenkins_home/workspace/JDA5/build/tmp/javadoc/javadoc.options'

* 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

BUILD FAILED in 1m 35s
8 actionable tasks: 8 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Publishing Javadoc
Finished: FAILURE