Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ci::codemagic build failure from last few builds #2094

Closed
canewsin opened this issue May 14, 2024 · 6 comments
Closed

fix: ci::codemagic build failure from last few builds #2094

canewsin opened this issue May 14, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@canewsin
Copy link

App ID: cc6ea63a-aad2-4b11-98fc-bb03a0f5a794

log

Fetching apps...
✓ Fetching apps (0.2s)Building app bundle with Flutter 3.19.6 (4b22a31bd9)...
✗ Failed to build: Flutter assets will be downloaded from https://download.shorebird.dev. Make sure you trust this source!
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/builder/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.14/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/builder/.pub-cache/hosted/pub.dev/firebase_app_check-0.2.1+12/android/src/main/java/io/flutter/plugins/firebase/appcheck/FlutterFirebaseAppCheckPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/builder/.pub-cache/hosted/pub.dev/cloud_firestore-4.15.3/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java uses or overrides 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.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
warning: unknown enum constant Mode.LOCAL
  reason: class file for com.facebook.infer.annotation.Nullsafe$Mode not found
1 warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/builder/.pub-cache/hosted/pub.dev/applovin_max-3.9.2/android/src/main/java/com/applovin/applovin_max/AppLovinMAX.java uses or overrides 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.
Note: /Users/builder/.pub-cache/hosted/pub.dev/in_app_review-2.0.8/android/src/main/java/dev/britannio/in_app_review/InAppReviewPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: /Users/builder/.gradle/caches/transforms-3/f6f4e33da20a12a28ff1fcf3f626dd57/transformed/jetified-kotlin-stdlib-1.9.21.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: /Users/builder/.gradle/caches/transforms-3/f6f4e33da20a12a28ff1fcf3f626dd57/transformed/jetified-kotlin-stdlib-1.9.21.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: /Users/builder/.gradle/caches/transforms-3/f6f4e33da20a12a28ff1fcf3f626dd57/transformed/jetified-kotlin-stdlib-1.9.21.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* 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 3m 50s
Gradle task bundleRelease failed with exit code 1
 (257.8s)


Build failed :|
Step 6 script `Build AAB with Shorebird` exited with status code 70
@canewsin canewsin added the bug Something isn't working label May 14, 2024
@bryanoltman
Copy link
Contributor

This build error doesn't look Shorebird-related. Does your app compile with flutter build appbundle using Flutter 3.19.6?

@canewsin
Copy link
Author

Failed to build: Flutter assets will be downloaded from https://download.shorebird.dev. Make sure you trust this source!

@canewsin
Copy link
Author

canewsin commented May 14, 2024

@bryanoltman yup, local build works both with(/out) shorebird

@bryanoltman
Copy link
Contributor

Hmm, that sounds like it might be a codemagic issue then. I can try to help, but I'm not especially familiar with their product. e: /Users/builder/.gradle/caches/transforms-3/f6f4e33da20a12a28ff1fcf3f626dd57/transformed/jetified-kotlin-stdlib-1.9.21.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. looks like the error I'd try to follow. My guess is that their environment has a different version of the android SDK or something similar than what you're using locally.

@bryanoltman
Copy link
Contributor

@eseidel
Copy link
Contributor

eseidel commented May 23, 2024

Let us know if we can still help! Speculatively closing for now, but please feel empowered to re-open. My guess is that there might be the wrong java version in use (which could be our bug?).

@eseidel eseidel closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants