log for org.schabi.newpipe:977

Traceback (most recent call last):
  File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 1136, in main
    options.onserver, options.refresh):
  File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 886, in trybuild
    build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
  File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 269, in build_server
    str(output, 'utf-8'))
fdroidserver.exception.BuildException: Build.py failed on server for org.schabi.newpipe:0.21.11
==== detail begin ====
== Installed Android Tools ==

2021-10-13 11:10:45,267 DEBUG: Reading 'config.yml'
2021-10-13 11:10:45,276 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner 
2021-10-13 11:10:45,279 INFO: Creating log directory
2021-10-13 11:10:45,279 INFO: Creating temporary directory
2021-10-13 11:10:45,279 INFO: Creating output directory
2021-10-13 11:10:45,307 DEBUG: Getting git vcs interface for https://github.com/TeamNewPipe/NewPipe
2021-10-13 11:10:45,308 DEBUG: > git --version
git version 2.11.0
2021-10-13 11:10:45,524 INFO: Using git version 2.11.0
2021-10-13 11:10:45,525 DEBUG: Checking 0.21.11
2021-10-13 11:10:45,525 INFO: Building version 0.21.11 (977) of org.schabi.newpipe
2021-10-13 11:10:45,525 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2021-10-13 11:10:45,733 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 64914 files and directories currently installed.)
Removing sudo (1.8.19p1-2.1+deb9u3) ...
Purging configuration files for sudo (1.8.19p1-2.1+deb9u3) ...
Processing triggers for systemd (232-25+deb9u13) ...
2021-10-13 11:10:51,339 INFO: Getting source for revision e0ba9b3902801a1e43a98813177bd4f7f2ced01e
2021-10-13 11:10:51,354 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:51,354 DEBUG: > git rev-parse --show-toplevel
2021-10-13 11:10:51,564 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:51,564 DEBUG: > git submodule foreach --recursive git reset --hard
2021-10-13 11:10:51,669 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:51,670 DEBUG: > git reset --hard
2021-10-13 11:10:51,977 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:51,977 DEBUG: > git submodule foreach --recursive git clean -dffx
2021-10-13 11:10:52,082 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:52,083 DEBUG: > git clean -dffx
2021-10-13 11:10:52,329 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:52,329 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 fetch origin
2021-10-13 11:10:52,736 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:52,736 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 fetch --prune --tags --force origin
2021-10-13 11:10:53,045 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:53,045 DEBUG: > git remote set-head origin --auto
2021-10-13 11:10:53,450 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:53,451 DEBUG: > git checkout -f e0ba9b3902801a1e43a98813177bd4f7f2ced01e
2021-10-13 11:10:53,656 DEBUG: Directory: build/org.schabi.newpipe
2021-10-13 11:10:53,656 DEBUG: > git clean -dffx
2021-10-13 11:10:53,767 INFO: Creating local.properties file at build/org.schabi.newpipe/local.properties
2021-10-13 11:10:53,768 INFO: Creating local.properties file at build/org.schabi.newpipe/app/local.properties
2021-10-13 11:10:53,768 DEBUG: Removing debuggable flags from build/org.schabi.newpipe/app
2021-10-13 11:10:53,792 INFO: Cleaning Gradle project...
2021-10-13 11:10:53,792 DEBUG: Directory: build/org.schabi.newpipe/app
2021-10-13 11:10:53,792 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 7.1.1 via distributionUrl
Downloading missing gradle version 7.1.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-7.1.1-bin.zip: OK
Running /opt/gradle/versions/7.1.1/bin/gradle clean

Welcome to Gradle 7.1.1!

Here are the highlights of this release:
 - Faster incremental Java compilation
 - Easier source set configuration in the Kotlin DSL

For more details see https://docs.gradle.org/7.1.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/7.1.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

FAILURE: Build failed with an exception.

* Where:
Build file '/home/vagrant/build/org.schabi.newpipe/app/build.gradle' line: 5

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     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. 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.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 30s
2021-10-13 11:11:27,335 ERROR: Could not build app org.schabi.newpipe: Error cleaning org.schabi.newpipe:0.21.11
==== detail begin ====
Found 7.1.1 via distributionUrl
Downloading missing gradle version 7.1.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-7.1.1-bin.zip: OK
Running /opt/gradle/versions/7.1.1/bin/gradle clean

Welcome to Gradle 7.1.1!

Here are the highlights of this release:
 - Faster incremental Java compilation
 - Easier source set configuration in the Kotlin DSL

For more details see https://docs.gradle.org/7.1.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/7.1.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

FAILURE: Build failed with an exception.

* Where:
Build file '/home/vagrant/build/org.schabi.newpipe/app/build.gradle' line: 5

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     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. 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.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 30s
==== detail end ====
2021-10-13 11:11:27,335 DEBUG: Error encoutered, stopping by user request.
==== detail end ====