[INFO] fetching crate solana-hash 4.3.0... [INFO] testing solana-hash-4.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate solana-hash 4.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate solana-hash 4.3.0 [INFO] finished tweaking crates.io crate solana-hash 4.3.0 [INFO] tweaked toml for crates.io crate solana-hash 4.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-hash 4.3.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-hash 4.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b6c41fe0e305c8d2be0f152ed754f3cf1ef25991a4812b4fe3411a674bb53f7 [INFO] running `Command { std: "docker" "start" "-a" "1b6c41fe0e305c8d2be0f152ed754f3cf1ef25991a4812b4fe3411a674bb53f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b6c41fe0e305c8d2be0f152ed754f3cf1ef25991a4812b4fe3411a674bb53f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6c41fe0e305c8d2be0f152ed754f3cf1ef25991a4812b4fe3411a674bb53f7", kill_on_drop: false }` [INFO] [stdout] 1b6c41fe0e305c8d2be0f152ed754f3cf1ef25991a4812b4fe3411a674bb53f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd2b9d502645a57c886e40b6f3bd67e7a6cd7dd53d69a3906cdfd9a8a56e436a [INFO] running `Command { std: "docker" "start" "-a" "fd2b9d502645a57c886e40b6f3bd67e7a6cd7dd53d69a3906cdfd9a8a56e436a", kill_on_drop: false }` [INFO] [stderr] Compiling solana-hash v4.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "fd2b9d502645a57c886e40b6f3bd67e7a6cd7dd53d69a3906cdfd9a8a56e436a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2b9d502645a57c886e40b6f3bd67e7a6cd7dd53d69a3906cdfd9a8a56e436a", kill_on_drop: false }` [INFO] [stdout] fd2b9d502645a57c886e40b6f3bd67e7a6cd7dd53d69a3906cdfd9a8a56e436a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1fa30ededef682d3490914f9ffb2264634772f3878a9e06b2d51c0ee0d88285 [INFO] running `Command { std: "docker" "start" "-a" "d1fa30ededef682d3490914f9ffb2264634772f3878a9e06b2d51c0ee0d88285", kill_on_drop: false }` [INFO] [stderr] Compiling solana-hash v4.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Hash` in the current scope [INFO] [stdout] --> src/lib.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | --------------- function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | assert!(Hash::new_unique() != Hash::new_unique()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Hash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Hash`, consider using `Hash::new_from_array` which returns `Hash` [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub const fn new_from_array(hash_array: [u8; HASH_BYTES]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Hash` in the current scope [INFO] [stdout] --> src/lib.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | --------------- function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | assert!(Hash::new_unique() != Hash::new_unique()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Hash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Hash`, consider using `Hash::new_from_array` which returns `Hash` [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub const fn new_from_array(hash_array: [u8; HASH_BYTES]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(hash_base58_str.parse::(), Ok(hash)); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | hash_base58_str.parse::(), [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseHashError` in this scope [INFO] [stdout] --> src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | Err(ParseHashError::WrongSize) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ParseHashError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 93 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] 94 | pub enum ParseHashError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(hash_base58_str.parse::(), Ok(hash)); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | hash_base58_str.parse::(), [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseHashError` in this scope [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | Err(ParseHashError::WrongSize) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ParseHashError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 93 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] 94 | pub enum ParseHashError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | input_too_big.parse::(), [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseHashError` in this scope [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | Err(ParseHashError::WrongSize) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ParseHashError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 93 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] 94 | pub enum ParseHashError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(hash_base58_str.parse::(), Ok(hash)); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hash: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | hash_base58_str.parse::(), [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `Hash` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 32 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseHashError` in this scope [INFO] [stdout] --> src/lib.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | Err(ParseHashError::Invalid) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ParseHashError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 93 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] 94 | pub enum ParseHashError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-hash` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "d1fa30ededef682d3490914f9ffb2264634772f3878a9e06b2d51c0ee0d88285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1fa30ededef682d3490914f9ffb2264634772f3878a9e06b2d51c0ee0d88285", kill_on_drop: false }` [INFO] [stdout] d1fa30ededef682d3490914f9ffb2264634772f3878a9e06b2d51c0ee0d88285