[INFO] fetching crate merkle-log 0.0.9... [INFO] checking merkle-log-0.0.9 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate merkle-log 0.0.9 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate merkle-log 0.0.9 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8756199e977da616010f9c94c53ef1df1a04b7d460441dbdde90bdbdbd554353 [INFO] running `Command { std: "docker" "start" "-a" "8756199e977da616010f9c94c53ef1df1a04b7d460441dbdde90bdbdbd554353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8756199e977da616010f9c94c53ef1df1a04b7d460441dbdde90bdbdbd554353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8756199e977da616010f9c94c53ef1df1a04b7d460441dbdde90bdbdbd554353", kill_on_drop: false }` [INFO] [stdout] 8756199e977da616010f9c94c53ef1df1a04b7d460441dbdde90bdbdbd554353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbeaf2caa72fea121dc04707f9c2b48df4673eb43d4bec124fd362bde33045f9 [INFO] running `Command { std: "docker" "start" "-a" "bbeaf2caa72fea121dc04707f9c2b48df4673eb43d4bec124fd362bde33045f9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking merkle-log v0.0.9 (/opt/rustwide/workdir) [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] 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] error[E0277]: the trait bound `CoreWrapper>: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-530307471145527196.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper>: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-530307471145527196.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper>: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-530307471145527196.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head_id` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CoreWrapper>: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-530307471145527196.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `prove` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `verify` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `prove` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `verify` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `head` exists for struct `MerkleLog>, [u8; 32]>`, 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-1949cf8c6b5b557f/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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/merkle_log-6791e41fe6878a82.long-type-6504206963024758789.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bbeaf2caa72fea121dc04707f9c2b48df4673eb43d4bec124fd362bde33045f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbeaf2caa72fea121dc04707f9c2b48df4673eb43d4bec124fd362bde33045f9", kill_on_drop: false }` [INFO] [stdout] bbeaf2caa72fea121dc04707f9c2b48df4673eb43d4bec124fd362bde33045f9