[INFO] fetching crate merkle-log 0.0.9... [INFO] checking merkle-log-0.0.9 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate merkle-log 0.0.9 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate merkle-log 0.0.9 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate merkle-log 0.0.9 [INFO] finished tweaking crates.io crate merkle-log 0.0.9 [INFO] tweaked toml for crates.io crate merkle-log 0.0.9 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db07a08d12a4c24e020881cc5b0f8afbd9fefeb3bbb03f7b89b2221b10d145e9 [INFO] running `Command { std: "docker" "start" "-a" "db07a08d12a4c24e020881cc5b0f8afbd9fefeb3bbb03f7b89b2221b10d145e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db07a08d12a4c24e020881cc5b0f8afbd9fefeb3bbb03f7b89b2221b10d145e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db07a08d12a4c24e020881cc5b0f8afbd9fefeb3bbb03f7b89b2221b10d145e9", kill_on_drop: false }` [INFO] [stdout] db07a08d12a4c24e020881cc5b0f8afbd9fefeb3bbb03f7b89b2221b10d145e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27efbda25972dfaa7e42ef35e6d2fcc215ecca06c94aa49945363a677a27864c [INFO] running `Command { std: "docker" "start" "-a" "27efbda25972dfaa7e42ef35e6d2fcc215ecca06c94aa49945363a677a27864c", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking merkle-log v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/lib.rs:438:28 [INFO] [stdout] | [INFO] [stdout] 438 | fn new() -> (MemStore, TestLog) { [INFO] [stdout] | ^^^^^^^ the trait `util::Digest<[u8; 32]>` is not implemented for `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/util.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Digest: Default { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `MerkleLog` [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MerkleLog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:440:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 440 | let log = TestLog::new(&"hello world"); [INFO] [stdout] | ^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: if you're trying to build a new `MerkleLog, B0>, B0>, B0>, B0>, B0>, OidSha256>>, [u8; 32]>` consider using one of the following associated functions: [INFO] [stdout] MerkleLog::::new [INFO] [stdout] MerkleLog::::root_hash [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(entry: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | / pub(crate) fn root_hash>( [INFO] [stdout] 375 | | leaf_id: TreeID, [INFO] [stdout] 376 | | leaf_node: &N, [INFO] [stdout] 377 | | height: u8, [INFO] [stdout] 378 | | in_store: &S, [INFO] [stdout] 379 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Bit` [INFO] [stdout] candidate #2: `KeyInit` [INFO] [stdout] candidate #3: `KeyIvInit` [INFO] [stdout] candidate #4: `VariableOutput` [INFO] [stdout] candidate #5: `VariableOutputCore` [INFO] [stdout] candidate #6: `sha2::Digest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/lib.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | let log = TestLog::new(&"hello world"); [INFO] [stdout] | ^^^^^^^ the trait `util::Digest<[u8; 32]>` is not implemented for `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/util.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Digest: Default { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `MerkleLog` [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MerkleLog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/lib.rs:448:24 [INFO] [stdout] | [INFO] [stdout] 448 | let (_, log) = new(); [INFO] [stdout] | ^^^^^ the trait `util::Digest<[u8; 32]>` is not implemented for `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/util.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Digest: Default { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `MerkleLog` [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MerkleLog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head_id` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `head_id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 449 | assert_eq!(log.head_id(), TreeID::from(0)); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:450:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `len` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 450 | assert_eq!(log.len(), 1); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `len`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `Len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `head` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 451 | assert_eq!(log.head(), log.root()); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:451:36 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 451 | assert_eq!(log.head(), log.root()); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` is not satisfied [INFO] [stdout] --> src/lib.rs:456:36 [INFO] [stdout] | [INFO] [stdout] 456 | let (mut store, mut log) = new(); [INFO] [stdout] | ^^^^^ the trait `util::Digest<[u8; 32]>` is not implemented for `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/util.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Digest: Default { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `MerkleLog` [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MerkleLog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `prove` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `prove` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 457 | let proof = log.prove(0, &store).unwrap(); [INFO] [stdout] | ^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `verify` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `verify` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 458 | assert!(log.verify(0, log.head(), &proof).expect("failed to verify")); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:458:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `head` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 458 | assert!(log.verify(0, log.head(), &proof).expect("failed to verify")); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 465 | log.append(&entry, &mut store) [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `append`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Lengthen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `len` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 467 | assert_eq!(log.len(), idx + 1); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `len`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `Len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `prove` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:470:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `prove` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 469 | let proof = log [INFO] [stdout] | _________________________- [INFO] [stdout] 470 | | .prove(idx, &store) [INFO] [stdout] | | -^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `verify` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `verify` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 473 | log.verify(idx, log.head(), &proof) [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head` exists for struct `MerkleLog, ...>, ...>, ...>>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:473:37 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MerkleLog, N: Node> { [INFO] [stdout] | ------------------------------------------- method `head` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 473 | log.verify(idx, log.head(), &proof) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Digest<[u8; 32]>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/merkle_log-d73fe1733434cc32.long-type-1308539734111126734.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: trait bound `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>: util::Digest<[u8; 32]>` was not satisfied [INFO] [stdout] --> src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl MerkleLog [INFO] [stdout] | --------------- [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: Digest, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `merkle-log` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "27efbda25972dfaa7e42ef35e6d2fcc215ecca06c94aa49945363a677a27864c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27efbda25972dfaa7e42ef35e6d2fcc215ecca06c94aa49945363a677a27864c", kill_on_drop: false }` [INFO] [stdout] 27efbda25972dfaa7e42ef35e6d2fcc215ecca06c94aa49945363a677a27864c [INFO] checking merkle-log-0.0.9 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate merkle-log 0.0.9 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate merkle-log 0.0.9 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate merkle-log 0.0.9 [INFO] finished tweaking crates.io crate merkle-log 0.0.9 [INFO] tweaked toml for crates.io crate merkle-log 0.0.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 978e6feadb917426e803ff363ecba67daa686cfae8bf84ff3aee69a2b84d2d3e [INFO] running `Command { std: "docker" "start" "-a" "978e6feadb917426e803ff363ecba67daa686cfae8bf84ff3aee69a2b84d2d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "978e6feadb917426e803ff363ecba67daa686cfae8bf84ff3aee69a2b84d2d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978e6feadb917426e803ff363ecba67daa686cfae8bf84ff3aee69a2b84d2d3e", kill_on_drop: false }` [INFO] [stdout] 978e6feadb917426e803ff363ecba67daa686cfae8bf84ff3aee69a2b84d2d3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e6eab9d84a0304418dbd87561b010d63fbfb214193f9925b556c15f699a19c9 [INFO] running `Command { std: "docker" "start" "-a" "9e6eab9d84a0304418dbd87561b010d63fbfb214193f9925b556c15f699a19c9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "9e6eab9d84a0304418dbd87561b010d63fbfb214193f9925b556c15f699a19c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6eab9d84a0304418dbd87561b010d63fbfb214193f9925b556c15f699a19c9", kill_on_drop: false }` [INFO] [stdout] 9e6eab9d84a0304418dbd87561b010d63fbfb214193f9925b556c15f699a19c9