Traceback (most recent call last):
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 1134, in main
if trybuild(app, build, build_dir, output_dir, log_dir,
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 904, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 273, in build_server
raise BuildException(message.format(app.id, build.versionName),
fdroidserver.exception.BuildException: Build.py failed on server for dev.yashgarg.qbit:v0.2.1-f4c4e0b-release
==== detail begin ====
== Installed Android Tools ==
2023-03-08 07:55:57,667 DEBUG: Reading 'config.yml'
2023-03-08 07:55:57,679 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2023-03-08 07:55:57,680 INFO: Creating log directory
2023-03-08 07:55:57,680 INFO: Creating temporary directory
2023-03-08 07:55:57,680 INFO: Creating output directory
2023-03-08 07:55:57,690 DEBUG: Getting git vcs interface for https://github.com/Yash-Garg/qBittorrent-Manager.git
2023-03-08 07:55:57,691 DEBUG: Checking dev.yashgarg.qbit:12
2023-03-08 07:55:57,691 INFO: Building version v0.2.1-f4c4e0b-release (12) of dev.yashgarg.qbit
2023-03-08 07:55:57,691 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2023-03-08 07:55:58,102 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 36772 files and directories currently installed.)
Removing sudo (1.9.5p2-3+deb11u1) ...
Purging configuration files for sudo (1.9.5p2-3+deb11u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
2023-03-08 07:56:08,626 INFO: Getting source for revision f4c4e0b7aa10708896814272bf2c51c4ef94c6f9
2023-03-08 07:56:08,627 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:08,627 DEBUG: > git rev-parse --show-toplevel
2023-03-08 07:56:08,842 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:08,842 DEBUG: > git submodule foreach --recursive git reset --hard
2023-03-08 07:56:09,053 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:09,054 DEBUG: > git reset --hard
2023-03-08 07:56:09,366 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:09,367 DEBUG: > git submodule foreach --recursive git clean -dffx
2023-03-08 07:56:09,477 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:09,477 DEBUG: > git clean -dffx
2023-03-08 07:56:09,589 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:09,590 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch origin
2023-03-08 07:56:10,304 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:10,304 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org remote prune origin
2023-03-08 07:56:10,817 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:10,818 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --tags --force origin
2023-03-08 07:56:11,431 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:11,432 DEBUG: > git remote set-head origin --auto
2023-03-08 07:56:12,045 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:12,046 DEBUG: > git checkout -f f4c4e0b7aa10708896814272bf2c51c4ef94c6f9
2023-03-08 07:56:12,559 DEBUG: Directory: build/dev.yashgarg.qbit
2023-03-08 07:56:12,559 DEBUG: > git clean -dffx
2023-03-08 07:56:12,670 INFO: Creating local.properties file at build/dev.yashgarg.qbit/local.properties
2023-03-08 07:56:12,672 INFO: Creating local.properties file at build/dev.yashgarg.qbit/app/local.properties
2023-03-08 07:56:12,672 DEBUG: Removing debuggable flags from build/dev.yashgarg.qbit/app
2023-03-08 07:56:12,689 INFO: Cleaned build.gradle.kts of keysigning configs at build/dev.yashgarg.qbit/app/build.gradle.kts
2023-03-08 07:56:12,698 INFO: Cleaned build.gradle.kts of keysigning configs at build/dev.yashgarg.qbit/benchmark/build.gradle.kts
2023-03-08 07:56:12,707 INFO: Cleaning Gradle project...
2023-03-08 07:56:12,707 DEBUG: Directory: build/dev.yashgarg.qbit/app
2023-03-08 07:56:12,708 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 8.0.1 via distributionUrl
Downloading missing gradle version 8.0.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.0.1-bin.zip: OK
Running /opt/gradle/versions/8.0.1/bin/gradle clean
Welcome to Gradle 8.0.1!
Here are the highlights of this release:
- Improvements to the Kotlin DSL
- Fine-grained parallelism from the first build with configuration cache
- Configurable Gradle user home cache cleanup
For more details see https://docs.gradle.org/8.0.1/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.0.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: clean
Type-safe project accessors is an incubating feature.
> Task :build-logic:pluginDescriptors
> Task :build-logic:processResources
> Task :build-logic:compileKotlin
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:classes
> Task :build-logic:jar
> Task :build-logic:inspectClassesForKotlinIC
0 problems were found storing the configuration cache.
See the complete report at file:///home/vagrant/build/dev.yashgarg.qbit/build/reports/configuration-cache/14q8ebj9ipgg977r5bv76p559/30it79t1qfqzcxzvdvie2pmus/configuration-cache-report.html
FAILURE: Build failed with an exception.
* Where:
Build file '/home/vagrant/build/dev.yashgarg.qbit/app/build.gradle.kts' line: 12
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application', version: '8.1.0-alpha07']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /usr/lib/jvm/java-11-openjdk-amd64
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* 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.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3m 2s
5 actionable tasks: 5 executed
Publishing build scan...
https://gradle.com/s/7raunurgsf2t4
Configuration cache entry stored.
2023-03-08 07:59:25,728 ERROR: Could not build app dev.yashgarg.qbit: Error cleaning dev.yashgarg.qbit:v0.2.1-f4c4e0b-release
==== detail begin ====
Found 8.0.1 via distributionUrl
Downloading missing gradle version 8.0.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.0.1-bin.zip: OK
Running /opt/gradle/versions/8.0.1/bin/gradle clean
Welcome to Gradle 8.0.1!
Here are the highlights of this release:
- Improvements to the Kotlin DSL
- Fine-grained parallelism from the first build with configuration cache
- Configurable Gradle user home cache cleanup
For more details see https://docs.gradle.org/8.0.1/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.0.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: clean
Type-safe project accessors is an incubating feature.
> Task :build-logic:pluginDescriptors
> Task :build-logic:processResources
> Task :build-logic:compileKotlin
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:classes
> Task :build-logic:jar
> Task :build-logic:inspectClassesForKotlinIC
0 problems were found storing the configuration cache.
See the complete report at file:///home/vagrant/build/dev.yashgarg.qbit/build/reports/configuration-cache/14q8ebj9ipgg977r5bv76p559/30it79t1qfqzcxzvdvie2pmus/configuration-cache-report.html
FAILURE: Build failed with an exception.
* Where:
Build file '/home/vagrant/build/dev.yashgarg.qbit/app/build.gradle.kts' line: 12
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application', version: '8.1.0-alpha07']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /usr/lib/jvm/java-11-openjdk-amd64
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* 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.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3m 2s
5 actionable tasks: 5 executed
Publishing build scan...
https://gradle.com/s/7raunurgsf2t4
Configuration cache entry stored.
==== detail end ====
2023-03-08 07:59:25,728 DEBUG: Error encoutered, stopping by user request.
==== detail end ====