-
Hi. I get this error when installing a crate: Updating bacon
INFO resolve: Resolving package: 'bacon'
WARN The package bacon v2.14.0 will be installed from source (with cargo)
Updating crates.io index
Installing bacon v2.14.0
Updating crates.io index
Compiling proc-macro2 v1.0.68
Compiling unicode-ident v1.0.12
Compiling libc v0.2.149
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling thiserror v1.0.49
Compiling scopeguard v1.2.0
Compiling parking_lot_core v0.9.8
Compiling memchr v2.6.4
Compiling smallvec v1.11.1
Compiling crossbeam-utils v0.8.16
Compiling regex-syntax v0.7.5
Compiling once_cell v1.18.0
Compiling crossbeam-queue v0.3.8
Compiling bitflags v1.3.2
Compiling rayon-core v1.12.0
Compiling itoa v1.0.9
WARN Failed to send quickinstall report for package bacon-2.14.0-x86_64-unknown-linux-musl: Failed to download from remote: could not HEAD https://warehouse-clerk-tmp.vercel.app/api/crate/bacon-2.14.0-x86_64-unknown-linux-musl.tar.gz: HTTP status server error (500 Internal Server Error) for url (https://warehouse-clerk-tmp.vercel.app/api/crate/bacon-2.14.0-x86_64-unknown-linux-musl.tar.gz)
error[E0463]: can't find crate for `core`
|
= note: the `x86_64-unknown-linux-musl` target may not be installed
= help: consider downloading the target with `rustup target add x86_64-unknown-linux-musl`
error[E0463]: can't find crate for `compiler_builtins`
error[E0463]: can't find crate for `core`
--> /home/azzamsa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scopeguard-1.2.0/src/lib.rs:192:1
|
192 | extern crate core as std;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `x86_64-unknown-linux-musl` target may not be installed
= help: consider downloading the target with `rustup target add x86_64-unknown-linux-musl`
error: cannot find macro `stringify` in this scope
--> /home/azzamsa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scopeguard-1.2.0/src/lib.rs:487:24
|
487 | f.debug_struct(stringify!(ScopeGuard))
| ^^^^^^^^^
error: cannot find attribute `derive` in this scope
--> /home/azzamsa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scopeguard-1.2.0/src/lib.rs:212:3
|
Beta Was this translation helpful? Give feedback.
Answered by
NobodyXu
Oct 7, 2023
Replies: 1 comment 5 replies
-
Thanks, this bug is fixed in main with #1430 and #1421 #1430 guarantees that when fallback to source, binstall will use the default target triple for I will put a new release today or tomorrow. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
azzamsa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this bug is fixed in main with #1430 and #1421
#1430 guarantees that when fallback to source, binstall will use the default target triple for
cargo-install
.#1421 should fix the target detection bug.
I will put a new release today or tomorrow.