log for network.loki.messenger.fdroid:2865

Traceback (most recent call last):
  File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 1128, in main
    options.onserver, options.refresh):
  File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 887, in trybuild
    build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
  File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 270, in build_server
    str(output, 'utf-8'))
fdroidserver.exception.BuildException: Build.py failed on server for network.loki.messenger.fdroid:1.13.5
==== detail begin ====
== Installed Android Tools ==

2022-06-22 02:45:02,816 DEBUG: Reading 'config.yml'
2022-06-22 02:45:02,824 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner 
2022-06-22 02:45:02,827 INFO: Creating log directory
2022-06-22 02:45:02,827 INFO: Creating temporary directory
2022-06-22 02:45:02,827 INFO: Creating output directory
2022-06-22 02:45:02,830 DEBUG: Getting git vcs interface for https://github.com/oxen-io/session-android.git
2022-06-22 02:45:02,831 DEBUG: > git --version
git version 2.11.0
2022-06-22 02:45:03,043 INFO: Using git version 2.11.0
2022-06-22 02:45:03,043 DEBUG: Checking 1.13.5
2022-06-22 02:45:03,044 INFO: Building version 1.13.5 (2865) of network.loki.messenger.fdroid
2022-06-22 02:45:03,045 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2022-06-22 02:45:03,258 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 65038 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) ...
2022-06-22 02:45:06,683 INFO: Getting source for revision 58dfd3b7cd1e9dce70bb2dfbe7afc56fd3d71fcd
2022-06-22 02:45:06,684 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:06,684 DEBUG: > git rev-parse --show-toplevel
2022-06-22 02:45:06,889 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:06,890 DEBUG: > git submodule foreach --recursive git reset --hard
2022-06-22 02:45:06,995 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:06,996 DEBUG: > git reset --hard
2022-06-22 02:45:07,410 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:07,411 DEBUG: > git submodule foreach --recursive git clean -dffx
2022-06-22 02:45:07,516 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:07,516 DEBUG: > git clean -dffx
2022-06-22 02:45:07,621 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:07,622 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-06-22 02:45:08,035 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:08,035 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-06-22 02:45:08,341 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:08,342 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-06-22 02:45:08,755 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:08,756 DEBUG: > git remote set-head origin --auto
2022-06-22 02:45:09,163 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:09,164 DEBUG: > git checkout -f 58dfd3b7cd1e9dce70bb2dfbe7afc56fd3d71fcd
2022-06-22 02:45:09,479 DEBUG: Directory: build/network.loki.messenger.fdroid
2022-06-22 02:45:09,480 DEBUG: > git clean -dffx
2022-06-22 02:45:09,585 INFO: Creating local.properties file at build/network.loki.messenger.fdroid/local.properties
2022-06-22 02:45:09,587 INFO: Creating local.properties file at build/network.loki.messenger.fdroid/app/local.properties
2022-06-22 02:45:09,588 DEBUG: Removing debuggable flags from build/network.loki.messenger.fdroid/app
2022-06-22 02:45:09,604 INFO: Removing specified files
2022-06-22 02:45:09,604 INFO: Removing app/src/main/java/org/thoughtcrime/securesms/notifications/FcmUtils.kt
2022-06-22 02:45:09,605 INFO: Removing app/src/main/java/org/thoughtcrime/securesms/notifications/LokiPushNotificationManager.kt
2022-06-22 02:45:09,606 INFO: Removing app/src/main/java/org/thoughtcrime/securesms/notifications/PushNotificationService.kt
2022-06-22 02:45:09,622 INFO: Running 'prebuild' commands in build/network.loki.messenger.fdroid/app
2022-06-22 02:45:09,622 DEBUG: Directory: build/network.loki.messenger.fdroid/app
2022-06-22 02:45:09,623 DEBUG: > bash -x -c -- sed -i -e '/gms/d' -e 's/raw.github.com.*"/jitpack.io"/' ../build.gradle && sed -i -e '/gms/d' -e '/firebase-messaging/,/^    }/d' -e '/enable true/d' -e '/circular-progress-button/s/1.1.3-S2/1.1.3/' -e '/android-database-sqlcipher/s/org.signal/net.zetetic/' -e '/android-database-sqlcipher/s/3.5.9-S3/4.0.0/' -e '/defaultConfig/a applicationId "network.loki.messenger.fdroid"' build.gradle && sed -i -z -E -e 's/<[^<]+pref_key_use_fcm[^>]+>//' src/main/res/xml/preferences_notifications.xml && sed -i -E -e '/app_name/s/>(.+)</>\1 F-Droid</' src/main/res/*/strings.xml && for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml); do find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e "s/network.loki.$uri/network.loki.fdroid.$uri/" {} +; done && sed -i -e '/READ_PHONE_STATE/d' -e '/c2dm/d' -e 's/ACCESS_SESSION_SECRETS/fdroid.ACCESS_SESSION_SECRETS/' -e '/android:authorities/s/network.loki/network.loki.fdroid/' src/main/AndroidManifest.xml && cd src/main/java/org/thoughtcrime/securesms && sed -i -e '/fun toggleFCM()/,/^    }/d' -e 's/toggleFCM/toggleBackgroundPolling/' onboarding/PNModeActivity.kt && sed -i -e '/void registerForFCMIfNeeded/,/^    }/s/^        .*//' -e '/FcmUtils/d' -e '/LokiPushNotificationManager/d' ApplicationContext.java && sed -i -e '/pref_key_use_fcm/,/^      });/d' preferences/NotificationsPreferenceFragment.java && sed -i -e 's/Strings.isEmptyOrWhitespace(passphrase)/(passphrase?.trim()?.isEmpty()?:true)/' -e '/Strings/d' backup/BackupRestoreActivity.kt && sed -i -e 's/IOUtils.readInputStreamFully(bodyStream);/new byte[bodyStream.available()];bodyStream.read(data);/' -e '/IOUtils/d' linkpreview/LinkPreviewRepository.java
+ sed -i -e /gms/d -e 's/raw.github.com.*"/jitpack.io"/' ../build.gradle
+ sed -i -e /gms/d -e '/firebase-messaging/,/^    }/d' -e '/enable true/d' -e /circular-progress-button/s/1.1.3-S2/1.1.3/ -e /android-database-sqlcipher/s/org.signal/net.zetetic/ -e /android-database-sqlcipher/s/3.5.9-S3/4.0.0/ -e '/defaultConfig/a applicationId "network.loki.messenger.fdroid"' build.gradle
+ sed -i -z -E -e 's/<[^<]+pref_key_use_fcm[^>]+>//' src/main/res/xml/preferences_notifications.xml
+ sed -i -E -e '/app_name/s/>(.+)</>\1 F-Droid</' src/main/res/values-af-rZA/strings.xml src/main/res/values-af/strings.xml src/main/res/values-ar-rSA/strings.xml src/main/res/values-ar/strings.xml src/main/res/values-az-rAZ/strings.xml src/main/res/values-az/strings.xml src/main/res/values-bal-rBA/strings.xml src/main/res/values-bal/strings.xml src/main/res/values-be-rBY/strings.xml src/main/res/values-be/strings.xml src/main/res/values-bg-rBG/strings.xml src/main/res/values-bg/strings.xml src/main/res/values-ca-rES/strings.xml src/main/res/values-ca/strings.xml src/main/res/values-cs-rCZ/strings.xml src/main/res/values-cs/strings.xml src/main/res/values-cy-rGB/strings.xml src/main/res/values-cy/strings.xml src/main/res/values-da-rDK/strings.xml src/main/res/values-da/strings.xml src/main/res/values-de-rDE/strings.xml src/main/res/values-de/strings.xml src/main/res/values-el-rGR/strings.xml src/main/res/values-el/strings.xml src/main/res/values-eo-rUY/strings.xml src/main/res/values-eo/strings.xml src/main/res/values-es-rES/strings.xml src/main/res/values-es/strings.xml src/main/res/values-et-rEE/strings.xml src/main/res/values-et/strings.xml src/main/res/values-fa-rIR/strings.xml src/main/res/values-fa/strings.xml src/main/res/values-fi-rFI/strings.xml src/main/res/values-fi/strings.xml src/main/res/values-fr-rFR/strings.xml src/main/res/values-fr/strings.xml src/main/res/values-gl-rES/strings.xml src/main/res/values-gl/strings.xml src/main/res/values-ha-rHG/strings.xml src/main/res/values-ha/strings.xml src/main/res/values-hi-rIN/strings.xml src/main/res/values-hi/strings.xml src/main/res/values-hr-rHR/strings.xml src/main/res/values-hr/strings.xml src/main/res/values-hu-rHU/strings.xml src/main/res/values-hu/strings.xml src/main/res/values-hy-rAM/strings.xml src/main/res/values-hy/strings.xml src/main/res/values-in-rID/strings.xml src/main/res/values-in/strings.xml src/main/res/values-it-rIT/strings.xml src/main/res/values-it/strings.xml src/main/res/values-iw-rIL/strings.xml src/main/res/values-iw/strings.xml src/main/res/values-ja-rJP/strings.xml src/main/res/values-ja/strings.xml src/main/res/values-ka-rGE/strings.xml src/main/res/values-ka/strings.xml src/main/res/values-km-rKH/strings.xml src/main/res/values-km/strings.xml src/main/res/values-kn-rIN/strings.xml src/main/res/values-kn/strings.xml src/main/res/values-ko-rKR/strings.xml src/main/res/values-ko/strings.xml src/main/res/values-lo-rLA/strings.xml src/main/res/values-lo/strings.xml src/main/res/values-lt-rLT/strings.xml src/main/res/values-lt/strings.xml src/main/res/values-lv-rLV/strings.xml src/main/res/values-lv/strings.xml src/main/res/values-mk-rMK/strings.xml src/main/res/values-mk/strings.xml src/main/res/values-mn-rMN/strings.xml src/main/res/values-mn/strings.xml src/main/res/values-ms-rMY/strings.xml src/main/res/values-ms/strings.xml src/main/res/values-my-rMM/strings.xml src/main/res/values-nb-rNO/strings.xml src/main/res/values-nb/strings.xml src/main/res/values-nl-rNL/strings.xml src/main/res/values-nl/strings.xml src/main/res/values-nn-rNO/strings.xml src/main/res/values-nn/strings.xml src/main/res/values-no-rNO/strings.xml src/main/res/values-no/strings.xml src/main/res/values-ny-rMW/strings.xml src/main/res/values-ny/strings.xml src/main/res/values-pa-rIN/strings.xml src/main/res/values-pa/strings.xml src/main/res/values-pl-rPL/strings.xml src/main/res/values-pl/strings.xml src/main/res/values-ps-rAF/strings.xml src/main/res/values-ps/strings.xml src/main/res/values-pt-rBR/strings.xml src/main/res/values-pt-rPT/strings.xml src/main/res/values-pt/strings.xml src/main/res/values-ro-rRO/strings.xml src/main/res/values-ro/strings.xml src/main/res/values-ru-rRU/strings.xml src/main/res/values-ru/strings.xml src/main/res/values-si-rLK/strings.xml src/main/res/values-si/strings.xml src/main/res/values-sk-rSK/strings.xml src/main/res/values-sk/strings.xml src/main/res/values-sl-rSI/strings.xml src/main/res/values-sl/strings.xml src/main/res/values-sq-rAL/strings.xml src/main/res/values-sq/strings.xml src/main/res/values-sr-rSP/strings.xml src/main/res/values-sr/strings.xml src/main/res/values/strings.xml src/main/res/values-sv-rSE/strings.xml src/main/res/values-sv/strings.xml src/main/res/values-sw-rKE/strings.xml src/main/res/values-sw/strings.xml src/main/res/values-ta-rIN/strings.xml src/main/res/values-ta/strings.xml src/main/res/values-te-rIN/strings.xml src/main/res/values-te/strings.xml src/main/res/values-th-rTH/strings.xml src/main/res/values-th/strings.xml src/main/res/values-tr-rTR/strings.xml src/main/res/values-tr/strings.xml src/main/res/values-uk-rUA/strings.xml src/main/res/values-uk/strings.xml src/main/res/values-ur-rIN/strings.xml src/main/res/values-ur/strings.xml src/main/res/values-vi-rVN/strings.xml src/main/res/values-vi/strings.xml src/main/res/values-xh-rZA/strings.xml src/main/res/values-xh/strings.xml src/main/res/values-zh-rCN/strings.xml src/main/res/values-zh-rTW/strings.xml src/main/res/values-zh/strings.xml
++ sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.provider.securesms/network.loki.fdroid.provider.securesms/ '{}' +
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.securesms.fileprovider/network.loki.fdroid.securesms.fileprovider/ '{}' +
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.securesms.database.conversation/network.loki.fdroid.securesms.database.conversation/ '{}' +
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.securesms.database.conversationlist/network.loki.fdroid.securesms.database.conversationlist/ '{}' +
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.securesms.database.attachment/network.loki.fdroid.securesms.database.attachment/ '{}' +
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.securesms.database.sticker/network.loki.fdroid.securesms.database.sticker/ '{}' +
+ for uri in $(sed -n -E 's/android:authorities="network.loki.(.*)"/\1/p' src/main/AndroidManifest.xml)
+ find src/main/java/org/thoughtcrime/securesms -type f -exec sed -i -e s/network.loki.securesms.database.stickerpack/network.loki.fdroid.securesms.database.stickerpack/ '{}' +
+ sed -i -e /READ_PHONE_STATE/d -e /c2dm/d -e s/ACCESS_SESSION_SECRETS/fdroid.ACCESS_SESSION_SECRETS/ -e /android:authorities/s/network.loki/network.loki.fdroid/ src/main/AndroidManifest.xml
+ cd src/main/java/org/thoughtcrime/securesms
+ sed -i -e '/fun toggleFCM()/,/^    }/d' -e s/toggleFCM/toggleBackgroundPolling/ onboarding/PNModeActivity.kt
+ sed -i -e '/void registerForFCMIfNeeded/,/^    }/s/^        .*//' -e /FcmUtils/d -e /LokiPushNotificationManager/d ApplicationContext.java
+ sed -i -e '/pref_key_use_fcm/,/^      });/d' preferences/NotificationsPreferenceFragment.java
+ sed -i -e 's/Strings.isEmptyOrWhitespace(passphrase)/(passphrase?.trim()?.isEmpty()?:true)/' -e /Strings/d backup/BackupRestoreActivity.kt
+ sed -i -e 's/IOUtils.readInputStreamFully(bodyStream);/new byte[bodyStream.available()];bodyStream.read(data);/' -e /IOUtils/d linkpreview/LinkPreviewRepository.java
2022-06-22 02:45:11,542 INFO: Cleaning Gradle project...
2022-06-22 02:45:11,542 DEBUG: Directory: build/network.loki.messenger.fdroid/app
2022-06-22 02:45:11,542 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 6.7.1 via distributionUrl
Downloading missing gradle version 6.7.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-6.7.1-bin.zip: OK
Running /opt/gradle/versions/6.7.1/bin/gradle clean

Welcome to Gradle 6.7.1!

Here are the highlights of this release:
 - File system watching is ready for production use
 - Declare the version of Java your build requires
 - Java 15 support

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

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Task :buildSrc:compileJava
> Task :buildSrc:compileGroovy
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
> Task :buildSrc:pluginUnderTestMetadata
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validatePlugins
> Task :buildSrc:check
> Task :buildSrc:build
> Task :app:clean UP-TO-DATE

BUILD SUCCESSFUL in 51s
1 actionable task: 1 up-to-date
2022-06-22 02:46:05,615 INFO: Scanning source for common problems...
2022-06-22 02:46:05,621 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2022-06-22 02:46:05,796 INFO: Creating source tarball...
2022-06-22 02:46:08,260 INFO: Building Gradle project...
2022-06-22 02:46:08,260 DEBUG: Directory: build/network.loki.messenger.fdroid/app
2022-06-22 02:46:08,260 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assemblePlayRelease
Found 6.7.1 via distributionUrl
Running /opt/gradle/versions/6.7.1/bin/gradle assemblePlayRelease
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Task :buildSrc:compileJava
> Task :buildSrc:compileGroovy
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
> Task :buildSrc:pluginUnderTestMetadata
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validatePlugins
> Task :buildSrc:check
> Task :buildSrc:build
WARNING:: The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING:: The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
File /home/vagrant/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 30.0.2 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.2 accepted.
Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)".
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready.
Installing Android SDK Build-Tools 30.0.2 in /opt/android-sdk/build-tools/30.0.2
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete.
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished.
Checking the license for package Android SDK Platform 30 in /opt/android-sdk/licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in /opt/android-sdk/platforms/android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :app:prePlayReleaseBuild UP-TO-DATE
> Task :libsession:preBuild UP-TO-DATE
> Task :libsession:preReleaseBuild UP-TO-DATE
> Task :libsignal:preBuild UP-TO-DATE
> Task :libsignal:preReleaseBuild UP-TO-DATE
> Task :libsignal:compileReleaseAidl NO-SOURCE
> Task :libsession:compileReleaseAidl NO-SOURCE
> Task :app:compilePlayReleaseAidl NO-SOURCE
> Task :libsession:packageReleaseRenderscript NO-SOURCE
> Task :libsignal:packageReleaseRenderscript NO-SOURCE
> Task :app:compilePlayReleaseRenderscript NO-SOURCE
> Task :app:dataBindingMergeDependencyArtifactsPlayRelease
> Task :app:generatePlayReleaseResValues
> Task :app:generatePlayReleaseResources
> Task :app:dataBindingMergeGenClassesPlayRelease
> Task :libsession:compileReleaseRenderscript NO-SOURCE
> Task :libsession:generateReleaseResValues
> Task :libsession:generateReleaseResources
> Task :libsession:packageReleaseResources
> Task :libsignal:compileReleaseRenderscript NO-SOURCE
> Task :libsignal:generateReleaseResValues
> Task :libsignal:generateReleaseResources
> Task :libsignal:packageReleaseResources
> Task :app:dataBindingTriggerPlayRelease
> Task :app:generatePlayReleaseBuildConfig
> Task :libsession:writeReleaseAarMetadata
> Task :libsignal:writeReleaseAarMetadata
> Task :app:checkPlayReleaseAarMetadata
> Task :app:createPlayReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksPlayRelease
> Task :libsession:extractDeepLinksRelease
> Task :libsignal:extractDeepLinksRelease
> Task :libsession:compileReleaseLibraryResources
> Task :libsignal:processReleaseManifest
> Task :libsession:processReleaseManifest
> Task :libsession:parseReleaseLocalResources
> Task :app:mergePlayReleaseResources

