[INFO] fetching crate merkle-log 0.0.9... [INFO] checking merkle-log-0.0.9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate merkle-log 0.0.9 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate merkle-log 0.0.9 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68e8fff6a9b702e05d81407eab862213923366bffebb7abcaa1daba64143c00d [INFO] running `Command { std: "docker" "start" "-a" "68e8fff6a9b702e05d81407eab862213923366bffebb7abcaa1daba64143c00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68e8fff6a9b702e05d81407eab862213923366bffebb7abcaa1daba64143c00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e8fff6a9b702e05d81407eab862213923366bffebb7abcaa1daba64143c00d", kill_on_drop: false }` [INFO] [stdout] 68e8fff6a9b702e05d81407eab862213923366bffebb7abcaa1daba64143c00d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ca460a42bc84ebecebb3486ec33c2735c13d4c975a494823847e312f2bcdf2d [INFO] running `Command { std: "docker" "start" "-a" "3ca460a42bc84ebecebb3486ec33c2735c13d4c975a494823847e312f2bcdf2d", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking merkle-log v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/lib.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/lib.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | pub use core2::io::{self, BufRead, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/lib.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [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: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] warning: 1 warning emitted [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-66cbd72af10db8ba.long-type-14885143218599773843.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 `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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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-66cbd72af10db8ba.long-type-14885143218599773843.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; 2 warnings emitted [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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ca460a42bc84ebecebb3486ec33c2735c13d4c975a494823847e312f2bcdf2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca460a42bc84ebecebb3486ec33c2735c13d4c975a494823847e312f2bcdf2d", kill_on_drop: false }` [INFO] [stdout] 3ca460a42bc84ebecebb3486ec33c2735c13d4c975a494823847e312f2bcdf2d