rafsanjani / superdiary

Kotlin/Compose Multiplatform Diary App with shared UI (Android, iOS, Desktop, Web)
MIT License
50 stars 2 forks source link

An error occurred while executing task 'uploadSentryNativeSymbolsForDebug'. Please check the detailed sentry-cli output above. #479

Closed aohanhongzhi closed 4 months ago

aohanhongzhi commented 4 months ago
Executing tasks: [:androidApp:app:assembleDebug] in project /home/eric/Project/Android/superdiary

Gradle 8.8 DependencyResolutionManagement Configured settings 'superdiary'
[Groovy]Repository[file:/home/eric/.m2/repository/] not config proxy.
[Groovy]Repository[https://repo.maven.apache.org/maven2/] not config proxy.
[Groovy]Repository[https://dl.google.com/dl/android/maven2/] not config proxy.
[Groovy]Repository[https://plugins.gradle.org/m2] not config proxy.
[Groovy]Repository[https://maven.pkg.jetbrains.space/public/p/compose/dev] not config proxy.
[Groovy]Repository[https://oss.sonatype.org/content/repositories/snapshots] not config proxy.
[Groovy]Repository[https://jitpack.io] not config proxy.
[Groovy]Repository[file:/home/eric/.m2/repository/] not config proxy.
[Groovy]Repository[https://repo.maven.apache.org/maven2/] not config proxy.
[Groovy]Repository[https://dl.google.com/dl/android/maven2/] not config proxy.
[Groovy]Repository[https://jitpack.io] not config proxy.
[Groovy]Repository[https://maven.pkg.jetbrains.space/public/p/compose/dev] not config proxy.
[Groovy]Repository[https://oss.sonatype.org/content/repositories/snapshots] not config proxy.
Gradle 8.8 DependencyResolutionManagement Configured settings 'build-logic'
[Groovy]Repository[https://dl.google.com/dl/android/maven2/] not config proxy.
[Groovy]Repository[https://repo.maven.apache.org/maven2/] not config proxy.
[Groovy]Repository[https://plugins.gradle.org/m2] not config proxy.
[Groovy]Repository[file:/home/eric/.m2/repository/] not config proxy.
Type-safe project accessors is an incubating feature.

> Configure project :build-logic:convention
[Groovy]Repository[https://plugins.gradle.org/m2] not config proxy.

> Task :build-logic:convention:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:convention:compileKotlin UP-TO-DATE
> Task :build-logic:convention:compileJava NO-SOURCE
> Task :build-logic:convention:pluginDescriptors UP-TO-DATE
> Task :build-logic:convention:processResources UP-TO-DATE
> Task :build-logic:convention:classes UP-TO-DATE
> Task :build-logic:convention:jar UP-TO-DATE

> Configure project :shared-data
WARN: OpenAI key not provided!

> Configure project :androidApp:app
Sentry base url hasn't been set. Please add SENTRY_BASE_URL_RELEASE to your environment variables
Sentry base url hasn't been set. Please add SENTRY_BASE_URL_DEBUG to your environment variables
Sentry token hasn't been set. Please add SENTRY_AUTH_TOKEN to your environment variables

> Configure project :androidApp:benchmark
This version of the Baseline Profile Gradle Plugin was tested at most with the Android
Gradle Plugin version Android Gradle Plugin version 8.3.0 and it may not work as intended.
Current version is Android Gradle Plugin version 8.5.0.

> Task :androidApp:app:preBuild UP-TO-DATE
> Task :androidApp:app:preDebugBuild UP-TO-DATE
> Task :androidApp:app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :shared-data:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :shared-data:generateBuildKonfig
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/compiler-env/2.0.2/compiler-env-2.0.2.pom, took 640 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/compiler-env/2.0.2/compiler-env-2.0.2.module, took 166 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/compiler-env/2.0.2/compiler-env-2.0.2.jar (29.89 MB / 48.27 MB)> Task :shared-data:generateCommonMainSuperDiaryDatabaseInterface
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/compiler-env/2.0.2/compiler-env-2.0.2.jar, took 49 s 739 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/migration-env/2.0.2/migration-env-2.0.2.pom, took 841 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/migration-env/2.0.2/migration-env-2.0.2.module, took 141 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/migration-env/2.0.2/migration-env-2.0.2.jar, took 21 s 758 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/sqlite-3-18-dialect/2.0.2/sqlite-3-18-dialect-2.0.2.pom, took 650 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/sqlite-3-18-dialect/2.0.2/sqlite-3-18-dialect-2.0.2.module, took 135 ms
Download https://repo.maven.apache.org/maven2/app/cash/sqldelight/sqlite-3-18-dialect/2.0.2/sqlite-3-18-dialect-2.0.2.jar, took 380 ms
> Task :shared-data:preBuild UP-TO-DATE
> Task :shared-data:preDebugBuild UP-TO-DATE
> Task :shared-data:generateDebugResValues
> Task :shared-data:generateDebugResources
> Task :shared-data:packageDebugResources
> Task :core:analytics:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :core:analytics:preBuild UP-TO-DATE
> Task :core:analytics:preDebugBuild UP-TO-DATE
> Task :core:analytics:generateDebugResValues
> Task :core:analytics:generateDebugResources
> Task :core:analytics:packageDebugResources
> Task :core:logging:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :core:logging:preBuild UP-TO-DATE
> Task :core:logging:preDebugBuild UP-TO-DATE
> Task :core:logging:generateDebugResValues
> Task :core:analytics:javaPreCompileDebug
> Task :core:logging:generateDebugResources
> Task :core:logging:packageDebugResources
> Task :shared-data:parseDebugLocalResources
> Task :core:analytics:parseDebugLocalResources
> Task :core:logging:javaPreCompileDebug
> Task :core:logging:parseDebugLocalResources
> Task :core:utils:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :core:utils:preBuild UP-TO-DATE
> Task :core:utils:preDebugBuild UP-TO-DATE
> Task :core:utils:generateDebugResValues
> Task :core:utils:generateDebugResources
> Task :core:utils:packageDebugResources
> Task :shared-data:generateDebugRFile
> Task :core:analytics:generateDebugRFile
> Task :core:logging:generateDebugRFile
> Task :core:utils:parseDebugLocalResources
> Task :core:utils:javaPreCompileDebug
> Task :shared-ui:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :shared-data:javaPreCompileDebug
> Task :core:utils:generateDebugRFile
> Task :shared-ui:generateComposeResClass
> Task :shared-ui:preBuild UP-TO-DATE
> Task :shared-ui:preDebugBuild UP-TO-DATE
> Task :shared-ui:generateDebugResValues
> Task :shared-ui:generateDebugResources
> Task :shared-ui:packageDebugResources
> Task :shared-ui:convertXmlValueResourcesForAndroidDebug NO-SOURCE
> Task :shared-ui:copyNonXmlValueResourcesForAndroidDebug NO-SOURCE
> Task :shared-ui:prepareComposeResourcesTaskForAndroidDebug NO-SOURCE
> Task :shared-ui:generateResourceAccessorsForAndroidDebug NO-SOURCE
> Task :shared-ui:parseDebugLocalResources
> Task :shared-ui:convertXmlValueResourcesForAndroidMain NO-SOURCE
> Task :shared-ui:copyNonXmlValueResourcesForAndroidMain NO-SOURCE
> Task :shared-ui:prepareComposeResourcesTaskForAndroidMain NO-SOURCE
> Task :shared-ui:generateResourceAccessorsForAndroidMain NO-SOURCE
> Task :shared-ui:generateDebugRFile
> Task :shared-ui:convertXmlValueResourcesForCommonMain
> Task :shared-ui:copyNonXmlValueResourcesForCommonMain
> Task :shared-ui:prepareComposeResourcesTaskForCommonMain
> Task :shared-ui:generateResourceAccessorsForCommonMain
> Task :swipe:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :swipe:generateComposeResClass
> Task :swipe:preBuild UP-TO-DATE
> Task :swipe:preDebugBuild UP-TO-DATE
> Task :swipe:generateDebugResValues
> Task :swipe:generateDebugResources
> Task :swipe:packageDebugResources
> Task :swipe:convertXmlValueResourcesForAndroidDebug NO-SOURCE
> Task :swipe:copyNonXmlValueResourcesForAndroidDebug NO-SOURCE
> Task :swipe:prepareComposeResourcesTaskForAndroidDebug NO-SOURCE
> Task :swipe:generateResourceAccessorsForAndroidDebug NO-SOURCE
> Task :swipe:parseDebugLocalResources
> Task :swipe:convertXmlValueResourcesForAndroidMain NO-SOURCE
> Task :swipe:copyNonXmlValueResourcesForAndroidMain NO-SOURCE
> Task :swipe:prepareComposeResourcesTaskForAndroidMain NO-SOURCE
> Task :swipe:generateResourceAccessorsForAndroidMain NO-SOURCE
> Task :swipe:convertXmlValueResourcesForCommonMain NO-SOURCE
> Task :swipe:copyNonXmlValueResourcesForCommonMain NO-SOURCE
> Task :swipe:generateDebugRFile
> Task :swipe:prepareComposeResourcesTaskForCommonMain NO-SOURCE
> Task :swipe:generateResourceAccessorsForCommonMain NO-SOURCE
> Task :androidApp:app:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :androidApp:app:generateComposeResClass
> Task :androidApp:app:generateDebugBuildConfig UP-TO-DATE
> Task :androidApp:app:convertXmlValueResourcesForAndroidDebug NO-SOURCE
> Task :androidApp:app:copyNonXmlValueResourcesForAndroidDebug NO-SOURCE
> Task :shared-ui:javaPreCompileDebug
> Task :swipe:javaPreCompileDebug
> Task :androidApp:app:prepareComposeResourcesTaskForAndroidDebug NO-SOURCE
> Task :androidApp:app:generateResourceAccessorsForAndroidDebug NO-SOURCE
> Task :androidApp:app:preBenchmarkBuild UP-TO-DATE
> Task :androidApp:app:generateBenchmarkBuildConfig UP-TO-DATE
> Task :androidApp:app:generateSentryBundleIdBenchmark UP-TO-DATE
> Task :androidApp:app:generateSentryBundleIdDebug UP-TO-DATE
> Task :androidApp:app:preReleaseBuild UP-TO-DATE
> Task :androidApp:app:generateReleaseBuildConfig UP-TO-DATE
> Task :androidApp:app:generateSentryBundleIdRelease UP-TO-DATE
> Task :androidApp:app:convertXmlValueResourcesForAndroidMain NO-SOURCE
> Task :androidApp:app:copyNonXmlValueResourcesForAndroidMain NO-SOURCE
> Task :androidApp:app:prepareComposeResourcesTaskForAndroidMain NO-SOURCE
> Task :androidApp:app:sentryCollectSourcesRelease UP-TO-DATE
> Task :androidApp:app:generateResourceAccessorsForAndroidMain NO-SOURCE
> Task :androidApp:app:convertXmlValueResourcesForCommonMain NO-SOURCE
> Task :androidApp:app:copyNonXmlValueResourcesForCommonMain NO-SOURCE
> Task :androidApp:app:prepareComposeResourcesTaskForCommonMain NO-SOURCE
> Task :androidApp:app:generateResourceAccessorsForCommonMain NO-SOURCE
> Task :core:analytics:compileDebugKotlinAndroid
> Task :core:utils:compileDebugKotlinAndroid
> Task :core:logging:compileDebugKotlinAndroid
> Task :swipe:compileDebugKotlinAndroid
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/8.5.0-11315950/aapt2-8.5.0-11315950.pom, took 3 s 620 ms
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/8.5.0-11315950/aapt2-8.5.0-11315950-linux.jar, took 898 ms
> Task :core:analytics:compileDebugJavaWithJavac NO-SOURCE
> Task :shared-data:compileDebugLibraryResources
> Task :core:logging:compileDebugJavaWithJavac NO-SOURCE
> Task :core:utils:compileDebugJavaWithJavac NO-SOURCE
> Task :swipe:compileDebugJavaWithJavac NO-SOURCE
> Task :shared-ui:compileDebugLibraryResources
> Task :swipe:compileDebugLibraryResources
> Task :core:analytics:bundleLibCompileToJarDebug
> Task :core:utils:bundleLibCompileToJarDebug
> Task :core:logging:bundleLibCompileToJarDebug
> Task :swipe:bundleLibCompileToJarDebug
> Task :shared-data:writeDebugAarMetadata
> Task :shared-ui:writeDebugAarMetadata
> Task :swipe:writeDebugAarMetadata
> Task :core:analytics:writeDebugAarMetadata
> Task :core:logging:writeDebugAarMetadata
> Task :core:utils:writeDebugAarMetadata
> Task :androidApp:app:generateDebugResValues
> Task :androidApp:app:checkDebugAarMetadata
> Task :androidApp:app:mapDebugSourceSetPaths
> Task :androidApp:app:generateDebugResources
> Task :androidApp:app:packageDebugResources
> Task :androidApp:app:createDebugCompatibleScreenManifests
> Task :shared-data:extractDeepLinksDebug
> Task :shared-ui:extractDeepLinksDebug
> Task :androidApp:app:parseDebugLocalResources
> Task :swipe:extractDeepLinksDebug
> Task :androidApp:app:extractDeepLinksDebug
> Task :core:analytics:extractDeepLinksDebug
> Task :core:logging:extractDeepLinksDebug
> Task :core:utils:extractDeepLinksDebug
> Task :core:analytics:compileDebugLibraryResources
> Task :core:logging:compileDebugLibraryResources
> Task :swipe:processDebugManifest
> Task :shared-ui:processDebugManifest
> Task :core:utils:processDebugManifest
> Task :core:analytics:processDebugManifest
> Task :core:logging:processDebugManifest
> Task :shared-data:processDebugManifest
> Task :core:utils:compileDebugLibraryResources
> Task :androidApp:app:javaPreCompileDebug
> Task :androidApp:app:mergeDebugResources
> Task :androidApp:app:processDebugMainManifest
> Task :androidApp:app:debugSentryGenerateIntegrationListTask
> Task :androidApp:app:processDebugManifest
> Task :shared-data:mergeDebugShaders
> Task :shared-data:compileDebugShaders NO-SOURCE
> Task :shared-data:debugAssetsCopyForAGP NO-SOURCE
> Task :shared-data:generateDebugAssets UP-TO-DATE
> Task :shared-data:packageDebugAssets
> Task :shared-ui:mergeDebugShaders
> Task :shared-ui:compileDebugShaders NO-SOURCE
> Task :shared-ui:androidDebugAssetsCopyHierarchicalMultiplatformResources
> Task :shared-ui:debugAssetsCopyForAGP
> Task :shared-ui:generateDebugAssets UP-TO-DATE
> Task :shared-ui:packageDebugAssets
> Task :swipe:mergeDebugShaders
> Task :swipe:compileDebugShaders NO-SOURCE
> Task :swipe:androidDebugAssetsCopyHierarchicalMultiplatformResources
> Task :swipe:debugAssetsCopyForAGP NO-SOURCE
> Task :swipe:generateDebugAssets UP-TO-DATE
> Task :swipe:packageDebugAssets
> Task :androidApp:app:collectExternalDebugDependenciesForSentry
> Task :androidApp:app:mergeDebugShaders
> Task :androidApp:app:compileDebugShaders NO-SOURCE
> Task :androidApp:app:androidDebugAssetsCopyHierarchicalMultiplatformResources
> Task :androidApp:app:debugAssetsCopyForAGP NO-SOURCE
> Task :androidApp:app:generateDebugAssets UP-TO-DATE
> Task :core:analytics:mergeDebugShaders
> Task :core:analytics:compileDebugShaders NO-SOURCE
> Task :core:analytics:debugAssetsCopyForAGP NO-SOURCE
> Task :core:analytics:generateDebugAssets UP-TO-DATE
> Task :core:analytics:packageDebugAssets
> Task :core:logging:mergeDebugShaders
> Task :core:logging:compileDebugShaders NO-SOURCE
> Task :core:logging:debugAssetsCopyForAGP NO-SOURCE
> Task :core:logging:generateDebugAssets UP-TO-DATE
> Task :core:logging:packageDebugAssets
> Task :core:utils:mergeDebugShaders
> Task :core:utils:compileDebugShaders NO-SOURCE
> Task :core:utils:debugAssetsCopyForAGP NO-SOURCE
> Task :core:utils:generateDebugAssets UP-TO-DATE
> Task :core:utils:packageDebugAssets
> Task :androidApp:app:mergeDebugAssets
> Task :androidApp:app:injectSentryDebugMetaPropertiesIntoAssetsDebug
> Task :androidApp:app:compressDebugAssets
> Task :core:analytics:bundleLibRuntimeToJarDebug
> Task :swipe:bundleLibRuntimeToJarDebug
> Task :core:logging:bundleLibRuntimeToJarDebug
> Task :core:utils:bundleLibRuntimeToJarDebug
> Task :androidApp:app:desugarDebugFileDependencies
> Task :androidApp:app:processDebugManifestForPackage
> Task :swipe:processDebugJavaRes
> Task :core:analytics:processDebugJavaRes
> Task :core:logging:processDebugJavaRes
> Task :core:utils:processDebugJavaRes
> Task :androidApp:app:mergeDebugStartupProfile
> Task :shared-data:mergeDebugJniLibFolders
> Task :shared-data:mergeDebugNativeLibs NO-SOURCE
> Task :shared-data:copyDebugJniLibsProjectOnly
> Task :shared-ui:mergeDebugJniLibFolders
> Task :shared-ui:mergeDebugNativeLibs NO-SOURCE
> Task :shared-ui:copyDebugJniLibsProjectOnly
> Task :swipe:mergeDebugJniLibFolders
> Task :swipe:mergeDebugNativeLibs NO-SOURCE
> Task :swipe:copyDebugJniLibsProjectOnly
> Task :androidApp:app:mergeDebugJniLibFolders
> Task :androidApp:app:checkDebugDuplicateClasses
> Task :core:analytics:mergeDebugJniLibFolders
> Task :androidApp:app:processDebugResources
> Task :shared-data:compileDebugKotlinAndroid
> Task :androidApp:app:mergeExtDexDebug
> Task :shared-data:compileDebugJavaWithJavac NO-SOURCE
> Task :shared-data:bundleLibCompileToJarDebug
> Task :shared-data:bundleLibRuntimeToJarDebug
> Task :shared-data:processDebugJavaRes
> Task :core:analytics:mergeDebugNativeLibs NO-SOURCE
> Task :core:analytics:copyDebugJniLibsProjectOnly
> Task :core:logging:mergeDebugJniLibFolders
> Task :core:logging:mergeDebugNativeLibs NO-SOURCE
> Task :core:utils:mergeDebugJniLibFolders
> Task :core:utils:mergeDebugNativeLibs NO-SOURCE
> Task :core:utils:copyDebugJniLibsProjectOnly
> Task :core:logging:copyDebugJniLibsProjectOnly
> Task :androidApp:app:validateSigningDebug
> Task :androidApp:app:writeDebugAppMetadata
> Task :androidApp:app:mergeDebugNativeLibs
> Task :androidApp:app:writeDebugSigningConfigVersions

> Task :androidApp:app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libandroidx.graphics.path.so, libdatastore_shared_counter.so, libsentry-android.so, libsentry.so.

> Task :shared-ui:compileDebugKotlinAndroid
w: ATTENTION!
This build uses unsafe internal compiler arguments:

-XXLanguage:+ExplicitBackingFields
-XXLanguage:+DataObjects

This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!

w: Following manually enabled features will force generation of pre-release binaries: ExplicitBackingFields

> Task :shared-ui:compileDebugJavaWithJavac NO-SOURCE
> Task :shared-ui:bundleLibCompileToJarDebug
> Task :shared-ui:processDebugJavaRes
> Task :shared-ui:bundleLibRuntimeToJarDebug
> Task :androidApp:app:compileDebugKotlinAndroid
> Task :androidApp:app:compileDebugJavaWithJavac
> Task :androidApp:app:processDebugJavaRes
> Task :androidApp:app:transformDebugClassesWithAsm
> Task :androidApp:app:dexBuilderDebug
> Task :androidApp:app:mergeDebugGlobalSynthetics
> Task :androidApp:app:mergeLibDexDebug
> Task :androidApp:app:mergeProjectDexDebug
> Task :androidApp:app:mergeDebugJavaResource
> Task :androidApp:app:packageDebug
> Task :androidApp:app:createDebugApkListingFileRedirect
> Task :androidApp:app:assembleDebug

> Task :androidApp:app:uploadSentryNativeSymbolsForDebug FAILED
  WARN    2024-07-10 10:35:56.706147394 +08:00 Unrecognized auth token format!
    Hint: Did you copy your token correctly?
error: API request failed
  caused by: sentry reported an error: Invalid token header. No credentials provided. (http status: 401)

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.

ASM Instrumentation process wasn't able to resolve some classes, this means that
the instrumented classes might contain corrupt stack frames. Make sure the
dependencies that contain these classes are on the runtime or the provided
classpath. Otherwise, the jvm might fail to load the corrupt classes at runtime
when running in a jvm environment like unit tests.

Classes that weren't resolved:
> androidx.compose.animation.tooling.ComposeAnimatedProperty
> kotlin.sequences.Sequence
> kotlin.Unit
> kotlin.jvm.functions.Function1
> kotlin.coroutines.CoroutineContext
> kotlin.coroutines.Continuation
> kotlin.Pair
> kotlin.coroutines.CoroutineContext$Element

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':androidApp:app:uploadSentryNativeSymbolsForDebug'.
> An error occurred while executing task 'uploadSentryNativeSymbolsForDebug'. Please check the detailed sentry-cli output above.

* Try:
> 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.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':androidApp:app:uploadSentryNativeSymbolsForDebug'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:130)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:128)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
    at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: io.sentry.android.gradle.util.SentryCliException: An error occurred while executing task 'uploadSentryNativeSymbolsForDebug'. Please check the detailed sentry-cli output above.
    at io.sentry.android.gradle.util.SentryCliExecKt$asSentryCliExec$2.execute(SentryCliExec.kt:27)
    at io.sentry.android.gradle.util.SentryCliExecKt$asSentryCliExec$2.execute(SentryCliExec.kt)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:831)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:804)
    at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:229)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:212)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:195)
    at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:162)
    at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
    at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
    at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
    at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
    at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
    at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:50)
    at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:28)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:61)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:26)
    at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:67)
    at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:45)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
    at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:189)
    at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
    at org.gradle.internal.Either$Right.fold(Either.java:175)
    at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:62)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:46)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:35)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:76)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:54)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:36)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
    at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:49)
    at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:27)
    at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:71)
    at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:39)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:106)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:55)
    at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:64)
    at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:43)
    at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.executeWithNonEmptySources(AbstractSkipEmptyWorkStep.java:125)
    at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:56)
    at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:36)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
    at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:75)
    at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:41)
    at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.lambda$execute$0(AssignMutableWorkspaceStep.java:35)
    at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:289)
    at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:31)
    at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:22)
    at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:40)
    at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:23)
    at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:67)
    at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:67)
    at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:39)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:46)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:34)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:48)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:35)
    at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:61)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:127)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
    at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 3m 56s
175 actionable tasks: 164 executed, 11 up-to-date
rafsanjani commented 4 months ago

I added sentry for crash reporting so you'll need to provide API keys for it as environment variables. I'm planning to remove sentry and use firebase so it hasn't been documented. You need the following environment variables

SENTRY_AUTH_TOKEN SENTRY_BASE_URL_DEBUG SENTRY_BASE_URL_RELEASE

https://docs.sentry.io/api/guides/create-auth-token/