> Task :app:processPlayReleaseMainManifest
/home/vagrant/build/network.loki.messenger.fdroid/app/src/main/AndroidManifest.xml:54:5-98 Warning:
	uses-permission#android.permission.CHANGE_NETWORK_STATE was tagged at AndroidManifest.xml:54 to remove other declarations but no other declaration present

> Task :app:dataBindingGenBaseClassesPlayRelease
> Task :app:processPlayReleaseManifest
> Task :libsignal:parseReleaseLocalResources
> Task :libsignal:compileReleaseLibraryResources
> Task :libsession:generateReleaseBuildConfig
> Task :app:processPlayReleaseManifestForPackage
> Task :libsignal:generateReleaseBuildConfig
> Task :libsignal:javaPreCompileRelease
> Task :libsession:javaPreCompileRelease
> Task :app:writePlayReleaseApplicationId
> Task :app:analyticsRecordingPlayRelease
> Task :libsignal:generateReleaseRFile
> Task :app:buildKotlinToolingMetadata
> Task :libsession:processReleaseJavaRes NO-SOURCE
> Task :libsignal:processReleaseJavaRes NO-SOURCE
> Task :libsession:prepareLintJarForPublish
> Task :libsession:generateReleaseRFile

> Task :libsignal:compileReleaseKotlin
w: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/ExternalStorageUtil.kt: (72, 41): 'getExternalStoragePublicDirectory(String!): File!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/ExternalStorageUtil.kt: (77, 13): Name shadowed: fileName
w: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/Validation.kt: (13, 70): 'toUpperCase(): String' is deprecated. Use uppercase() instead.

> Task :libsignal:compileReleaseJavaWithJavac
Note: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/Util.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :libsignal:prepareLintJarForPublish
> Task :app:mergePlayReleaseJniLibFolders
> Task :libsignal:bundleLibResRelease
> Task :libsession:mergeReleaseJniLibFolders
> Task :libsession:mergeReleaseNativeLibs NO-SOURCE
> Task :libsession:stripReleaseDebugSymbols NO-SOURCE
> Task :libsession:copyReleaseJniLibsProjectOnly
> Task :libsignal:bundleLibRuntimeToJarRelease
> Task :libsignal:bundleLibCompileToJarRelease
> Task :libsignal:mergeReleaseJniLibFolders
> Task :app:processPlayReleaseResources

