[INFO] fetching crate merkle-log 0.0.9... [INFO] checking merkle-log-0.0.9 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate merkle-log 0.0.9 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate merkle-log 0.0.9 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 089dcedd465138e60443a88f2edf221a4ef5646a8c2b661e17fca1a52da0c5a7 [INFO] running `Command { std: "docker" "start" "-a" "089dcedd465138e60443a88f2edf221a4ef5646a8c2b661e17fca1a52da0c5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "089dcedd465138e60443a88f2edf221a4ef5646a8c2b661e17fca1a52da0c5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089dcedd465138e60443a88f2edf221a4ef5646a8c2b661e17fca1a52da0c5a7", kill_on_drop: false }` [INFO] [stdout] 089dcedd465138e60443a88f2edf221a4ef5646a8c2b661e17fca1a52da0c5a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37d981a6bd3ab22ead72af830ddd70b2b1501fa0d99d3bf02685895d6ab9dff9 [INFO] running `Command { std: "docker" "start" "-a" "37d981a6bd3ab22ead72af830ddd70b2b1501fa0d99d3bf02685895d6ab9dff9", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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, ...>>` [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-bf4a1742575f8830.long-type-3090242925931673518.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, ...>>` [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, ...>>` [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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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, ...>>` [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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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-bf4a1742575f8830.long-type-3090242925931673518.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] 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 17 previous errors [INFO] running `Command { std: "docker" "inspect" "37d981a6bd3ab22ead72af830ddd70b2b1501fa0d99d3bf02685895d6ab9dff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d981a6bd3ab22ead72af830ddd70b2b1501fa0d99d3bf02685895d6ab9dff9", kill_on_drop: false }` [INFO] [stdout] 37d981a6bd3ab22ead72af830ddd70b2b1501fa0d99d3bf02685895d6ab9dff9