Closed as not planned
Description
I recently tried updating from v2.8.1 to v2.9.1, but cargo install cargo-codspeed
failed.
logs
error[E0433]: failed to resolve: could not find `unix` in `os`
--> path\to\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cargo-codspeed-2.9.1\src\run.rs:14:9
|
14 | os::unix::process::ExitStatusExt,
| ^^^^ could not find `unix` in `os`
|
note: found an item that was configured out
--> path\to\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\std\src\os\mod.rs:36:9
|
36 | pub mod unix {}
| ^^^^
note: the item is gated here
--> path\to\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\std\src\os\mod.rs:28:1
|
28 | / #[cfg(all(
29 | | doc,
30 | | any(
31 | | all(target_arch = "wasm32", not(target_os = "wasi")),
32 | | all(target_vendor = "fortanix", target_env = "sgx")
33 | | )
34 | | ))]
| |___^
note: found an item that was configured out
--> path\to\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\std\src\os\mod.rs:85:9
|
85 | pub mod unix;
| ^^^^
note: the item is gated here
--> path\to\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\std\src\os\mod.rs:84:1
|
84 | #[cfg(all(not(target_os = "hermit"), any(unix, doc)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `signal` found for struct `ExitStatus` in the current scope
--> path\to\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cargo-codspeed-2.9.1\src\run.rs:163:36
|
163 | ... .or(status.signal().map(|s| 128 + s)) // 128+N indicates that a command was interrupted by signal N (see: http...
| ^^^^^^ method not found in `ExitStatus`
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
error: could not compile `cargo-codspeed` (bin "cargo-codspeed") due to 2 previous errors
Git blame points to #86
Metadata
Metadata
Assignees
Labels
No labels