You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
Execution failed for task ':rust_lib_my_app:cargokitCargoBuildRust_lib_my_appDebug'.
Process 'command '/Users/admin/vscode/my_app/rust_builder/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 1
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 7s
Running Gradle task 'assembleDebug'... 8.2s
Error: Gradle task assembleDebug failed with exit code 1
Describe the bug
flutter run
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
NDK Version: 23.1.7779620
SDK Directory: /Users/admin/Library/Android/sdk
Compile SDK Version: 34
Min SDK Version: 21
INFO: Precompiled binaries are disabled
INFO: Building rust_lib_my_app for aarch64-linux-android
SEVERE: ================================================================================
SEVERE: Cargokit BuildTool failed with error:
SEVERE: --------------------------------------------------------------------------------
SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/Users/admin/vscode/my_app/rust/Cargo.toml" "-p" "rust_lib_my_app" "--target" "aarch64-linux-android" "--target-dir" "/Users/admin/vscode/my_app/build/rust_lib_my_app/build"
SEVERE: Returned Exit Code: 101
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDOUT:
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDERR:
SEVERE: Compiling memchr v2.6.4
SEVERE: Compiling libc v0.2.150
SEVERE: Compiling proc-macro2 v1.0.70
SEVERE: Compiling unicode-ident v1.0.12
SEVERE: Compiling version_check v0.9.4
SEVERE: Compiling typenum v1.17.0
SEVERE: Compiling futures-core v0.3.29
SEVERE: Compiling autocfg v1.1.0
SEVERE: Compiling futures-task v0.3.29
SEVERE: error[E0463]: can't find crate for
core
SEVERE: |
SEVERE: = note: the
aarch64-linux-android
target may not be installedSEVERE: = help: consider downloading the target with
rustup target add aarch64-linux-android
SEVERE:
SEVERE: For more information about this error, try
rustc --explain E0463
.SEVERE: error: could not compile
memchr
(lib) due to 1 previous errorSEVERE: warning: build failed, waiting for other jobs to finish...
SEVERE: --------------------------------------------------------------------------------
SEVERE: #0 runCommand (package:build_tool/src/util.dart:121:5)
SEVERE: #1 RustBuilder.build (package:build_tool/src/builder.dart:142:5)
SEVERE:
SEVERE: #2 ArtifactProvider.getArtifacts (package:build_tool/src/artifacts_provider.dart:71:25)
SEVERE:
SEVERE: #3 BuildGradle.build (package:build_tool/src/build_gradle.dart:35:23)
SEVERE:
SEVERE: #4 BuildGradleCommand.runBuildCommand (package:build_tool/src/build_tool.dart:65:5)
SEVERE:
SEVERE: #5 BuildCommand.run (package:build_tool/src/build_tool.dart:37:5)
SEVERE:
SEVERE: #6 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
SEVERE:
SEVERE: #7 runMain (package:build_tool/src/build_tool.dart:251:5)
SEVERE:
SEVERE: --------------------------------------------------------------------------------
SEVERE: BuildTool arguments: [build-gradle]
SEVERE: ================================================================================
FAILURE: Build failed with an exception.
Where:
Script '/Users/admin/vscode/my_app/rust_builder/cargokit/gradle/plugin.gradle' line: 73
What went wrong:
Execution failed for task ':rust_lib_my_app:cargokitCargoBuildRust_lib_my_appDebug'.
BUILD FAILED in 7s
Running Gradle task 'assembleDebug'... 8.2s
Error: Gradle task assembleDebug failed with exit code 1
Steps to reproduce
Hint: A simple way to reproduce is to clone and modify the https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/dart_minimal example package according to your needs.
Logs
Expected behavior
No response
Generated binding code
OS
No response
Version of
flutter_rust_bridge_codegen
No response
Flutter info
Version of
clang++
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: