[INFO] fetching crate merkle-heapless 0.0.7...
[INFO] testing merkle-heapless-0.0.7 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate merkle-heapless 0.0.7 into /workspace/builds/worker-7-tc2/source
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate merkle-heapless 0.0.7
[INFO] finished tweaking crates.io crate merkle-heapless 0.0.7
[INFO] tweaked toml for crates.io crate merkle-heapless 0.0.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate merkle-heapless 0.0.7 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] db420feed1c65e010a421335996f4ee35725a16f3c0d9e899e95e81d4f0d5da3
[INFO] running `Command { std: "docker" "start" "-a" "db420feed1c65e010a421335996f4ee35725a16f3c0d9e899e95e81d4f0d5da3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db420feed1c65e010a421335996f4ee35725a16f3c0d9e899e95e81d4f0d5da3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db420feed1c65e010a421335996f4ee35725a16f3c0d9e899e95e81d4f0d5da3", kill_on_drop: false }`
[INFO] [stdout] db420feed1c65e010a421335996f4ee35725a16f3c0d9e899e95e81d4f0d5da3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d53566294d3aceece5cde614b416b86e753addc945d1c0e55e847ed557e68aaf
[INFO] running `Command { std: "docker" "start" "-a" "d53566294d3aceece5cde614b416b86e753addc945d1c0e55e847ed557e68aaf", kill_on_drop: false }`
[INFO] [stderr]    Compiling mmr-macro v0.0.7
[INFO] [stderr]    Compiling merkle-heapless v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/compactable.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout]     |                                   ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.12s
[INFO] running `Command { std: "docker" "inspect" "d53566294d3aceece5cde614b416b86e753addc945d1c0e55e847ed557e68aaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d53566294d3aceece5cde614b416b86e753addc945d1c0e55e847ed557e68aaf", kill_on_drop: false }`
[INFO] [stdout] d53566294d3aceece5cde614b416b86e753addc945d1c0e55e847ed557e68aaf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96d0c003631125bc562c2b22270469cf7a0f0c0d50058275ec941cad47d30bdd
[INFO] running `Command { std: "docker" "start" "-a" "96d0c003631125bc562c2b22270469cf7a0f0c0d50058275ec941cad47d30bdd", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/compactable.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout]     |                                   ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling merkle-heapless v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/compactable.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout]     |                                   ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "96d0c003631125bc562c2b22270469cf7a0f0c0d50058275ec941cad47d30bdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96d0c003631125bc562c2b22270469cf7a0f0c0d50058275ec941cad47d30bdd", kill_on_drop: false }`
[INFO] [stdout] 96d0c003631125bc562c2b22270469cf7a0f0c0d50058275ec941cad47d30bdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d76367df1580b8599b0a0bf28a08615493abefadff6c3c77e05c15a9334e7c72
[INFO] running `Command { std: "docker" "start" "-a" "d76367df1580b8599b0a0bf28a08615493abefadff6c3c77e05c15a9334e7c72", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/compactable.rs:104:35
[INFO] [stderr]     |
[INFO] [stderr] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr]     |                                   ^                  ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `merkle-heapless` (lib) generated 1 warning (run `cargo fix --lib -p merkle-heapless` to apply 1 suggestion)
[INFO] [stderr] warning: `merkle-heapless` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/merkle_heapless-aafb8516c40981f1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests merkle_heapless
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/compactable.rs:104:35
[INFO] [stderr]     |
[INFO] [stderr] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr]     |                                   ^                  ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - augmentable (line 166) ... FAILED
[INFO] [stdout] test src/lib.rs - augmentable (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 80) ... FAILED
[INFO] [stdout] test src/lib.rs - compactable (line 148) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 95) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 109) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 128) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:129:1
[INFO] [stdout]     |
[INFO] [stdout] 129 | mmr.try_append(b"apple").unwrap();
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | assert_eq!(mmr.peaks()[0].height(), 0);
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | assert_eq!(mmr.peaks()[0].num_of_leaves(), 1);
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | assert_eq!(mmr.peaks()[1].num_of_leaves(), 0);
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 | let proof = mmr.generate_proof(0);
[INFO] [stdout]     |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - augmentable (line 166) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultAugmentable`
[INFO] [stdout]    --> src/lib.rs:168:11
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^ use of undeclared type `DefaultAugmentable`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 166 + use merkle_heapless::augmentable::DefaultAugmentable;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ARITY` in this scope
[INFO] [stdout]    --> src/lib.rs:168:32
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<ARITY>() {
[INFO] [stdout]     |                                                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HEIGHT_2` in this scope
[INFO] [stdout]    --> src/lib.rs:168:39
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<HEIGHT_2>() {
[INFO] [stdout]     |                                                                       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StdHash` in this scope
[INFO] [stdout]    --> src/lib.rs:168:49
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<StdHash>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MAX_WORD_LEN` in this scope
[INFO] [stdout]    --> src/lib.rs:168:58
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<MAX_WORD_LEN>() {
[INFO] [stdout]     |                                                                       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mt` in this scope
[INFO] [stdout]    --> src/lib.rs:172:1
[INFO] [stdout]     |
[INFO] [stdout] 172 | mt.try_merge(mt2).unwrap();
[INFO] [stdout]     | ^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 172 | mt2.try_merge(mt2).unwrap();
[INFO] [stdout]     |   +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - augmentable (line 146) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `HEIGHT` in this scope
[INFO] [stdout]    --> src/lib.rs:155:39
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, HEIGHT, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0<HEIGHT>() {
[INFO] [stdout]     |                                                                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StdHash` in this scope
[INFO] [stdout]    --> src/lib.rs:155:47
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, HEIGHT, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0<StdHash>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected
[INFO] [stdout]    --> src/lib.rs:155:39
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, HEIGHT, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, { HEIGHT }, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       +        +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0747.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 80) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | tree.replace(5, b"cherry");
[INFO] [stdout]    | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 | let proof = tree.generate_proof(5);
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | tree.replace(1, &[]);
[INFO] [stdout]    | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 | let proof = tree.generate_proof(1);
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 | let proof = tree.generate_proof(1);
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - compactable (line 148) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `StdHash` in this scope
[INFO] [stdout]    --> src/lib.rs:155:51
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mut cmt = DefaultCompactable::<ARITY, HEIGHT, StdHash>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_148_0<StdHash>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: type alias takes 4 generic arguments but 3 generic arguments were supplied
[INFO] [stdout]    --> src/lib.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mut cmt = DefaultCompactable::<ARITY, HEIGHT, StdHash>::try_from::<&[u8]>(&[
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^   -----  ------  ------- supplied 3 generic arguments
[INFO] [stdout]     |               |
[INFO] [stdout]     |               expected 4 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 4 generic parameters: `ARITY`, `HEIGHT`, `H`, `MAX_INPUT_LEN`
[INFO] [stdout]    --> src/compactable.rs:19:10
[INFO] [stdout]     |
[INFO] [stdout]  19 | pub type DefaultCompactable<
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  20 |     const ARITY: usize,
[INFO] [stdout]     |     ------------------
[INFO] [stdout]  21 |     const HEIGHT: usize,
[INFO] [stdout]     |     -------------------
[INFO] [stdout]  22 |     H,
[INFO] [stdout]     |     -
[INFO] [stdout]  23 |     const MAX_INPUT_LEN: usize,
[INFO] [stdout]     |     --------------------------
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mut cmt = DefaultCompactable::<ARITY, HEIGHT, StdHash, MAX_INPUT_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                          +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `[u8; 32]: From<u8>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     type Output = [u8; 32];
[INFO] [stdout]    |                   ^^^^^^^^ the trait `From<u8>` is not implemented for `[u8; 32]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `[T; 1]` implements `From<(T,)>`
[INFO] [stdout]              `[T; 2]` implements `From<(T, T)>`
[INFO] [stdout]              `[T; 3]` implements `From<(T, T, T)>`
[INFO] [stdout]              `[T; 4]` implements `From<(T, T, T, T)>`
[INFO] [stdout]              `[T; 5]` implements `From<(T, T, T, T, T)>`
[INFO] [stdout]              `[T; 6]` implements `From<(T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 7]` implements `From<(T, T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 8]` implements `From<(T, T, T, T, T, T, T, T)>`
[INFO] [stdout]            and 6 others
[INFO] [stdout] note: required by a bound in `merkle_heapless::traits::HashT::Output`
[INFO] [stdout]   --> src/traits.rs:15:63
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type Output: Hash + Default + Copy + PartialEq + Debug  + From<u8>;
[INFO] [stdout]    |                                                               ^^^^^^^^ required by this bound in `HashT::Output`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[u8; 8]: From<u8>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |     type Output = [u8; 8];
[INFO] [stdout]    |                   ^^^^^^^ the trait `From<u8>` is not implemented for `[u8; 8]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `[T; 1]` implements `From<(T,)>`
[INFO] [stdout]              `[T; 2]` implements `From<(T, T)>`
[INFO] [stdout]              `[T; 3]` implements `From<(T, T, T)>`
[INFO] [stdout]              `[T; 4]` implements `From<(T, T, T, T)>`
[INFO] [stdout]              `[T; 5]` implements `From<(T, T, T, T, T)>`
[INFO] [stdout]              `[T; 6]` implements `From<(T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 7]` implements `From<(T, T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 8]` implements `From<(T, T, T, T, T, T, T, T)>`
[INFO] [stdout]            and 6 others
[INFO] [stdout] note: required by a bound in `merkle_heapless::traits::HashT::Output`
[INFO] [stdout]   --> src/traits.rs:15:63
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type Output: Hash + Default + Copy + PartialEq + Debug  + From<u8>;
[INFO] [stdout]    |                                                               ^^^^^^^^ required by this bound in `HashT::Output`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_core`
[INFO] [stdout]   --> src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         sp_core::blake2_256(input)
[INFO] [stdout]    |         ^^^^^^^ use of unresolved module or unlinked crate `sp_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 95) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `MAX_HEIGHT` in this scope
[INFO] [stdout]    --> src/lib.rs:101:36
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  96 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_95_0<MAX_HEIGHT>() {
[INFO] [stdout]     |                                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `YourHash` in this scope
[INFO] [stdout]    --> src/lib.rs:101:48
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  96 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_95_0<YourHash>() {
[INFO] [stdout]     |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected
[INFO] [stdout]    --> src/lib.rs:101:36
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, { MAX_HEIGHT }, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                    +            +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |     &[b"apple", b"banana"]
[INFO] [stdout]     |                 ^^^^^^^^^ expected an array with a size of 5, found one with a size of 6
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0747.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 109) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `merkle_heapless::mmr_macro`
[INFO] [stdout]    --> src/lib.rs:117:23
[INFO] [stdout]     |
[INFO] [stdout] 117 | use merkle_heapless::{mmr_macro};
[INFO] [stdout]     |                       ^^^^^^^^^ no `mmr_macro` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 157 | #[cfg(feature = "mmr_macro")]
[INFO] [stdout]     |       --------------------- the item is gated behind the `mmr_macro` feature
[INFO] [stdout] 158 | pub use mmr_macro;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super`
[INFO] [stdout]    --> src/lib.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | mmr_macro::mmr!(Type = FooMMR, BranchFactor = 2, Peaks = 3, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdHash` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `mmr_macro::mmr` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super`
[INFO] [stdout]    --> src/lib.rs:122:1
[INFO] [stdout]     |
[INFO] [stdout] 122 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdHash` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `mmr_macro::mmr` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `height` found for enum `MerkleMountainRangePeak` in the current scope
[INFO] [stdout]    --> src/lib.rs:127:27
[INFO] [stdout]     |
[INFO] [stdout] 122 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]     | ------------------------------------------------------------------------------------- method `height` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 127 | assert_eq!(mmr.peaks()[0].height(), 5 - 3);
[INFO] [stdout]     |                           ^^^^^^ method not found in `MerkleMountainRangePeak`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/traits.rs:73:8
[INFO] [stdout]     |
[INFO] [stdout]  73 |     fn height(&self) -> usize;
[INFO] [stdout]     |        ------ the method is available for `MerkleMountainRangePeak` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `StaticTreeTrait` which provides `height` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 114 + use crate::merkle_heapless::traits::StaticTreeTrait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 63) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `YourHash` in this scope
[INFO] [stdout]   --> src/lib.rs:72:47
[INFO] [stdout]    |
[INFO] [stdout] 72 | let mut tree = StaticBinaryTree::<MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_63_0<YourHash>() {
[INFO] [stdout]    |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |     &[b"apple", b"banana"]
[INFO] [stdout]    |                 ^^^^^^^^^ expected an array with a size of 5, found one with a size of 6
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 109)
[INFO] [stdout]     src/lib.rs - (line 128)
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout]     src/lib.rs - (line 63)
[INFO] [stdout]     src/lib.rs - (line 80)
[INFO] [stdout]     src/lib.rs - (line 95)
[INFO] [stdout]     src/lib.rs - augmentable (line 146)
[INFO] [stdout]     src/lib.rs - augmentable (line 166)
[INFO] [stdout]     src/lib.rs - compactable (line 148)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d76367df1580b8599b0a0bf28a08615493abefadff6c3c77e05c15a9334e7c72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d76367df1580b8599b0a0bf28a08615493abefadff6c3c77e05c15a9334e7c72", kill_on_drop: false }`
[INFO] [stdout] d76367df1580b8599b0a0bf28a08615493abefadff6c3c77e05c15a9334e7c72