> Task :libsession:compileReleaseKotlin
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt: (192, 21): Name shadowed: data
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/jobs/JobQueue.kt: (118, 27): This declaration is experimental and its usage should be marked with '@kotlinx.coroutines.ExperimentalCoroutinesApi' or '@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)'
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageReceiveJob.kt: (34, 17): Variable 'isRetry' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (35, 61): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (35, 90): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (37, 50): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (37, 78): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/messages/control/DataExtractionNotification.kt: (26, 35): Enum argument can be null in Java, but exhaustive when contains no null branch
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (189, 13): Elvis operator (?:) always returns the left operand of non-nullable type Pair<ByteArray!, ByteArray!>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (274, 31): Parameter 'room' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (274, 45): Parameter 'server' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (276, 18): Unchecked cast: Map<*, *> to Map<String, Any>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (404, 34): Name shadowed: json
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (478, 42): Unchecked cast: Any? to List<Map<*, *>>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupV2.kt: (30, 54): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupV2.kt: (31, 58): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt: (323, 57): Parameter 'attachments' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt: (329, 36): Name shadowed: linkPreview
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt: (349, 49): Parameter 'attachments' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSenderClosedGroupHandler.kt: (87, 9): Variable 'context' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/attachments/SessionServiceAttachmentPointer.kt: (17, 75): Parameter 'key' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/attachments/SessionServiceAttachmentPointer.kt: (21, 94): Parameter 'url' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/OpenGroupPollerV2.kt: (64, 106): Parameter 'isBackgroundPoll' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt: (22, 9): Non exhaustive 'when' statements on sealed class/interface will be prohibited in 1.7, add 'is OpenGroupInvitation' branch or 'else' branch instead
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt: (48, 21): Name shadowed: storage
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt: (98, 122): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (198, 31): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (400, 59): Unchecked cast: Any? to Map<String, Any>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (402, 48): Unchecked cast: Any to Map<String, Any>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (410, 62): Unchecked cast: Any? to List<String>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/utilities/OKHTTPUtilities.kt: (21, 23): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/utilities/OKHTTPUtilities.kt: (21, 65): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Address.kt: (18, 43): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Address.kt: (74, 83): Parameter 'countryCode' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Address.kt: (160, 26): Parameter 'context' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/DecodedAudio.kt: (362, 1): Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/DecodedAudio.kt: (367, 1): Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (4, 25): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (524, 76): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (524, 83): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (524, 94): 'CAMERA_FACING_BACK: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (596, 73): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1175, 85): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1175, 92): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1175, 103): 'CAMERA_FACING_BACK: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1237, 82): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (111, 20): This class shouldn't be used in Kotlin. Use kotlin.Any instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (355, 26): Type mismatch: inferred type is ByteArray? but Any was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (355, 36): Type mismatch: inferred type is ByteArray? but Any was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (357, 26): Type mismatch: inferred type is ByteArray? but Any was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (357, 46): Type mismatch: inferred type is ByteArray? but Any was expected

> Task :libsession:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :libsession:bundleLibResRelease
> Task :libsignal:mergeReleaseNativeLibs NO-SOURCE
> Task :libsession:bundleLibCompileToJarRelease
> Task :libsession:bundleLibRuntimeToJarRelease
> Task :libsignal:createFullJarRelease
> Task :libsignal:stripReleaseDebugSymbols NO-SOURCE
> Task :libsignal:copyReleaseJniLibsProjectOnly
> Task :app:kaptGenerateStubsPlayReleaseKotlin
> Task :libsession:createFullJarRelease
> Task :app:mergePlayReleaseShaders
> Task :app:compilePlayReleaseShaders NO-SOURCE
> Task :app:generatePlayReleaseAssets UP-TO-DATE
> Task :libsession:mergeReleaseShaders
> Task :libsession:compileReleaseShaders NO-SOURCE
> Task :libsession:generateReleaseAssets UP-TO-DATE
> Task :libsession:packageReleaseAssets
> Task :libsignal:mergeReleaseShaders
> Task :libsignal:compileReleaseShaders NO-SOURCE
> Task :libsignal:generateReleaseAssets UP-TO-DATE
> Task :libsignal:packageReleaseAssets
> Task :app:mergePlayReleaseAssets
> Task :app:compressPlayReleaseAssets
> Task :app:mergePlayReleaseNativeLibs
> Task :app:checkPlayReleaseDuplicateClasses

> Task :app:stripPlayReleaseDebugSymbols
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
Unable to strip the following libraries, packaging them as they are: libjnidispatch.so, libsodium.so, libsqlcipher.so.

> Task :app:extractPlayReleaseNativeSymbolTables
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/armeabi/libsqlcipher.so because unable to locate the objcopy executable for the armeabi ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/armeabi/libjnidispatch.so because unable to locate the objcopy executable for the armeabi ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/armeabi/libsodium.so because unable to locate the objcopy executable for the armeabi ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/mips64/libjnidispatch.so because unable to locate the objcopy executable for the mips64 ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/mips/libjnidispatch.so because unable to locate the objcopy executable for the mips ABI.

> Task :app:desugarPlayReleaseFileDependencies
> Task :app:mergePlayReleaseNativeDebugMetadata

> Task :app:kaptPlayReleaseKotlin
Note: [1] Wrote GeneratedAppGlideModule with: []

