-
-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Description
Can't compile 0.15.12 patch due to commit 18760c9?
├── insta v1.43.1
│ ├── console v0.15.12
│ ├── once_cell v1.21.3
│ ├── serde v1.0.219 (*)
│ └── similar v2.7.0
+ cargo clippy --release --all-targets --all-features -- -D warnings
Checking criterion v0.6.0
Checking insta v1.43.1
Checking secp256k1-sys v0.11.0
Checking ed25519-dalek v2.2.0-pre (https://github.com/baloo/curve25519-dalek?rev=27afeeb#27afeeb9)
Checking gencode v0.1.0 (/mnt/tmpfs/frost/gencode)
error[E0432]: unresolved import `console::style`
--> /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/utils.rs:19:9
|
19 | pub use console::style;
| ^^^^^^^^^^^^^^ no `style` in the root
|
note: found an item that was configured out
--> /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/console-0.15.12/src/lib.rs:97:52
|
97 | set_colors_enabled, set_colors_enabled_stderr, style, truncate_str, Alignment, Attribute,
| ^^^^^
note: the item is gated behind the `std` feature
--> /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/console-0.15.12/src/lib.rs:94:7
|
94 | #[cfg(feature = "std")]
| ^^^^^^^^^^^^^^^
error: variables can be used directly in the `format!` string
--> gencode/src/main.rs:126:13
|
126 | / eprintln!(
127 | | "WARNING: documentation for {} is not available in base file. This can mean it's a specific type for the ciphersuite, or that there is a bug in gencode",
128 | | old_name
129 | | );
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-D clippy::uninlined-format-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
error[E0433]: failed to resolve: could not find `Term` in `console`
--> /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/utils.rs:56:18
|
56 | console::Term::stdout().size().1 as usize
| ^^^^ could not find `Term` in `console`
|
note: found an item that was configured out
--> /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/console-0.15.12/src/lib.rs:92:42
|
92 | user_attended, user_attended_stderr, Term, TermFamily, TermFeatures, TermTarget,
| ^^^^
note: the item is gated behind the `std` feature
--> /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/console-0.15.12/src/lib.rs:90:7
|
90 | #[cfg(feature = "std")]
| ^^^^^^^^^^^^^^^
error: could not compile `gencode` (bin "gencode") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `gencode` (bin "gencode" test) due to 1 previous error
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `insta` (lib) due to 2 previous errors
Metadata
Metadata
Assignees
Labels
No labels