log for org.secuso.privacyfriendlyweather:16
Traceback (most recent call last):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 1130, in main
options.onserver, options.refresh):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 889, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 272, in build_server
str(output, 'utf-8'))
fdroidserver.exception.BuildException: Build.py failed on server for org.secuso.privacyfriendlyweather:3.1.0
==== detail begin ====
== Installed Android Tools ==
2022-08-05 09:05:02,902 DEBUG: Reading 'config.yml'
2022-08-05 09:05:02,910 DEBUG: Local Android SDK only has outdated apksigner versions
2022-08-05 09:05:02,910 WARNING: apksigner not found! Cannot sign or verify modern APKs
2022-08-05 09:05:02,913 INFO: Creating log directory
2022-08-05 09:05:02,913 INFO: Creating temporary directory
2022-08-05 09:05:02,913 INFO: Creating output directory
2022-08-05 09:05:02,917 DEBUG: Getting git vcs interface for https://github.com/SecUSo/privacy-friendly-weather
2022-08-05 09:05:02,917 DEBUG: > git --version
git version 2.11.0
2022-08-05 09:05:03,133 INFO: Using git version 2.11.0
2022-08-05 09:05:03,133 DEBUG: Checking 3.1.0
2022-08-05 09:05:03,133 INFO: Building version 3.1.0 (16) of org.secuso.privacyfriendlyweather
2022-08-05 09:05:03,134 INFO: Running 'sudo' commands in /home/vagrant
2022-08-05 09:05:03,134 DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -x -c apt-get update || apt-get update && apt-get install -y openjdk-11-jdk-headless && update-alternatives --auto java
+ apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Get:4 http://deb.debian.org/debian stretch-backports-sloppy InRelease [51.4 kB]
Get:5 http://deb.debian.org/debian stretch-backports InRelease [99.9 kB]
Get:6 http://deb.debian.org/debian testing InRelease [157 kB]
Hit:7 http://deb.debian.org/debian stretch Release
Get:8 http://deb.debian.org/debian testing/main i386 Packages.diff/Index [63.6 kB]
Get:10 http://deb.debian.org/debian testing/main i386 Packages T-2022-08-05-0802.58-F-2022-08-05-0802.58.pdiff [603 B]
Get:10 http://deb.debian.org/debian testing/main i386 Packages T-2022-08-05-0802.58-F-2022-08-05-0802.58.pdiff [603 B]
Fetched 372 kB in 2s (161 kB/s)
Reading package lists...
+ apt-get install -y openjdk-11-jdk-headless
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libasound2 libasound2-data openjdk-11-jre-headless
Suggested packages:
libasound2-plugins alsa-utils openjdk-11-demo openjdk-11-source libnss-mdns
fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic
The following NEW packages will be installed:
libasound2 libasound2-data openjdk-11-jdk-headless openjdk-11-jre-headless
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
Need to get 230 MB of archives.
After this operation, 374 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 libasound2-data all 1.1.3-5 [173 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libasound2 amd64 1.1.3-5 [497 kB]
Get:3 http://deb.debian.org/debian stretch-backports/main amd64 openjdk-11-jre-headless amd64 11.0.6+10-1~bpo9+1 [37.4 MB]
Get:4 http://deb.debian.org/debian stretch-backports/main amd64 openjdk-11-jdk-headless amd64 11.0.6+10-1~bpo9+1 [192 MB]
Fetched 230 MB in 2s (107 MB/s)
Selecting previously unselected package libasound2-data.
(Reading database ... 65038 files and directories currently installed.)
Preparing to unpack .../libasound2-data_1.1.3-5_all.deb ...
Unpacking libasound2-data (1.1.3-5) ...
Selecting previously unselected package libasound2:amd64.
Preparing to unpack .../libasound2_1.1.3-5_amd64.deb ...
Unpacking libasound2:amd64 (1.1.3-5) ...
Selecting previously unselected package openjdk-11-jre-headless:amd64.
Preparing to unpack .../openjdk-11-jre-headless_11.0.6+10-1~bpo9+1_amd64.deb ...
Unpacking openjdk-11-jre-headless:amd64 (11.0.6+10-1~bpo9+1) ...
Selecting previously unselected package openjdk-11-jdk-headless:amd64.
Preparing to unpack .../openjdk-11-jdk-headless_11.0.6+10-1~bpo9+1_amd64.deb ...
Unpacking openjdk-11-jdk-headless:amd64 (11.0.6+10-1~bpo9+1) ...
Setting up libasound2-data (1.1.3-5) ...
Setting up libasound2:amd64 (1.1.3-5) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up openjdk-11-jre-headless:amd64 (11.0.6+10-1~bpo9+1) ...
Setting up openjdk-11-jdk-headless:amd64 (11.0.6+10-1~bpo9+1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jaotc to provide /usr/bin/jaotc (jaotc) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode
+ update-alternatives --auto java
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
2022-08-05 09:05:23,326 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2022-08-05 09:05:23,532 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 65695 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+deb9u14) ...
2022-08-05 09:05:28,744 INFO: Getting source for revision d791b2c5b63f987e2cc89537d4d60399722f6dc2
2022-08-05 09:05:28,744 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:28,744 DEBUG: > git rev-parse --show-toplevel
2022-08-05 09:05:28,971 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:28,971 DEBUG: > git submodule foreach --recursive git reset --hard
2022-08-05 09:05:29,326 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:29,326 DEBUG: > git reset --hard
2022-08-05 09:05:29,642 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:29,642 DEBUG: > git submodule foreach --recursive git clean -dffx
2022-08-05 09:05:29,848 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:29,848 DEBUG: > git clean -dffx
2022-08-05 09:05:29,962 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:29,963 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
2022-08-05 09:05:30,270 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:30,270 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 remote prune origin
2022-08-05 09:05:30,584 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:30,585 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
2022-08-05 09:05:30,893 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:30,894 DEBUG: > git remote set-head origin --auto
2022-08-05 09:05:31,457 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:31,458 DEBUG: > git checkout -f d791b2c5b63f987e2cc89537d4d60399722f6dc2
2022-08-05 09:05:31,765 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:31,765 DEBUG: > git clean -dffx
2022-08-05 09:05:31,895 INFO: Initialising submodules
2022-08-05 09:05:31,896 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:31,896 DEBUG: > git rev-parse --show-toplevel
2022-08-05 09:05:32,105 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:32,106 DEBUG: > git submodule sync
2022-08-05 09:05:32,324 DEBUG: Directory: build/org.secuso.privacyfriendlyweather
2022-08-05 09:05:32,325 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 submodule update --init --force --recursive
Submodule path 'libs': checked out 'ec782fb3ca894589a7be56af8acecad600b372b5'
2022-08-05 09:05:32,533 INFO: Creating local.properties file at build/org.secuso.privacyfriendlyweather/local.properties
2022-08-05 09:05:32,534 INFO: Creating local.properties file at build/org.secuso.privacyfriendlyweather/app/local.properties
2022-08-05 09:05:32,534 DEBUG: Removing debuggable flags from build/org.secuso.privacyfriendlyweather/app
2022-08-05 09:05:32,556 INFO: Cleaning Gradle project...
2022-08-05 09:05:32,556 DEBUG: Directory: build/org.secuso.privacyfriendlyweather/app
2022-08-05 09:05:32,556 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 7.3.3 via distributionUrl
Downloading missing gradle version 7.3.3
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-7.3.3-bin.zip: OK
Running /opt/gradle/versions/7.3.3/bin/gradle clean
Welcome to Gradle 7.3.3!
Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3
For more details see https://docs.gradle.org/7.3.3/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.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :app
6ce608ac284ab1c17e7b67488450b4bd
> Configure project :backup-api
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
> Task :app:clean UP-TO-DATE
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.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 26s
1 actionable task: 1 up-to-date
2022-08-05 09:06:02,035 INFO: Scanning source for common problems...
2022-08-05 09:06:02,040 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2022-08-05 09:06:02,042 INFO: Removing gradle-wrapper.jar at libs/gradle/wrapper/gradle-wrapper.jar
2022-08-05 09:06:02,076 INFO: Creating source tarball...
2022-08-05 09:06:04,096 INFO: Building Gradle project...
2022-08-05 09:06:04,096 DEBUG: Directory: build/org.secuso.privacyfriendlyweather/app
2022-08-05 09:06:04,097 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 7.3.3 via distributionUrl
Running /opt/gradle/versions/7.3.3/bin/gradle assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :app
6ce608ac284ab1c17e7b67488450b4bd
> Configure project :backup-api
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Checking the license for package Android SDK Build-Tools 30.0.3 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /opt/android-sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 32 in /opt/android-sdk/licenses
License for package Android SDK Platform 32 accepted.
Preparing "Install Android SDK Platform 32 (revision: 1)".
"Install Android SDK Platform 32 (revision: 1)" ready.
Installing Android SDK Platform 32 in /opt/android-sdk/platforms/android-32
"Install Android SDK Platform 32 (revision: 1)" complete.
"Install Android SDK Platform 32 (revision: 1)" finished.
> Task :backup-api:preBuild UP-TO-DATE
> Task :backup-api:preReleaseBuild UP-TO-DATE
> Task :backup-api:mergeReleaseJniLibFolders
> Task :backup-api:mergeReleaseNativeLibs NO-SOURCE
> Task :backup-api:stripReleaseDebugSymbols NO-SOURCE
> Task :backup-api:compileReleaseRenderscript NO-SOURCE
> Task :backup-api:copyReleaseJniLibsProjectAndLocalJars
> Task :backup-api:generateReleaseBuildConfig
> Task :backup-api:generateReleaseResValues
> Task :backup-api:generateReleaseResources
> Task :backup-api:compileReleaseAidl
> Task :backup-api:packageReleaseResources
> Task :backup-api:javaPreCompileRelease
> Task :backup-api:mergeReleaseShaders
> Task :backup-api:parseReleaseLocalResources
> Task :backup-api:compileReleaseShaders NO-SOURCE
> Task :backup-api:generateReleaseAssets UP-TO-DATE
> Task :backup-api:packageReleaseAssets
> Task :backup-api:packageReleaseRenderscript NO-SOURCE
> Task :backup-api:prepareLintJarForPublish
> Task :backup-api:prepareReleaseArtProfile
> Task :backup-api:processReleaseJavaRes NO-SOURCE
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :backup-api:writeReleaseAarMetadata
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :backup-api:processReleaseManifest
> Task :app:javaPreCompileRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:checkReleaseAarMetadata
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :backup-api:extractDeepLinksRelease
> Task :backup-api:compileReleaseLibraryResources
> Task :backup-api:generateReleaseRFile
> Task :app:processReleaseMainManifest
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/AndroidManifest.xml:189:13-192:39 Warning:
meta-data#androidx.work.impl.WorkManagerInitializer was tagged at AndroidManifest.xml:189 to remove other declarations but no other declaration present
> Task :app:processReleaseManifest
> Task :app:extractProguardFiles
> Task :backup-api:writeReleaseLintModelMetadata
> Task :app:mergeReleaseJniLibFolders
> Task :backup-api:copyReleaseJniLibsProjectOnly
> Task :app:mergeReleaseResources
> Task :app:mapReleaseSourceSetPaths
> Task :app:checkReleaseDuplicateClasses
> Task :backup-api:compileReleaseKotlin
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/pfa/PFAAuthService.kt: (84, 17): Variable 'backupPackageName' is never used
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/pfa/PFAAuthService.kt: (85, 17): Variable 'connectImmediately' is never used
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/util/AuthenticationHelper.kt: (122, 36): 'GET_SIGNATURES: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/util/AuthenticationHelper.kt: (123, 19): 'signatures: Array<(out) Signature!>!' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/worker/ConnectBackupWorker.kt: (110, 9): This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/worker/ConnectBackupWorker.kt: (130, 13): Variable 'restoreData' is never used
> Task :app:processReleaseManifestForPackage
> Task :backup-api:extractReleaseAnnotations
> Task :backup-api:compileReleaseJavaWithJavac
> Task :backup-api:mergeReleaseGeneratedProguardFiles
> Task :backup-api:mergeReleaseConsumerProguardFiles
> Task :backup-api:mergeReleaseJavaResource
> Task :backup-api:syncReleaseLibJars
> Task :backup-api:bundleReleaseLocalLintAar
> Task :backup-api:bundleLibResRelease
> Task :backup-api:bundleLibCompileToJarRelease
> Task :backup-api:bundleLibRuntimeToJarRelease
> Task :app:mergeReleaseNativeLibs NO-SOURCE
> Task :app:stripReleaseDebugSymbols NO-SOURCE
> Task :app:extractReleaseNativeSymbolTables NO-SOURCE
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:desugarReleaseFileDependencies
> Task :app:processReleaseResources
> Task :app:mergeExtDexRelease
> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:mergeReleaseArtProfile
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:collectReleaseDependencies
> Task :app:compressReleaseAssets
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :backup-api:createFullJarRelease
> Task :app:mergeReleaseJavaResource
> Task :app:dexBuilderRelease
> Task :app:optimizeReleaseResources
> Task :app:mergeDexRelease
> Task :app:compileReleaseArtProfile
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:lintVitalAnalyzeRelease
> Task :app:lintVitalReportRelease
> Task :app:lintVitalRelease FAILED
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/java/org/secuso/privacyfriendlyweather/ui/RecycleList/CityWeatherAdapter.java:555: Error: When using `setHasFixedSize() in an RecyclerView, wrap_content cannot be used as a value for size in the scrolling direction. [InvalidSetHasFixedSize from recyclerview-1.2.1]
recyclerView.setHasFixedSize(true);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/java/org/secuso/privacyfriendlyweather/ui/RecycleList/CityWeatherAdapter.java:566: Error: When using `setHasFixedSize() in an RecyclerView, wrap_content cannot be used as a value for size in the scrolling direction. [InvalidSetHasFixedSize from recyclerview-1.2.1]
recyclerView.setHasFixedSize(true);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "InvalidSetHasFixedSize":
When a RecyclerView uses setHasFixedSize(...) you cannot use wrap_content
for size in the scrolling direction.
Vendor: Android Open Source Project (recyclerview-1.2.1)
Identifier: recyclerview-1.2.1
Feedback: https://issuetracker.google.com/issues/new?component=192731
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/AndroidManifest.xml:184: Error: Remove androidx.work.WorkManagerInitializer from your AndroidManifest.xml when using on-demand initialization. [RemoveWorkManagerInitializer from work-runtime-2.7.1]
<provider
^
Explanation for issues of type "RemoveWorkManagerInitializer":
If an android.app.Application implements
androidx.work.Configuration.Provider,
the default androidx.startup.InitializationProvider needs to be removed
from the
AndroidManifest.xml file.
Vendor: Android Open Source Project (work-runtime-2.7.1)
Identifier: work-runtime-2.7.1
Feedback: https://issuetracker.google.com/issues/new?component=192731
3 errors, 0 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
Fix the issues identified by lint, or create a baseline to see only new errors:
```
android {
lint {
baseline = file("lint-baseline.xml")
}
}
```
For more details, see https://developer.android.com/studio/write/lint#snapshot
* 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.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 43s
67 actionable tasks: 67 executed
2022-08-05 09:07:48,750 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/org.secuso.privacyfriendlyweather, universal_newlines=False, shell=None)
2022-08-05 09:07:48,755 ERROR: Could not build app org.secuso.privacyfriendlyweather: Build failed for org.secuso.privacyfriendlyweather:3.1.0@d791b2c5b63f987e2cc89537d4d60399722f6dc2
==== detail begin ====
Found 7.3.3 via distributionUrl
Running /opt/gradle/versions/7.3.3/bin/gradle assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :app
6ce608ac284ab1c17e7b67488450b4bd
> Configure project :backup-api
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Checking the license for package Android SDK Build-Tools 30.0.3 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /opt/android-sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 32 in /opt/android-sdk/licenses
License for package Android SDK Platform 32 accepted.
Preparing "Install Android SDK Platform 32 (revision: 1)".
"Install Android SDK Platform 32 (revision: 1)" ready.
Installing Android SDK Platform 32 in /opt/android-sdk/platforms/android-32
"Install Android SDK Platform 32 (revision: 1)" complete.
"Install Android SDK Platform 32 (revision: 1)" finished.
> Task :backup-api:preBuild UP-TO-DATE
> Task :backup-api:preReleaseBuild UP-TO-DATE
> Task :backup-api:mergeReleaseJniLibFolders
> Task :backup-api:mergeReleaseNativeLibs NO-SOURCE
> Task :backup-api:stripReleaseDebugSymbols NO-SOURCE
> Task :backup-api:compileReleaseRenderscript NO-SOURCE
> Task :backup-api:copyReleaseJniLibsProjectAndLocalJars
> Task :backup-api:generateReleaseBuildConfig
> Task :backup-api:generateReleaseResValues
> Task :backup-api:generateReleaseResources
> Task :backup-api:compileReleaseAidl
> Task :backup-api:packageReleaseResources
> Task :backup-api:javaPreCompileRelease
> Task :backup-api:mergeReleaseShaders
> Task :backup-api:parseReleaseLocalResources
> Task :backup-api:compileReleaseShaders NO-SOURCE
> Task :backup-api:generateReleaseAssets UP-TO-DATE
> Task :backup-api:packageReleaseAssets
> Task :backup-api:packageReleaseRenderscript NO-SOURCE
> Task :backup-api:prepareLintJarForPublish
> Task :backup-api:prepareReleaseArtProfile
> Task :backup-api:processReleaseJavaRes NO-SOURCE
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :backup-api:writeReleaseAarMetadata
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :backup-api:processReleaseManifest
> Task :app:javaPreCompileRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:checkReleaseAarMetadata
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :backup-api:extractDeepLinksRelease
> Task :backup-api:compileReleaseLibraryResources
> Task :backup-api:generateReleaseRFile
> Task :app:processReleaseMainManifest
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/AndroidManifest.xml:189:13-192:39 Warning:
meta-data#androidx.work.impl.WorkManagerInitializer was tagged at AndroidManifest.xml:189 to remove other declarations but no other declaration present
> Task :app:processReleaseManifest
> Task :app:extractProguardFiles
> Task :backup-api:writeReleaseLintModelMetadata
> Task :app:mergeReleaseJniLibFolders
> Task :backup-api:copyReleaseJniLibsProjectOnly
> Task :app:mergeReleaseResources
> Task :app:mapReleaseSourceSetPaths
> Task :app:checkReleaseDuplicateClasses
> Task :backup-api:compileReleaseKotlin
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/pfa/PFAAuthService.kt: (84, 17): Variable 'backupPackageName' is never used
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/pfa/PFAAuthService.kt: (85, 17): Variable 'connectImmediately' is never used
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/util/AuthenticationHelper.kt: (122, 36): 'GET_SIGNATURES: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/util/AuthenticationHelper.kt: (123, 19): 'signatures: Array<(out) Signature!>!' is deprecated. Deprecated in Java
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/worker/ConnectBackupWorker.kt: (110, 9): This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
w: /home/vagrant/build/org.secuso.privacyfriendlyweather/libs/BackupAPI/src/main/java/org/secuso/privacyfriendlybackup/api/worker/ConnectBackupWorker.kt: (130, 13): Variable 'restoreData' is never used
> Task :app:processReleaseManifestForPackage
> Task :backup-api:extractReleaseAnnotations
> Task :backup-api:compileReleaseJavaWithJavac
> Task :backup-api:mergeReleaseGeneratedProguardFiles
> Task :backup-api:mergeReleaseConsumerProguardFiles
> Task :backup-api:mergeReleaseJavaResource
> Task :backup-api:syncReleaseLibJars
> Task :backup-api:bundleReleaseLocalLintAar
> Task :backup-api:bundleLibResRelease
> Task :backup-api:bundleLibCompileToJarRelease
> Task :backup-api:bundleLibRuntimeToJarRelease
> Task :app:mergeReleaseNativeLibs NO-SOURCE
> Task :app:stripReleaseDebugSymbols NO-SOURCE
> Task :app:extractReleaseNativeSymbolTables NO-SOURCE
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:desugarReleaseFileDependencies
> Task :app:processReleaseResources
> Task :app:mergeExtDexRelease
> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:mergeReleaseArtProfile
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:collectReleaseDependencies
> Task :app:compressReleaseAssets
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :backup-api:createFullJarRelease
> Task :app:mergeReleaseJavaResource
> Task :app:dexBuilderRelease
> Task :app:optimizeReleaseResources
> Task :app:mergeDexRelease
> Task :app:compileReleaseArtProfile
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:lintVitalAnalyzeRelease
> Task :app:lintVitalReportRelease
> Task :app:lintVitalRelease FAILED
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/java/org/secuso/privacyfriendlyweather/ui/RecycleList/CityWeatherAdapter.java:555: Error: When using `setHasFixedSize() in an RecyclerView, wrap_content cannot be used as a value for size in the scrolling direction. [InvalidSetHasFixedSize from recyclerview-1.2.1]
recyclerView.setHasFixedSize(true);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/java/org/secuso/privacyfriendlyweather/ui/RecycleList/CityWeatherAdapter.java:566: Error: When using `setHasFixedSize() in an RecyclerView, wrap_content cannot be used as a value for size in the scrolling direction. [InvalidSetHasFixedSize from recyclerview-1.2.1]
recyclerView.setHasFixedSize(true);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "InvalidSetHasFixedSize":
When a RecyclerView uses setHasFixedSize(...) you cannot use wrap_content
for size in the scrolling direction.
Vendor: Android Open Source Project (recyclerview-1.2.1)
Identifier: recyclerview-1.2.1
Feedback: https://issuetracker.google.com/issues/new?component=192731
/home/vagrant/build/org.secuso.privacyfriendlyweather/app/src/main/AndroidManifest.xml:184: Error: Remove androidx.work.WorkManagerInitializer from your AndroidManifest.xml when using on-demand initialization. [RemoveWorkManagerInitializer from work-runtime-2.7.1]
<provider
^
Explanation for issues of type "RemoveWorkManagerInitializer":
If an android.app.Application implements
androidx.work.Configuration.Provider,
the default androidx.startup.InitializationProvider needs to be removed
from the
AndroidManifest.xml file.
Vendor: Android Open Source Project (work-runtime-2.7.1)
Identifier: work-runtime-2.7.1
Feedback: https://issuetracker.google.com/issues/new?component=192731
3 errors, 0 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
Fix the issues identified by lint, or create a baseline to see only new errors:
```
android {
lint {
baseline = file("lint-baseline.xml")
}
}
```
For more details, see https://developer.android.com/studio/write/lint#snapshot
* 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.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 43s
67 actionable tasks: 67 executed
==== detail end ====
2022-08-05 09:07:48,755 DEBUG: Error encoutered, stopping by user request.
==== detail end ====