-
Hi. I always get this kind of error when installing or updating a crate. 🦄 cargo install-update -a
Polling registry 'https://index.crates.io/'....................................
Package Installed Latest Needs update
rust-script v0.31.0 v0.32.0 Yes
atuin v16.0.0 v16.0.0 No
zoxide v0.9.2 v0.9.2 No
Updating rust-script
INFO resolve: Resolving package: 'rust-script'
WARN The package rust-script v0.32.0 will be installed from source (with cargo)
Updating crates.io index
Installing rust-script v0.32.0
Updating crates.io index
Compiling version_check v0.9.4
Compiling typenum v1.17.0
Compiling serde v1.0.188
Compiling rustix v0.38.14
Compiling memchr v2.6.3
Compiling libc v0.2.148
Compiling linux-raw-sys v0.4.7
Compiling bitflags v2.4.0
Compiling utf8parse v0.2.1
Compiling regex-syntax v0.7.5
Compiling colorchoice v1.0.0
Compiling anstyle-query v1.0.0
Compiling anstyle v1.0.3
Compiling equivalent v1.0.1
Compiling hashbrown v0.14.0
Compiling unicode-width v0.1.11
Compiling strsim v0.10.0
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/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/utf8parse-0.2.1/src/lib.rs:10:5
|
10 | use core::char;
| ^^^^ 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 attribute `derive` in this scope
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/utf8parse-0.2.1/src/lib.rs:28:3
|
28 | #[derive(Clone, Default, PartialEq, Eq, Debug)]
| ^^^^^^
error[E0463]: can't find crate for `core`
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/colorchoice-1.0.0/src/lib.rs:5:5
|
5 | use core::sync::atomic::{AtomicUsize, Ordering};
| ^^^^ 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` Thanks! 🏅 |
Beta Was this translation helpful? Give feedback.
Answered by
NobodyXu
Sep 26, 2023
Replies: 1 comment
-
This is probably the same as #1375, we will soon release cargo-binstall v1.4.1 which should fix this. If v1.4.1 doesn't fix this, please open a new issue or @ me here, I will investigate it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
azzamsa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably the same as #1375, we will soon release cargo-binstall v1.4.1 which should fix this.
If v1.4.1 doesn't fix this, please open a new issue or @ me here, I will investigate it.