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

Cargokit BuildTool failed with error #2452

Open
rishad13 opened this issue Dec 13, 2024 Discussed in #2451 · 4 comments
Open

Cargokit BuildTool failed with error #2452

rishad13 opened this issue Dec 13, 2024 Discussed in #2451 · 4 comments
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc

Comments

@rishad13
Copy link

Discussed in #2451

Originally posted by rishad13 December 13, 2024

SEVERE: Cargokit BuildTool failed with error:
SEVERE: --------------------------------------------------------------------------------
SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/Users/rishadn/Documents/image_compress_with_rust/rust/Cargo.toml" "-p" "rust_lib_image_compress_with_rust" "--target" "aarch64-linux-android" "--target-dir" "/Users/rishadn/Documents/image_compress_with_rust/build/rust_lib_image_compress_with_rust/build"
SEVERE: Returned Exit Code: 101
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDOUT:
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDERR:
SEVERE: Compiling memchr v2.7.4
SEVERE: Compiling futures-sink v0.3.31
SEVERE: Compiling regex-syntax v0.8.5
SEVERE: Compiling libc v0.2.168
SEVERE: Compiling quote v1.0.37
SEVERE: Compiling generic-array v0.14.7
SEVERE: Compiling pin-project-lite v0.2.15
SEVERE: Compiling futures-core v0.3.31
SEVERE: error[E0463]: can't find crate for core
SEVERE: |
SEVERE: = note: the aarch64-linux-android target may not be installed
SEVERE: = 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 regex-syntax (lib) due to 1 previous error
SEVERE: warning: build failed, waiting for other jobs to finish...
SEVERE: error: could not compile memchr (lib) due to 1 previous error
SEVERE: error: could not compile futures-sink (lib) due to 1 previous error
SEVERE: error: could not compile libc (lib) due to 1 previous error
SEVERE: error: could not compile pin-project-lite (lib) due to 1 previous error
SEVERE: error: could not compile futures-core (lib) due to 1 previous error
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: ================================================================================

Copy link

welcome bot commented Dec 13, 2024

Hi! Thanks for opening your first issue here! 😄

@fzyzcjy fzyzcjy added the awaiting Waiting for responses, PR, further discussions, upstream release, etc label Dec 13, 2024
@fzyzcjy fzyzcjy changed the title Cargokit BuildTool failed with error: Cargokit BuildTool failed with error Dec 13, 2024
@rishad13
Copy link
Author

not working

@fzyzcjy
Copy link
Owner

fzyzcjy commented Dec 13, 2024

Hmm, maybe try rustup target add aarch64-linux-android as the error log says

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc
Projects
None yet
Development

No branches or pull requests

2 participants