[INFO] fetching crate merkle-heapless 0.0.7...
[INFO] testing merkle-heapless-0.0.7 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate merkle-heapless 0.0.7 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate merkle-heapless 0.0.7 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 8 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mmr-macro v0.0.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fecb1d522579a7890b0380f1ceb288eb6b7edac1898a66c991562d2f595f649
[INFO] running `Command { std: "docker" "start" "-a" "6fecb1d522579a7890b0380f1ceb288eb6b7edac1898a66c991562d2f595f649", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fecb1d522579a7890b0380f1ceb288eb6b7edac1898a66c991562d2f595f649", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fecb1d522579a7890b0380f1ceb288eb6b7edac1898a66c991562d2f595f649", kill_on_drop: false }`
[INFO] [stdout] 6fecb1d522579a7890b0380f1ceb288eb6b7edac1898a66c991562d2f595f649
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c42017e2feb7a1f18c797bc0e0b55bb161dcdca51400f472ac6b4a6b68f2e716
[INFO] running `Command { std: "docker" "start" "-a" "c42017e2feb7a1f18c797bc0e0b55bb161dcdca51400f472ac6b4a6b68f2e716", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling mmr-macro v0.0.7
[INFO] [stderr]    Compiling merkle-heapless v0.0.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
[INFO] running `Command { std: "docker" "inspect" "c42017e2feb7a1f18c797bc0e0b55bb161dcdca51400f472ac6b4a6b68f2e716", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c42017e2feb7a1f18c797bc0e0b55bb161dcdca51400f472ac6b4a6b68f2e716", kill_on_drop: false }`
[INFO] [stdout] c42017e2feb7a1f18c797bc0e0b55bb161dcdca51400f472ac6b4a6b68f2e716
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eba83ee929b19c215405e97fc6df55ef49365307436faea66e52d687abc97beb
[INFO] running `Command { std: "docker" "start" "-a" "eba83ee929b19c215405e97fc6df55ef49365307436faea66e52d687abc97beb", kill_on_drop: false }`
[INFO] [stderr]    Compiling merkle-heapless v0.0.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "eba83ee929b19c215405e97fc6df55ef49365307436faea66e52d687abc97beb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eba83ee929b19c215405e97fc6df55ef49365307436faea66e52d687abc97beb", kill_on_drop: false }`
[INFO] [stdout] eba83ee929b19c215405e97fc6df55ef49365307436faea66e52d687abc97beb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f4d57e09c7cc22b3dacede25c3a0f64f4e33ca41165402eba6ff6c441814a489
[INFO] running `Command { std: "docker" "start" "-a" "f4d57e09c7cc22b3dacede25c3a0f64f4e33ca41165402eba6ff6c441814a489", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/merkle_heapless-e0503e037fc3d51f)
[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] [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 - compactable (line 148) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 80) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] test src/lib.rs - augmentable (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 95) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 109) ... 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] 3 | 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] 5 | 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] 6 | 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] 7 | 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] 8 | 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] 4 | 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] 3 + use merkle_heapless::augmentable::DefaultAugmentable;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ARITY` in this scope
[INFO] [stdout]  --> src/lib.rs:168:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<ARITY>() {
[INFO] [stdout]   |                                                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HEIGHT_2` in this scope
[INFO] [stdout]  --> src/lib.rs:168:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<HEIGHT_2>() {
[INFO] [stdout]   |                                                                       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StdHash` in this scope
[INFO] [stdout]  --> src/lib.rs:168:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<StdHash>() {
[INFO] [stdout]   |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MAX_WORD_LEN` in this scope
[INFO] [stdout]  --> src/lib.rs:168:58
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 3 | 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] 8 | mt.try_merge(mt2).unwrap();
[INFO] [stdout]   | ^^ help: a local variable with a similar name exists: `mt2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - compactable (line 148) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `StdHash` in this scope
[INFO] [stdout]   --> src/lib.rs:155:51
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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] 4  | 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] 10 | 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]   --> /opt/rustwide/workdir/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] 10 | 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, E0412.
[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 80) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]  --> src/lib.rs:83:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 6 | 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] 9 | 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] 10 | 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] 12 | 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 - (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] 14 |     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; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
[INFO] [stdout]              <[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
[INFO] [stdout]              <[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
[INFO] [stdout]              <[T; 1] as From<(T,)>>
[INFO] [stdout]              <[T; 2] as From<(T, T)>>
[INFO] [stdout]              <[T; 3] as From<(T, T, T)>>
[INFO] [stdout]              <[T; 4] as From<(T, T, T, T)>>
[INFO] [stdout]              <[T; 5] as From<(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]   --> /opt/rustwide/workdir/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] 25 |     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; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
[INFO] [stdout]              <[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
[INFO] [stdout]              <[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
[INFO] [stdout]              <[T; 1] as From<(T,)>>
[INFO] [stdout]              <[T; 2] as From<(T, T)>>
[INFO] [stdout]              <[T; 3] as From<(T, T, T)>>
[INFO] [stdout]              <[T; 4] as From<(T, T, T, T)>>
[INFO] [stdout]              <[T; 5] as From<(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]   --> /opt/rustwide/workdir/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 undeclared crate or module `sp_core`
[INFO] [stdout]   --> src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         sp_core::blake2_256(input)
[INFO] [stdout]    |         ^^^^^^^ use of undeclared crate or module `sp_core`
[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 63) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `YourHash` in this scope
[INFO] [stdout]   --> src/lib.rs:72:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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] 4  | 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] 13 |     &[b"apple", b"banana"]
[INFO] [stdout]    |                 ^^^^^^^^^ expected an array with a fixed size of 5 elements, found one with 6 elements
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - augmentable (line 146) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HEIGHT` in this scope
[INFO] [stdout]   --> src/lib.rs:155:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0<HEIGHT>() {
[INFO] [stdout]    |                                                                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StdHash` in this scope
[INFO] [stdout]   --> src/lib.rs:155:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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] 4  | 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] 12 | 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] 12 | 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: E0412, E0747.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 95) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `MAX_HEIGHT` in this scope
[INFO] [stdout]  --> src/lib.rs:101:36
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_95_0<MAX_HEIGHT>() {
[INFO] [stdout]   |                                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `YourHash` in this scope
[INFO] [stdout]  --> src/lib.rs:101:48
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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] 4 | 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] 9 | 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] 9 | 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] 10 |     &[b"apple", b"banana"]
[INFO] [stdout]    |                 ^^^^^^^^^ expected an array with a fixed size of 5 elements, found one with 6 elements
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, 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:115:23
[INFO] [stdout]     |
[INFO] [stdout] 9   | 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]    --> /opt/rustwide/workdir/src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub use mmr_macro;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `mmr_macro` feature
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super`
[INFO] [stdout]   --> src/lib.rs:117:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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:120:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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:125:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ------------------------------------------------------------------------------------- method `height` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 | assert_eq!(mmr.peaks()[0].height(), 5 - 3);
[INFO] [stdout]    |                           ^^^^^^ method not found in `MerkleMountainRangePeak`
[INFO] [stdout]    |
[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 `height`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `root` found for enum `FooMMRPeak` in the current scope
[INFO] [stdout]   --> src/lib.rs:117:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mmr_macro::mmr!(Type = FooMMR, BranchFactor = 2, Peaks = 3, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | method not found in `FooMMRPeak`
[INFO] [stdout]    | method `root` not found for this enum
[INFO] [stdout]    |
[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 `root`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[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 `generate_proof` found for enum `FooMMRPeak` in the current scope
[INFO] [stdout]   --> src/lib.rs:117:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mmr_macro::mmr!(Type = FooMMR, BranchFactor = 2, Peaks = 3, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | method not found in `FooMMRPeak`
[INFO] [stdout]    | method `generate_proof` not found for this enum
[INFO] [stdout]    |
[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 `generate_proof`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[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 `base_layer_size` found for reference `&FooMMRPeak` in the current scope
[INFO] [stdout]   --> src/lib.rs:117:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mmr_macro::mmr!(Type = FooMMR, BranchFactor = 2, Peaks = 3, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&FooMMRPeak`
[INFO] [stdout]    |
[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 `base_layer_size`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[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 `root` found for enum `MerkleMountainRangePeak` in the current scope
[INFO] [stdout]   --> src/lib.rs:120:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | method not found in `MerkleMountainRangePeak`
[INFO] [stdout]    | method `root` not found for this enum
[INFO] [stdout]    |
[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 `root`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[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 `generate_proof` found for enum `MerkleMountainRangePeak` in the current scope
[INFO] [stdout]   --> src/lib.rs:120:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | method not found in `MerkleMountainRangePeak`
[INFO] [stdout]    | method `generate_proof` not found for this enum
[INFO] [stdout]    |
[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 `generate_proof`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[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 `base_layer_size` found for reference `&MerkleMountainRangePeak` in the current scope
[INFO] [stdout]   --> src/lib.rs:120:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&MerkleMountainRangePeak`
[INFO] [stdout]    |
[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 `base_layer_size`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `StaticTreeTrait`
[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: aborting due to 10 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] 
[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.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f4d57e09c7cc22b3dacede25c3a0f64f4e33ca41165402eba6ff6c441814a489", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4d57e09c7cc22b3dacede25c3a0f64f4e33ca41165402eba6ff6c441814a489", kill_on_drop: false }`
[INFO] [stdout] f4d57e09c7cc22b3dacede25c3a0f64f4e33ca41165402eba6ff6c441814a489