> Task :app:mergeExtDexPlayRelease
> Task :app:compilePlayReleaseKotlin
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/attachments/DatabaseAttachmentProvider.kt: (139, 36): The corresponding parameter in the supertype 'MessageDataProvider' is named 'mmsId'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (6, 27): 'PreferenceManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (7, 27): 'PreferenceManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (17, 27): 'PreferenceManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (17, 45): 'getDefaultSharedPreferences(Context!): SharedPreferences!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (20, 13): 'getDefaultSharedPreferencesName(Context!): String!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt: (136, 13): Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt: (181, 13): Name shadowed: count
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt: (114, 58): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt: (269, 17): Name shadowed: length
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (110, 40): 'FLAG_SHOW_WHEN_LOCKED: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (111, 51): 'FLAG_DISMISS_KEYGUARD: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (113, 51): 'FLAG_TURN_SCREEN_ON: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (251, 21): Non exhaustive 'when' statements on enum will be prohibited in 1.7, add 'CALL_PENDING', 'CALL_PRE_INIT', 'CALL_INCOMING', 'CALL_BUSY', 'CALL_DISCONNECTED', 'CALL_RECONNECTING', 'NETWORK_FAILURE', ... branches or 'else' branch instead
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/components/ProfilePictureView.kt: (98, 116): Parameter 'sizeResId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (16, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (448, 17): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (597, 17): Name shadowed: recipient
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (923, 60): Parameter 'position' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1052, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1173, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1473, 34): 'executeOnExecutor(Executor!, vararg SaveAttachmentTask.Attachment!): AsyncTask<SaveAttachmentTask.Attachment!, Void!, Pair<Int, String?>!>!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1473, 52): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1473, 62): 'THREAD_POOL_EXECUTOR: Executor!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationAdapter.kt: (102, 21): Variable 'view' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBarButton.kt: (140, 24): Parameter 'event' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBarEditText.kt: (57, 90): Parameter 'opts' is never used, could be renamed to _
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (11, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (61, 9): Parameter 'threadId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (212, 18): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (212, 18): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (245, 11): 'execute(vararg Void?): AsyncTask<Void?, Void?, IconCompat?>!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (355, 18): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/UntrustedAttachmentView.kt: (39, 121): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageContentView.kt: (134, 17): Variable 'layoutParams' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageContentView.kt: (224, 17): Name shadowed: color
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt: (348, 26): Parameter 'event' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/search/SearchBottomBar.kt: (27, 39): Parameter 'v' is never used, could be renamed to _
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/search/SearchBottomBar.kt: (32, 41): Parameter 'v' is never used, could be renamed to _
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/KThumbnailView.kt: (95, 46): Parameter 'mms' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/KThumbnailView.kt: (187, 21): 'transforms(vararg Transformation<Bitmap!>!): GlideRequest<TranscodeType!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/KThumbnailView.kt: (189, 21): 'transforms(vararg Transformation<Bitmap!>!): GlideRequest<TranscodeType!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/crypto/BiometricSecretProvider.kt: (24, 37): Parameter 'context' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/crypto/BiometricSecretProvider.kt: (38, 14): 'setUserAuthenticationValidityDurationSeconds(Int): KeyGenParameterSpec.Builder' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/LokiAPIDatabase.kt: (282, 13): Variable 'lastHash' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/LokiAPIDatabase.kt: (420, 46): The corresponding parameter in the supertype 'LokiAPIDatabaseProtocol' is named 'newValue'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/LokiMessageDatabase.kt: (154, 17): Variable 'mappingDeleted' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (292, 52): Unnecessary non-null assertion (!!) on a non-null receiver of type MmsDatabase.Reader
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (634, 13): Name shadowed: threadId
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (714, 13): Name shadowed: threadId
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (1208, 17): Variable 'threadDeleted' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (1324, 17): Variable 'addressDeviceId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (1337, 17): Variable 'subscriptionId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt: (75, 43): The corresponding parameter in the supertype 'StorageProtocol' is named 'newProfilePicture'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt: (426, 30): The corresponding parameter in the supertype 'StorageProtocol' is named 'groupID'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (20, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (88, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (126, 91): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (126, 91): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt: (167, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt: (228, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (17, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (80, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (87, 13): Name shadowed: url
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (141, 85): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (141, 85): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (229, 70): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/OpenGroupUtilities.kt: (32, 13): Variable 'info' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt: (358, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt: (240, 13): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt: (247, 13): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt: (249, 17): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/search/GlobalSearchAdapterUtils.kt: (45, 5): Non exhaustive 'when' statements on sealed class/interface will be prohibited in 1.7, add 'is Header', 'is SavedMessages' branches or 'else' branch instead
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/search/GlobalSearchAdapterUtils.kt: (120, 27): Parameter 'model' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/search/GlobalSearchViewModel.kt: (43, 18): This declaration is experimental and its usage should be marked with '@kotlinx.coroutines.ExperimentalCoroutinesApi' or '@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)'
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/jobs/PrepareAttachmentAudioExtrasJob.kt: (13, 46): 'Job' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/jobs/PrepareAttachmentAudioExtrasJob.kt: (32, 41): 'BaseJob' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/jobs/PrepareAttachmentAudioExtrasJob.kt: (125, 21): 'Job' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (59, 9): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (61, 13): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (63, 17): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (66, 21): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (69, 25): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (15, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (68, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (149, 85): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (149, 85): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/RegisterActivity.kt: (99, 17): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (12, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (50, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (69, 69): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (69, 69): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (10, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (133, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (150, 17): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (150, 27): 'execute(Runnable!): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (118, 91): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (119, 37): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (143, 40): Type mismatch: inferred type is String? but String was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (162, 55): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (506, 32): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (536, 37): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (544, 39): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (582, 36): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ActivityUtilities.kt: (46, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ActivityUtilities.kt: (55, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/AvatarPlaceholderGenerator.kt: (37, 75): 'capitalize(Locale): String' is deprecated. Use replaceFirstChar instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ContextProvider.kt: (35, 18): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/IP2Country.kt: (79, 13): Unsafe use of a nullable receiver of type Array<(out) String!>?
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (102, 105): Unnecessary non-null assertion (!!) on a non-null receiver of type String?
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (163, 40): Type mismatch: inferred type is String? but String was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (182, 55): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (208, 82): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (209, 41): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ScanQRCodeWrapperFragment.kt: (34, 15): 'setUserVisibleHint(Boolean): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ScanQRCodeWrapperFragment.kt: (76, 13): Variable 'unused' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SessionMetaProtocol.kt: (36, 36): Parameter 'recipient' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ViewUtilities.kt: (23, 82): Parameter 'animationDuration' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/CallManager.kt: (561, 86): Parameter 'signal' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/NetworkChangeReceiver.kt: (43, 44): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/PeerConnectionWrapper.kt: (72, 41): 'createPeerConnection(PeerConnection.RTCConfiguration!, MediaConstraints!, PeerConnection.Observer!): PeerConnection?' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/audio/IncomingRinger.kt: (31, 23): 'vibrate(LongArray!, Int): Unit' is deprecated. Deprecated in Java

> Task :app:compilePlayReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :app:compilePlayReleaseSources
> Task :app:processPlayReleaseJavaRes NO-SOURCE

> Task :app:hiltAggregateDepsPlayRelease
WARNING: [Processor] Library '/home/vagrant/.gradle/caches/transforms-2/files-2.1/db310c52b86939f2d9a090e6055db07a/jetified-exoplayer-ui-2.9.1-api.jar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/core/app/NotificationCompat$Action'
 Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Token'
WARNING: [Processor] Library '/home/vagrant/.gradle/caches/transforms-2/files-2.1/97bc11de95c530391110bf6c62fc1ded/media-1.0.0-api.jar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/media/R$styleable'
 Example of support library reference: 'android/support/v4/media/MediaBrowserCompat$CallbackHandler'
WARNING: [Processor] Library '/home/vagrant/.gradle/caches/transforms-2/files-2.1/55263d37d1dc0daa44ce1d483e99e41d/core-1.3.2-api.jar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/core/R$styleable'
 Example of support library reference: 'android/support/v4/app/INotificationSideChannel$Default'

> Task :app:collectPlayReleaseDependencies
> Task :app:hiltJavaCompilePlayRelease
> Task :app:lintVitalPlayRelease FAILED
> Task :app:optimizePlayReleaseResources

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalPlayRelease'.
> Could not resolve all artifacts for configuration ':app:playDebugAndroidTestRuntimeClasspath'.
   > Failed to transform checker-3.1.1.jar (org.checkerframework:checker:3.1.1) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for JetifyTransform: /home/vagrant/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker/3.1.1/ae500b8c751519355226aa862ef0a83c6983a8bb/checker-3.1.1.jar.
         > Failed to transform '/home/vagrant/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker/3.1.1/ae500b8c751519355226aa862ef0a83c6983a8bb/checker-3.1.1.jar' using Jetifier. Reason: JDOMException, message: It was not possible to configure a suitable XMLReader to support NONVALIDATING. (Run with --stacktrace for more details.)
           Suggestions:
            - Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
            - If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).

* 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 4m 16s
79 actionable tasks: 79 executed
2022-06-22 02:50:25,284 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/network.loki.messenger.fdroid, universal_newlines=False, shell=None)
2022-06-22 02:50:25,289 ERROR: Could not build app network.loki.messenger.fdroid: Build failed for network.loki.messenger.fdroid:1.13.5@58dfd3b7cd1e9dce70bb2dfbe7afc56fd3d71fcd
==== detail begin ====
Found 6.7.1 via distributionUrl
Running /opt/gradle/versions/6.7.1/bin/gradle assemblePlayRelease
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Task :buildSrc:compileJava
> Task :buildSrc:compileGroovy
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
> Task :buildSrc:pluginUnderTestMetadata
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validatePlugins
> Task :buildSrc:check
> Task :buildSrc:build
WARNING:: The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING:: The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
File /home/vagrant/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 30.0.2 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.2 accepted.
Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)".
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready.
Installing Android SDK Build-Tools 30.0.2 in /opt/android-sdk/build-tools/30.0.2
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete.
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished.
Checking the license for package Android SDK Platform 30 in /opt/android-sdk/licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in /opt/android-sdk/platforms/android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :app:prePlayReleaseBuild UP-TO-DATE
> Task :libsession:preBuild UP-TO-DATE
> Task :libsession:preReleaseBuild UP-TO-DATE
> Task :libsignal:preBuild UP-TO-DATE
> Task :libsignal:preReleaseBuild UP-TO-DATE
> Task :libsignal:compileReleaseAidl NO-SOURCE
> Task :libsession:compileReleaseAidl NO-SOURCE
> Task :app:compilePlayReleaseAidl NO-SOURCE
> Task :libsession:packageReleaseRenderscript NO-SOURCE
> Task :libsignal:packageReleaseRenderscript NO-SOURCE
> Task :app:compilePlayReleaseRenderscript NO-SOURCE
> Task :app:dataBindingMergeDependencyArtifactsPlayRelease
> Task :app:generatePlayReleaseResValues
> Task :app:generatePlayReleaseResources
> Task :app:dataBindingMergeGenClassesPlayRelease
> Task :libsession:compileReleaseRenderscript NO-SOURCE
> Task :libsession:generateReleaseResValues
> Task :libsession:generateReleaseResources
> Task :libsession:packageReleaseResources
> Task :libsignal:compileReleaseRenderscript NO-SOURCE
> Task :libsignal:generateReleaseResValues
> Task :libsignal:generateReleaseResources
> Task :libsignal:packageReleaseResources
> Task :app:dataBindingTriggerPlayRelease
> Task :app:generatePlayReleaseBuildConfig
> Task :libsession:writeReleaseAarMetadata
> Task :libsignal:writeReleaseAarMetadata
> Task :app:checkPlayReleaseAarMetadata
> Task :app:createPlayReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksPlayRelease
> Task :libsession:extractDeepLinksRelease
> Task :libsignal:extractDeepLinksRelease
> Task :libsession:compileReleaseLibraryResources
> Task :libsignal:processReleaseManifest
> Task :libsession:processReleaseManifest
> Task :libsession:parseReleaseLocalResources
> Task :app:mergePlayReleaseResources

> Task :app:processPlayReleaseMainManifest
/home/vagrant/build/network.loki.messenger.fdroid/app/src/main/AndroidManifest.xml:54:5-98 Warning:
	uses-permission#android.permission.CHANGE_NETWORK_STATE was tagged at AndroidManifest.xml:54 to remove other declarations but no other declaration present

> Task :app:dataBindingGenBaseClassesPlayRelease
> Task :app:processPlayReleaseManifest
> Task :libsignal:parseReleaseLocalResources
> Task :libsignal:compileReleaseLibraryResources
> Task :libsession:generateReleaseBuildConfig
> Task :app:processPlayReleaseManifestForPackage
> Task :libsignal:generateReleaseBuildConfig
> Task :libsignal:javaPreCompileRelease
> Task :libsession:javaPreCompileRelease
> Task :app:writePlayReleaseApplicationId
> Task :app:analyticsRecordingPlayRelease
> Task :libsignal:generateReleaseRFile
> Task :app:buildKotlinToolingMetadata
> Task :libsession:processReleaseJavaRes NO-SOURCE
> Task :libsignal:processReleaseJavaRes NO-SOURCE
> Task :libsession:prepareLintJarForPublish
> Task :libsession:generateReleaseRFile

> Task :libsignal:compileReleaseKotlin
w: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/ExternalStorageUtil.kt: (72, 41): 'getExternalStoragePublicDirectory(String!): File!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/ExternalStorageUtil.kt: (77, 13): Name shadowed: fileName
w: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/Validation.kt: (13, 70): 'toUpperCase(): String' is deprecated. Use uppercase() instead.

> Task :libsignal:compileReleaseJavaWithJavac
Note: /home/vagrant/build/network.loki.messenger.fdroid/libsignal/src/main/java/org/session/libsignal/utilities/Util.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :libsignal:prepareLintJarForPublish
> Task :app:mergePlayReleaseJniLibFolders
> Task :libsignal:bundleLibResRelease
> Task :libsession:mergeReleaseJniLibFolders
> Task :libsession:mergeReleaseNativeLibs NO-SOURCE
> Task :libsession:stripReleaseDebugSymbols NO-SOURCE
> Task :libsession:copyReleaseJniLibsProjectOnly
> Task :libsignal:bundleLibRuntimeToJarRelease
> Task :libsignal:bundleLibCompileToJarRelease
> Task :libsignal:mergeReleaseJniLibFolders
> Task :app:processPlayReleaseResources

> Task :libsession:compileReleaseKotlin
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt: (192, 21): Name shadowed: data
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/jobs/JobQueue.kt: (118, 27): This declaration is experimental and its usage should be marked with '@kotlinx.coroutines.ExperimentalCoroutinesApi' or '@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)'
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageReceiveJob.kt: (34, 17): Variable 'isRetry' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (35, 61): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (35, 90): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (37, 50): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt: (37, 78): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/messages/control/DataExtractionNotification.kt: (26, 35): Enum argument can be null in Java, but exhaustive when contains no null branch
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (189, 13): Elvis operator (?:) always returns the left operand of non-nullable type Pair<ByteArray!, ByteArray!>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (274, 31): Parameter 'room' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (274, 45): Parameter 'server' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (276, 18): Unchecked cast: Map<*, *> to Map<String, Any>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (404, 34): Name shadowed: json
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt: (478, 42): Unchecked cast: Any? to List<Map<*, *>>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupV2.kt: (30, 54): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupV2.kt: (31, 58): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt: (323, 57): Parameter 'attachments' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt: (329, 36): Name shadowed: linkPreview
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt: (349, 49): Parameter 'attachments' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSenderClosedGroupHandler.kt: (87, 9): Variable 'context' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/attachments/SessionServiceAttachmentPointer.kt: (17, 75): Parameter 'key' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/attachments/SessionServiceAttachmentPointer.kt: (21, 94): Parameter 'url' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/OpenGroupPollerV2.kt: (64, 106): Parameter 'isBackgroundPoll' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt: (22, 9): Non exhaustive 'when' statements on sealed class/interface will be prohibited in 1.7, add 'is OpenGroupInvitation' branch or 'else' branch instead
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt: (48, 21): Name shadowed: storage
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt: (98, 122): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (198, 31): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (400, 59): Unchecked cast: Any? to Map<String, Any>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (402, 48): Unchecked cast: Any to Map<String, Any>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt: (410, 62): Unchecked cast: Any? to List<String>
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/utilities/OKHTTPUtilities.kt: (21, 23): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/snode/utilities/OKHTTPUtilities.kt: (21, 65): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Address.kt: (18, 43): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Address.kt: (74, 83): Parameter 'countryCode' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Address.kt: (160, 26): Parameter 'context' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/DecodedAudio.kt: (362, 1): Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/DecodedAudio.kt: (367, 1): Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (4, 25): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (524, 76): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (524, 83): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (524, 94): 'CAMERA_FACING_BACK: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (596, 73): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1175, 85): 'Camera' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1175, 92): 'CameraInfo' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1175, 103): 'CAMERA_FACING_BACK: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt: (1237, 82): 'toLowerCase(): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (111, 20): This class shouldn't be used in Kotlin. Use kotlin.Any instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (355, 26): Type mismatch: inferred type is ByteArray? but Any was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (355, 36): Type mismatch: inferred type is ByteArray? but Any was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (357, 26): Type mismatch: inferred type is ByteArray? but Any was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/libsession/src/main/java/org/session/libsession/utilities/Util.kt: (357, 46): Type mismatch: inferred type is ByteArray? but Any was expected

> Task :libsession:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :libsession:bundleLibResRelease
> Task :libsignal:mergeReleaseNativeLibs NO-SOURCE
> Task :libsession:bundleLibCompileToJarRelease
> Task :libsession:bundleLibRuntimeToJarRelease
> Task :libsignal:createFullJarRelease
> Task :libsignal:stripReleaseDebugSymbols NO-SOURCE
> Task :libsignal:copyReleaseJniLibsProjectOnly
> Task :app:kaptGenerateStubsPlayReleaseKotlin
> Task :libsession:createFullJarRelease
> Task :app:mergePlayReleaseShaders
> Task :app:compilePlayReleaseShaders NO-SOURCE
> Task :app:generatePlayReleaseAssets UP-TO-DATE
> Task :libsession:mergeReleaseShaders
> Task :libsession:compileReleaseShaders NO-SOURCE
> Task :libsession:generateReleaseAssets UP-TO-DATE
> Task :libsession:packageReleaseAssets
> Task :libsignal:mergeReleaseShaders
> Task :libsignal:compileReleaseShaders NO-SOURCE
> Task :libsignal:generateReleaseAssets UP-TO-DATE
> Task :libsignal:packageReleaseAssets
> Task :app:mergePlayReleaseAssets
> Task :app:compressPlayReleaseAssets
> Task :app:mergePlayReleaseNativeLibs
> Task :app:checkPlayReleaseDuplicateClasses

> Task :app:stripPlayReleaseDebugSymbols
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
Unable to strip the following libraries, packaging them as they are: libjnidispatch.so, libsodium.so, libsqlcipher.so.

> Task :app:extractPlayReleaseNativeSymbolTables
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/armeabi/libsqlcipher.so because unable to locate the objcopy executable for the armeabi ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/armeabi/libjnidispatch.so because unable to locate the objcopy executable for the armeabi ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/armeabi/libsodium.so because unable to locate the objcopy executable for the armeabi ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/mips64/libjnidispatch.so because unable to locate the objcopy executable for the mips64 ABI.
Unable to extract native debug metadata from /home/vagrant/build/network.loki.messenger.fdroid/app/build/intermediates/merged_native_libs/playRelease/out/lib/mips/libjnidispatch.so because unable to locate the objcopy executable for the mips ABI.

> Task :app:desugarPlayReleaseFileDependencies
> Task :app:mergePlayReleaseNativeDebugMetadata

> Task :app:kaptPlayReleaseKotlin
Note: [1] Wrote GeneratedAppGlideModule with: []

> Task :app:mergeExtDexPlayRelease
> Task :app:compilePlayReleaseKotlin
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/attachments/DatabaseAttachmentProvider.kt: (139, 36): The corresponding parameter in the supertype 'MessageDataProvider' is named 'mmsId'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (6, 27): 'PreferenceManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (7, 27): 'PreferenceManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (17, 27): 'PreferenceManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (17, 45): 'getDefaultSharedPreferences(Context!): SharedPreferences!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/BackupPreferences.kt: (20, 13): 'getDefaultSharedPreferencesName(Context!): String!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt: (136, 13): Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt: (181, 13): Name shadowed: count
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt: (114, 58): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt: (269, 17): Name shadowed: length
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (110, 40): 'FLAG_SHOW_WHEN_LOCKED: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (111, 51): 'FLAG_DISMISS_KEYGUARD: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (113, 51): 'FLAG_TURN_SCREEN_ON: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt: (251, 21): Non exhaustive 'when' statements on enum will be prohibited in 1.7, add 'CALL_PENDING', 'CALL_PRE_INIT', 'CALL_INCOMING', 'CALL_BUSY', 'CALL_DISCONNECTED', 'CALL_RECONNECTING', 'NETWORK_FAILURE', ... branches or 'else' branch instead
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/components/ProfilePictureView.kt: (98, 116): Parameter 'sizeResId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (16, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (448, 17): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (597, 17): Name shadowed: recipient
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (923, 60): Parameter 'position' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1052, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1173, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1473, 34): 'executeOnExecutor(Executor!, vararg SaveAttachmentTask.Attachment!): AsyncTask<SaveAttachmentTask.Attachment!, Void!, Pair<Int, String?>!>!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1473, 52): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt: (1473, 62): 'THREAD_POOL_EXECUTOR: Executor!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationAdapter.kt: (102, 21): Variable 'view' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBarButton.kt: (140, 24): Parameter 'event' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBarEditText.kt: (57, 90): Parameter 'opts' is never used, could be renamed to _
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (11, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (61, 9): Parameter 'threadId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (212, 18): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (212, 18): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (245, 11): 'execute(vararg Void?): AsyncTask<Void?, Void?, IconCompat?>!' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt: (355, 18): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/UntrustedAttachmentView.kt: (39, 121): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageContentView.kt: (134, 17): Variable 'layoutParams' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageContentView.kt: (224, 17): Name shadowed: color
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt: (348, 26): Parameter 'event' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/search/SearchBottomBar.kt: (27, 39): Parameter 'v' is never used, could be renamed to _
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/search/SearchBottomBar.kt: (32, 41): Parameter 'v' is never used, could be renamed to _
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/KThumbnailView.kt: (95, 46): Parameter 'mms' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/KThumbnailView.kt: (187, 21): 'transforms(vararg Transformation<Bitmap!>!): GlideRequest<TranscodeType!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/KThumbnailView.kt: (189, 21): 'transforms(vararg Transformation<Bitmap!>!): GlideRequest<TranscodeType!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/crypto/BiometricSecretProvider.kt: (24, 37): Parameter 'context' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/crypto/BiometricSecretProvider.kt: (38, 14): 'setUserAuthenticationValidityDurationSeconds(Int): KeyGenParameterSpec.Builder' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/LokiAPIDatabase.kt: (282, 13): Variable 'lastHash' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/LokiAPIDatabase.kt: (420, 46): The corresponding parameter in the supertype 'LokiAPIDatabaseProtocol' is named 'newValue'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/LokiMessageDatabase.kt: (154, 17): Variable 'mappingDeleted' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (292, 52): Unnecessary non-null assertion (!!) on a non-null receiver of type MmsDatabase.Reader
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (634, 13): Name shadowed: threadId
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (714, 13): Name shadowed: threadId
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (1208, 17): Variable 'threadDeleted' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (1324, 17): Variable 'addressDeviceId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt: (1337, 17): Variable 'subscriptionId' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt: (75, 43): The corresponding parameter in the supertype 'StorageProtocol' is named 'newProfilePicture'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt: (426, 30): The corresponding parameter in the supertype 'StorageProtocol' is named 'groupID'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (20, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (88, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (126, 91): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/dms/CreatePrivateChatActivity.kt: (126, 91): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt: (167, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt: (228, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (17, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (80, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (87, 13): Name shadowed: url
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (141, 85): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (141, 85): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/JoinPublicChatActivity.kt: (229, 70): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/groups/OpenGroupUtilities.kt: (32, 13): Variable 'info' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt: (358, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt: (240, 13): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt: (247, 13): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt: (249, 17): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/search/GlobalSearchAdapterUtils.kt: (45, 5): Non exhaustive 'when' statements on sealed class/interface will be prohibited in 1.7, add 'is Header', 'is SavedMessages' branches or 'else' branch instead
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/search/GlobalSearchAdapterUtils.kt: (120, 27): Parameter 'model' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/home/search/GlobalSearchViewModel.kt: (43, 18): This declaration is experimental and its usage should be marked with '@kotlinx.coroutines.ExperimentalCoroutinesApi' or '@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)'
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/jobs/PrepareAttachmentAudioExtrasJob.kt: (13, 46): 'Job' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/jobs/PrepareAttachmentAudioExtrasJob.kt: (32, 41): 'BaseJob' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/jobs/PrepareAttachmentAudioExtrasJob.kt: (125, 21): 'Job' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (59, 9): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (61, 13): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (63, 17): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (66, 21): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/FakeChatView.kt: (69, 25): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (15, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (68, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (149, 85): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/LinkDeviceActivity.kt: (149, 85): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/onboarding/RegisterActivity.kt: (99, 17): 'constructor Handler()' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (12, 30): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (50, 38): The corresponding parameter in the supertype 'ScanQRCodeWrapperFragmentDelegate' is named 'string'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (69, 69): 'constructor FragmentPagerAdapter(FragmentManager)' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/QRCodeActivity.kt: (69, 69): 'FragmentPagerAdapter' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (10, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (133, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (150, 17): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt: (150, 27): 'execute(Runnable!): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (118, 91): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (119, 37): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (143, 40): Type mismatch: inferred type is String? but String was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/preferences/ShareLogsDialog.kt: (162, 55): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (506, 32): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (536, 37): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (544, 39): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.kt: (582, 36): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ActivityUtilities.kt: (46, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ActivityUtilities.kt: (55, 9): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/AvatarPlaceholderGenerator.kt: (37, 75): 'capitalize(Locale): String' is deprecated. Use replaceFirstChar instead.
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ContextProvider.kt: (35, 18): 'startActivityForResult(Intent!, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/IP2Country.kt: (79, 13): Unsafe use of a nullable receiver of type Array<(out) String!>?
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (102, 105): Unnecessary non-null assertion (!!) on a non-null receiver of type String?
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (163, 40): Type mismatch: inferred type is String? but String was expected
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (182, 55): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (208, 82): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SaveAttachmentTask.kt: (209, 41): 'DATA: String' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ScanQRCodeWrapperFragment.kt: (34, 15): 'setUserVisibleHint(Boolean): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ScanQRCodeWrapperFragment.kt: (76, 13): Variable 'unused' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/SessionMetaProtocol.kt: (36, 36): Parameter 'recipient' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/util/ViewUtilities.kt: (23, 82): Parameter 'animationDuration' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/CallManager.kt: (561, 86): Parameter 'signal' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/NetworkChangeReceiver.kt: (43, 44): Parameter 'intent' is never used
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/PeerConnectionWrapper.kt: (72, 41): 'createPeerConnection(PeerConnection.RTCConfiguration!, MediaConstraints!, PeerConnection.Observer!): PeerConnection?' is deprecated. Deprecated in Java
w: /home/vagrant/build/network.loki.messenger.fdroid/app/src/main/java/org/thoughtcrime/securesms/webrtc/audio/IncomingRinger.kt: (31, 23): 'vibrate(LongArray!, Int): Unit' is deprecated. Deprecated in Java

> Task :app:compilePlayReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :app:compilePlayReleaseSources
> Task :app:processPlayReleaseJavaRes NO-SOURCE

> Task :app:hiltAggregateDepsPlayRelease
WARNING: [Processor] Library '/home/vagrant/.gradle/caches/transforms-2/files-2.1/db310c52b86939f2d9a090e6055db07a/jetified-exoplayer-ui-2.9.1-api.jar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/core/app/NotificationCompat$Action'
 Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Token'
WARNING: [Processor] Library '/home/vagrant/.gradle/caches/transforms-2/files-2.1/97bc11de95c530391110bf6c62fc1ded/media-1.0.0-api.jar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/media/R$styleable'
 Example of support library reference: 'android/support/v4/media/MediaBrowserCompat$CallbackHandler'
WARNING: [Processor] Library '/home/vagrant/.gradle/caches/transforms-2/files-2.1/55263d37d1dc0daa44ce1d483e99e41d/core-1.3.2-api.jar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/core/R$styleable'
 Example of support library reference: 'android/support/v4/app/INotificationSideChannel$Default'

> Task :app:collectPlayReleaseDependencies
> Task :app:hiltJavaCompilePlayRelease
> Task :app:lintVitalPlayRelease FAILED
> Task :app:optimizePlayReleaseResources

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalPlayRelease'.
> Could not resolve all artifacts for configuration ':app:playDebugAndroidTestRuntimeClasspath'.
   > Failed to transform checker-3.1.1.jar (org.checkerframework:checker:3.1.1) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for JetifyTransform: /home/vagrant/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker/3.1.1/ae500b8c751519355226aa862ef0a83c6983a8bb/checker-3.1.1.jar.
         > Failed to transform '/home/vagrant/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker/3.1.1/ae500b8c751519355226aa862ef0a83c6983a8bb/checker-3.1.1.jar' using Jetifier. Reason: JDOMException, message: It was not possible to configure a suitable XMLReader to support NONVALIDATING. (Run with --stacktrace for more details.)
           Suggestions:
            - Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
            - If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).

* 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 4m 16s
79 actionable tasks: 79 executed
==== detail end ====
2022-06-22 02:50:25,290 DEBUG: Error encoutered, stopping by user request.
==== detail end ====