[INFO] fetching crate incrementalmerkletree 0.5.0... [INFO] checking incrementalmerkletree-0.5.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate incrementalmerkletree 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate incrementalmerkletree 0.5.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate incrementalmerkletree 0.5.0 [INFO] finished tweaking crates.io crate incrementalmerkletree 0.5.0 [INFO] tweaked toml for crates.io crate incrementalmerkletree 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded bit-set v0.5.3 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded libm v0.2.8 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e77537570010cde9e18123668b5b11185325db2a717589d9d5202cd5ca00eb34 [INFO] running `Command { std: "docker" "start" "-a" "e77537570010cde9e18123668b5b11185325db2a717589d9d5202cd5ca00eb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e77537570010cde9e18123668b5b11185325db2a717589d9d5202cd5ca00eb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77537570010cde9e18123668b5b11185325db2a717589d9d5202cd5ca00eb34", kill_on_drop: false }` [INFO] [stdout] e77537570010cde9e18123668b5b11185325db2a717589d9d5202cd5ca00eb34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec7d003aa42945446eda4cadf5ef570988e005b8f141a9adecd8000f4b99dcfd [INFO] running `Command { std: "docker" "start" "-a" "ec7d003aa42945446eda4cadf5ef570988e005b8f141a9adecd8000f4b99dcfd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking incrementalmerkletree v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frontier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frontier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:640:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 640 | assert_eq!(frontier.root(None), "a"); [INFO] [stdout] | ^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 642 | frontier.append("b".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:643:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 643 | assert_eq!(frontier.root(None), "ab"); [INFO] [stdout] | ^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:645:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 645 | frontier.append("c".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(frontier.root(None), "abc_"); [INFO] [stdout] | ^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:659:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 659 | assert_eq!(frontier.root().len(), 16); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:660:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 660 | assert_eq!(frontier.root(), "________________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:662:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 662 | frontier.append("a".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:663:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 663 | assert_eq!(frontier.root(), "a_______________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:665:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 665 | frontier.append("b".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:666:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 666 | assert_eq!(frontier.root(), "ab______________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:668:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 668 | frontier.append("c".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:669:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 669 | assert_eq!(frontier.root(), "abc_____________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:676:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 676 | frontier.append(c.to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `witness` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:688:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `witness` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 688 | frontier.witness(4, bridge_value_at) [INFO] [stdout] | ^^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 696 | frontier.append(c.to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `witness` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:701:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `witness` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 700 | / frontier [INFO] [stdout] 701 | | .witness(|addr| Some(String::empty_root(addr.level()))) [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty_root` found for struct `String` in the current scope [INFO] [stdout] --> src/frontier.rs:701:46 [INFO] [stdout] | [INFO] [stdout] 701 | .witness(|addr| Some(String::empty_root(addr.level()))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Hashable` defines an item `empty_root`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:611:1 [INFO] [stdout] | [INFO] [stdout] 611 | pub trait Hashable: fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `MerklePath`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 565 | pub struct MerklePath { [INFO] [stdout] | ----------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 822 | assert_eq!(path.root("b".to_string()), "abcdefgh".to_string()); [INFO] [stdout] | ^^^^ method cannot be called on `MerklePath` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/lib.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | impl MerklePath { [INFO] [stdout] | ^^^^^^^^ -------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `MerklePath`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:830:25 [INFO] [stdout] | [INFO] [stdout] 565 | pub struct MerklePath { [INFO] [stdout] | ----------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 830 | assert_eq!(path.root("c".to_string()), "abcdefgh".to_string()); [INFO] [stdout] | ^^^^ method cannot be called on `MerklePath` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/lib.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | impl MerklePath { [INFO] [stdout] | ^^^^^^^^ -------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `incrementalmerkletree` (lib test) due to 21 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec7d003aa42945446eda4cadf5ef570988e005b8f141a9adecd8000f4b99dcfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7d003aa42945446eda4cadf5ef570988e005b8f141a9adecd8000f4b99dcfd", kill_on_drop: false }` [INFO] [stdout] ec7d003aa42945446eda4cadf5ef570988e005b8f141a9adecd8000f4b99dcfd [INFO] checking incrementalmerkletree-0.5.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate incrementalmerkletree 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate incrementalmerkletree 0.5.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate incrementalmerkletree 0.5.0 [INFO] finished tweaking crates.io crate incrementalmerkletree 0.5.0 [INFO] tweaked toml for crates.io crate incrementalmerkletree 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ca4b7df3ef86724a173e036803197b36f35be2c49a63c001f8c45bff60e1bc5 [INFO] running `Command { std: "docker" "start" "-a" "1ca4b7df3ef86724a173e036803197b36f35be2c49a63c001f8c45bff60e1bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ca4b7df3ef86724a173e036803197b36f35be2c49a63c001f8c45bff60e1bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca4b7df3ef86724a173e036803197b36f35be2c49a63c001f8c45bff60e1bc5", kill_on_drop: false }` [INFO] [stdout] 1ca4b7df3ef86724a173e036803197b36f35be2c49a63c001f8c45bff60e1bc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0fb291cd7ed15e4d7c5d45d2d7ad3212c3d6144709eab99b6dbd77d01ce826e [INFO] running `Command { std: "docker" "start" "-a" "c0fb291cd7ed15e4d7c5d45d2d7ad3212c3d6144709eab99b6dbd77d01ce826e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking incrementalmerkletree v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frontier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frontier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:640:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 640 | assert_eq!(frontier.root(None), "a"); [INFO] [stdout] | ^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:642:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 642 | frontier.append("b".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:643:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 643 | assert_eq!(frontier.root(None), "ab"); [INFO] [stdout] | ^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:645:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 645 | frontier.append("c".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 646 | assert_eq!(frontier.root(None), "abc_"); [INFO] [stdout] | ^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `incrementalmerkletree` (lib test) due to 21 previous errors; 3 warnings emitted [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:659:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 659 | assert_eq!(frontier.root().len(), 16); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:660:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 660 | assert_eq!(frontier.root(), "________________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:662:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 662 | frontier.append("a".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:663:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 663 | assert_eq!(frontier.root(), "a_______________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:665:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 665 | frontier.append("b".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:666:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 666 | assert_eq!(frontier.root(), "ab______________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:668:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 668 | frontier.append("c".to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:669:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 669 | assert_eq!(frontier.root(), "abc_____________"); [INFO] [stdout] | ^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:676:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 676 | frontier.append(c.to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `witness` exists for struct `NonEmptyFrontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:688:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NonEmptyFrontier { [INFO] [stdout] | ------------------------------ method `witness` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 688 | frontier.witness(4, bridge_value_at) [INFO] [stdout] | ^^^^^^^ method cannot be called on `NonEmptyFrontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | impl NonEmptyFrontier { [INFO] [stdout] | ^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `append` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 696 | frontier.append(c.to_string()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `witness` exists for struct `Frontier`, but its trait bounds were not satisfied [INFO] [stdout] --> src/frontier.rs:701:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Frontier { [INFO] [stdout] | --------------------------------------- method `witness` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 700 | / frontier [INFO] [stdout] 701 | | .witness(|addr| Some(String::empty_root(addr.level()))) [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Frontier` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/frontier.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | impl Frontier { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty_root` found for struct `String` in the current scope [INFO] [stdout] --> src/frontier.rs:701:46 [INFO] [stdout] | [INFO] [stdout] 701 | .witness(|addr| Some(String::empty_root(addr.level()))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Hashable` defines an item `empty_root`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:611:1 [INFO] [stdout] | [INFO] [stdout] 611 | pub trait Hashable: fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `MerklePath`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 565 | pub struct MerklePath { [INFO] [stdout] | ----------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 822 | assert_eq!(path.root("b".to_string()), "abcdefgh".to_string()); [INFO] [stdout] | ^^^^ method cannot be called on `MerklePath` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/lib.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | impl MerklePath { [INFO] [stdout] | ^^^^^^^^ -------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `root` exists for struct `MerklePath`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:830:25 [INFO] [stdout] | [INFO] [stdout] 565 | pub struct MerklePath { [INFO] [stdout] | ----------------------------------------- method `root` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 830 | assert_eq!(path.root("c".to_string()), "abcdefgh".to_string()); [INFO] [stdout] | ^^^^ method cannot be called on `MerklePath` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `String: Hashable` was not satisfied [INFO] [stdout] --> src/lib.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | impl MerklePath { [INFO] [stdout] | ^^^^^^^^ -------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c0fb291cd7ed15e4d7c5d45d2d7ad3212c3d6144709eab99b6dbd77d01ce826e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0fb291cd7ed15e4d7c5d45d2d7ad3212c3d6144709eab99b6dbd77d01ce826e", kill_on_drop: false }` [INFO] [stdout] c0fb291cd7ed15e4d7c5d45d2d7ad3212c3d6144709eab99b6dbd77d01ce826e