log for im.fdx.v2ex:60
== Installed Android Tools ==
2023-03-22 22:16:16,471 DEBUG: Reading 'config.yml'
2023-03-22 22:16:16,498 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2023-03-22 22:16:16,499 INFO: Creating log directory
2023-03-22 22:16:16,499 INFO: Creating temporary directory
2023-03-22 22:16:16,499 INFO: Creating output directory
2023-03-22 22:16:16,520 DEBUG: Getting git vcs interface for https://github.com/fan123199/v2ex-simple
2023-03-22 22:16:16,520 DEBUG: Checking im.fdx.v2ex:60
2023-03-22 22:16:16,520 INFO: Building version 2.8.9 (60) of im.fdx.v2ex
2023-03-22 22:16:16,521 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2023-03-22 22:16:17,036 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 36772 files and directories currently installed.)
Removing sudo (1.9.5p2-3+deb11u1) ...
Purging configuration files for sudo (1.9.5p2-3+deb11u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
2023-03-22 22:16:29,549 INFO: Getting source for revision 7ea7714ea2625a18e0195d58af04543fc81921e9
2023-03-22 22:16:29,550 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:29,550 DEBUG: > git rev-parse --show-toplevel
2023-03-22 22:16:29,763 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:29,764 DEBUG: > git submodule foreach --recursive git reset --hard
2023-03-22 22:16:29,975 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:29,976 DEBUG: > git reset --hard
2023-03-22 22:16:30,287 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:30,288 DEBUG: > git submodule foreach --recursive git clean -dffx
2023-03-22 22:16:30,398 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:30,399 DEBUG: > git clean -dffx
2023-03-22 22:16:30,510 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:30,510 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch origin
2023-03-22 22:16:31,224 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:31,225 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org remote prune origin
2023-03-22 22:16:31,737 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:31,738 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --tags --force origin
2023-03-22 22:16:32,351 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:32,351 DEBUG: > git remote set-head origin --auto
2023-03-22 22:16:34,469 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:34,470 DEBUG: > git checkout -f 7ea7714ea2625a18e0195d58af04543fc81921e9
2023-03-22 22:16:36,386 DEBUG: Directory: build/im.fdx.v2ex
2023-03-22 22:16:36,387 DEBUG: > git clean -dffx
2023-03-22 22:16:36,498 INFO: Creating local.properties file at build/im.fdx.v2ex/local.properties
2023-03-22 22:16:36,500 INFO: Creating local.properties file at build/im.fdx.v2ex/app/local.properties
2023-03-22 22:16:36,504 DEBUG: Removing debuggable flags from build/im.fdx.v2ex/app
2023-03-22 22:16:36,517 INFO: Cleaned build.gradle.kts of keysigning configs at build/im.fdx.v2ex/app/build.gradle.kts
2023-03-22 22:16:36,538 INFO: Running 'prebuild' commands in build/im.fdx.v2ex/app
2023-03-22 22:16:36,539 DEBUG: Directory: build/im.fdx.v2ex/app
2023-03-22 22:16:36,539 DEBUG: > bash -e -u -o pipefail -x -c -- sed -i -e '/aliyun/d' -e '/fabric/d' -e '/firebase/d' -e '/googlePlay/d' ../build.gradle.kts build.gradle.kts; sed -i -e '/repositories {/a mavenCentral()' -e '/repositories {/a jcenter()' ../build.gradle.kts; sed -i -e '/systemProp/d' ../gradle.properties; google_sign_in_url=$(sed -n -E 's/^.*<value>(.*)<\/value>.*$/\1/p' src/main/res/xml/remote_config_defaults.xml); cd src/main/java/im/fdx/v2ex; sed -i -e '/firebase/Id' network/HttpHelper.kt ui/topic/TopicFragment.kt ui/main/MainActivity.kt; sed -i -e '/addOnCompleteListener/,+2d' -e "s|Firebase.*google_sign_in_url\")|\"$google_sign_in_url\"|" -e '/startActivityForResult/,+1s/}//' -e '/firebase/d' ui/LoginActivity.kt
/etc/bash.bashrc: line 7: PS1: unbound variable
+ sed -i -e /aliyun/d -e /fabric/d -e /firebase/d -e /googlePlay/d ../build.gradle.kts build.gradle.kts
+ sed -i -e '/repositories {/a mavenCentral()' -e '/repositories {/a jcenter()' ../build.gradle.kts
+ sed -i -e /systemProp/d ../gradle.properties
++ sed -n -E 's/^.*<value>(.*)<\/value>.*$/\1/p' src/main/res/xml/remote_config_defaults.xml
+ google_sign_in_url=https://www.v2ex.com/signin
+ cd src/main/java/im/fdx/v2ex
+ sed -i -e /firebase/Id network/HttpHelper.kt ui/topic/TopicFragment.kt ui/main/MainActivity.kt
+ sed -i -e /addOnCompleteListener/,+2d -e 's|Firebase.*google_sign_in_url")|"https://www.v2ex.com/signin"|' -e '/startActivityForResult/,+1s/}//' -e /firebase/d ui/LoginActivity.kt
2023-03-22 22:16:36,750 INFO: Cleaning Gradle project...
2023-03-22 22:16:36,751 DEBUG: Directory: build/im.fdx.v2ex/app
2023-03-22 22:16:36,751 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 7.5 via distributionUrl
Running /opt/gradle/versions/7.5/bin/gradle clean
Welcome to Gradle 7.5!
Here are the highlights of this release:
- Support for Java 18
- Support for building with Groovy 4
- Much more responsive continuous builds
- Improved diagnostics for dependency resolution
For more details see https://docs.gradle.org/7.5/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Task :app:clean UP-TO-DATE
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 2m 7s
1 actionable task: 1 up-to-date
2023-03-22 22:18:45,098 INFO: Scanning source for common problems...
2023-03-22 22:18:45,117 DEBUG: scanner is configured to use signature data from: 'suss'
2023-03-22 22:18:45,186 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2023-03-22 22:18:45,190 INFO: Creating source tarball...
2023-03-22 22:18:45,600 INFO: Building Gradle project...
2023-03-22 22:18:45,600 DEBUG: Directory: build/im.fdx.v2ex/app
2023-03-22 22:18:45,600 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 7.5 via distributionUrl
Running /opt/gradle/versions/7.5/bin/gradle assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseNativeLibs NO-SOURCE
> Task :app:stripReleaseDebugSymbols NO-SOURCE
> Task :app:extractReleaseNativeSymbolTables NO-SOURCE
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:buildKotlinToolingMetadata
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:checkReleaseDuplicateClasses
> Task :app:dataBindingMergeDependencyArtifactsRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:processReleaseGoogleServices
> Task :app:generateReleaseBuildConfig
> Task :app:mapReleaseSourceSetPaths
> Task :app:checkReleaseAarMetadata
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:mergeReleaseResources
> Task :app:processReleaseMainManifest
package="im.fdx.v2ex" found in source AndroidManifest.xml: /home/vagrant/build/im.fdx.v2ex/app/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
> Task :app:dataBindingGenBaseClassesRelease
> Task :app:processReleaseManifest
> Task :app:extractProguardFiles
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:mergeReleaseShaders
> Task :app:javaPreCompileRelease
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:compressReleaseAssets
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:mergeReleaseArtProfile
> Task :app:writeReleaseSigningConfigVersions
> Task :app:processReleaseManifestForPackage
> Task :app:processReleaseResources
> Task :app:optimizeReleaseResources
> Task :app:kaptGenerateStubsReleaseKotlin
> Task :app:kaptReleaseKotlin
Values of variant API AnnotationProcessorOptions.arguments are queried and may return non final values, this is unsupported
Note: [1] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule]
> Task :app:compileReleaseKotlin
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (42, 66): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (44, 74): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (55, 72): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (56, 71): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (64, 79): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (90, 68): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (100, 78): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (260, 71): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/network/Parser.kt: (405, 69): Unnecessary safe call on a non-null receiver of type Elements!
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/BaseActivity.kt: (54, 21): 'updateConfiguration(Configuration!, DisplayMetrics!): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (59, 13): Variable 'toolbar' is never used
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (95, 21): 'startActivityForResult(Intent, Int): Unit' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (111, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (130, 49): The corresponding parameter in the supertype 'Callback' is named 'response'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (132, 40): Type mismatch: inferred type is String? but String was expected
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (205, 65): The corresponding parameter in the supertype 'Callback' is named 'response'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/LoginActivity.kt: (310, 49): Unnecessary safe call on a non-null receiver of type Response
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/SettingsActivity.kt: (75, 11): Variable 'listPreference' is never used
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/SettingsActivity.kt: (165, 25): 'getInstance(): WorkManager' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/WebViewActivity.kt: (6, 20): 'ProgressDialog' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/MainActivity.kt: (137, 33): Variable 'myLocale' initializer is redundant
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/NewTopicActivity.kt: (215, 44): The corresponding parameter in the supertype 'Callback' is named 'call'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/NewTopicActivity.kt: (221, 45): The corresponding parameter in the supertype 'Callback' is named 'call'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/NewTopicActivity.kt: (221, 58): The corresponding parameter in the supertype 'Callback' is named 'response'. This may cause problems when calling this function with named arguments.
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/TopicsFragment.kt: (168, 50): 'getParcelableArrayList(String?): ArrayList<T!>?' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/TopicsFragment.kt: (173, 63): Elvis operator (?:) always returns the left operand of non-nullable type Int
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/main/TopicsFragment.kt: (206, 84): Unnecessary safe call on a non-null receiver of type ViewPropertyAnimator
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/member/MemberActivity.kt: (252, 40): 'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicActivity.kt: (48, 29): 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicActivity.kt: (50, 23): 'getParcelableArrayListExtra(String!): ArrayList<T!>?' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicAdapter.kt: (219, 40): Parameter 'itemVH' is never used
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicAdapter.kt: (426, 39): Parameter 'index' is never used, could be renamed to _
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicAdapter.kt: (435, 39): Parameter 'index' is never used, could be renamed to _
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (83, 56): 'getParcelableArrayListExtra(String!): ArrayList<T!>?' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (116, 32): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (259, 41): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (335, 25): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (420, 29): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (447, 29): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (489, 13): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (526, 25): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (531, 25): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (568, 25): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/ui/topic/TopicFragment.kt: (572, 25): 'toast(CharSequence): Toast?' is deprecated. sdk 31 problem
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/ImageUtil.kt: (14, 42): 'SimpleTarget<Z : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/ImageUtil.kt: (48, 32): 'SimpleTarget<Z : Any!>' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/ImageUtil.kt: (57, 44): Variable 'outStream' initializer is redundant
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (76, 44): 'onBackPressed(): Unit' is deprecated. Overrides deprecated member in 'androidx.core.app.ComponentActivity'. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (85, 43): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (86, 32): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (87, 31): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (97, 38): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (98, 31): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (99, 26): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (109, 43): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (110, 32): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/utils/extensions/ViewExt.kt: (111, 31): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/view/PageNumberView.kt: (86, 54): Parameter 'event' is never used, could be renamed to _
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/view/PageNumberView.kt: (157, 51): Parameter 's' is never used, could be renamed to _
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/view/PageNumberView.kt: (164, 51): Parameter 's' is never used, could be renamed to _
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/view/PageNumberView.kt: (171, 51): Parameter 's' is never used, could be renamed to _
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/view/PageNumberView.kt: (180, 62): Unnecessary non-null assertion (!!) on a non-null receiver of type Context
w: /home/vagrant/build/im.fdx.v2ex/app/src/main/java/im/fdx/v2ex/view/PageNumberView.kt: (182, 62): Unnecessary non-null assertion (!!) on a non-null receiver of type Context
> Task :app:compileReleaseJavaWithJavac
> Task :app:mergeReleaseGeneratedProguardFiles
> Task :app:mergeReleaseJavaResource
> Task :app:minifyReleaseWithR8
WARNING:Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /home/vagrant/build/im.fdx.v2ex/app/build/outputs/mapping/release/missing_rules.txt.
WARNING:R8: Missing class org.bouncycastle.jsse.BCSSLParameters (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.bouncycastle.jsse.BCSSLSocket (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 5 other contexts)
Missing class org.bouncycastle.jsse.provider.BouncyCastleJsseProvider (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.<init>())
Missing class org.conscrypt.Conscrypt$Version (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int))
Missing class org.conscrypt.Conscrypt (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int) and 4 other contexts)
Missing class org.conscrypt.ConscryptHostnameVerifier (referenced from: okhttp3.internal.platform.ConscryptPlatform$DisabledHostnameVerifier)
Missing class org.openjsse.javax.net.ssl.SSLParameters (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List))
Missing class org.openjsse.javax.net.ssl.SSLSocket (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.openjsse.net.ssl.OpenJSSE (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.<init>())
> Task :app:compileReleaseArtProfile
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:assembleRelease
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 3m 43s
38 actionable tasks: 38 executed
2023-03-22 22:22:29,897 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/im.fdx.v2ex, universal_newlines=False, shell=None, istream=<valid stream>)
2023-03-22 22:22:29,912 INFO: Successfully built version 2.8.9 of im.fdx.v2ex from 7ea7714ea2625a18e0195d58af04543fc81921e9
2023-03-22 22:22:30,219 DEBUG: AXML contains a RESOURCE MAP
2023-03-22 22:22:30,219 DEBUG: Start of Namespace mapping: prefix 39: 'android' --> uri 102: 'http://schemas.android.com/apk/res/android'
2023-03-22 22:22:30,221 DEBUG: Checking build/im.fdx.v2ex/app/build/outputs/apk/release/app-release-unsigned.apk
2023-03-22 22:22:30,240 DEBUG: AXML contains a RESOURCE MAP
2023-03-22 22:22:30,240 DEBUG: Start of Namespace mapping: prefix 39: 'android' --> uri 102: 'http://schemas.android.com/apk/res/android'
2023-03-22 22:22:30,266 INFO: success: im.fdx.v2ex
2023-03-22 22:22:30,266 INFO: Finished
2023-03-22 22:22:30,267 INFO: 1 build succeeded