[INFO] fetching crate smtree 0.1.1... [INFO] testing smtree-0.1.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate smtree 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate smtree 0.1.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate smtree 0.1.1 [INFO] finished tweaking crates.io crate smtree 0.1.1 [INFO] tweaked toml for crates.io crate smtree 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2422c6cc1ee6e0a82944a8f43a5da8ac1d485e582af0d048d6dc287be8e9cfe [INFO] running `Command { std: "docker" "start" "-a" "e2422c6cc1ee6e0a82944a8f43a5da8ac1d485e582af0d048d6dc287be8e9cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2422c6cc1ee6e0a82944a8f43a5da8ac1d485e582af0d048d6dc287be8e9cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2422c6cc1ee6e0a82944a8f43a5da8ac1d485e582af0d048d6dc287be8e9cfe", kill_on_drop: false }` [INFO] [stdout] e2422c6cc1ee6e0a82944a8f43a5da8ac1d485e582af0d048d6dc287be8e9cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 906ecc65a07db056899ff09cbd60599d231c5be129e830abf748dffc3880045a [INFO] running `Command { std: "docker" "start" "-a" "906ecc65a07db056899ff09cbd60599d231c5be129e830abf748dffc3880045a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling smtree v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.72s [INFO] running `Command { std: "docker" "inspect" "906ecc65a07db056899ff09cbd60599d231c5be129e830abf748dffc3880045a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "906ecc65a07db056899ff09cbd60599d231c5be129e830abf748dffc3880045a", kill_on_drop: false }` [INFO] [stdout] 906ecc65a07db056899ff09cbd60599d231c5be129e830abf748dffc3880045a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbe8d7504ce7fcdaf0f3ce1bec782c22c7ade9cb32a22d6e324c0dbf17e2f431 [INFO] running `Command { std: "docker" "start" "-a" "cbe8d7504ce7fcdaf0f3ce1bec782c22c7ade9cb32a22d6e324c0dbf17e2f431", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling smtree v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 30.85s [INFO] running `Command { std: "docker" "inspect" "cbe8d7504ce7fcdaf0f3ce1bec782c22c7ade9cb32a22d6e324c0dbf17e2f431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe8d7504ce7fcdaf0f3ce1bec782c22c7ade9cb32a22d6e324c0dbf17e2f431", kill_on_drop: false }` [INFO] [stdout] cbe8d7504ce7fcdaf0f3ce1bec782c22c7ade9cb32a22d6e324c0dbf17e2f431 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6b02bf8b0d898919dcbd7eb9ca390f1d0bd77f6c1faf104cdb9a10b5d6feb29 [INFO] running `Command { std: "docker" "start" "-a" "c6b02bf8b0d898919dcbd7eb9ca390f1d0bd77f6c1faf104cdb9a10b5d6feb29", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] running 4 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/smtree-6841d7a6041e5db4) [INFO] [stdout] test tests::test_tree_exceed_max_height - should panic ... ok [INFO] [stdout] test tests::test_index_exceed_max_height - should panic ... ok [INFO] [stdout] test tests::test_padding_provable ... ok [INFO] [stdout] test tests::test_smt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.76s [INFO] [stdout] [INFO] [stderr] Doc-tests smtree [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/pad_secret.rs - pad_secret::Secret::generate (line 89) ... FAILED [INFO] [stdout] test src/pad_secret.rs - pad_secret::Secret::from_bytes (line 50) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/pad_secret.rs - pad_secret::Secret::generate (line 89) stdout ---- [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/pad_secret.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate rand; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | #[cfg(feature = "std")] [INFO] [stdout] ... | [INFO] [stdout] 10 | | let secret_key: Secret = Secret::generate(&mut csprng); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pad_secret.rs - pad_secret::Secret::from_bytes (line 50) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> src/pad_secret.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 3 | fn doctest() -> Result { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SignatureError` in this scope [INFO] [stdout] --> src/pad_secret.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 3 | fn doctest() -> Result { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/pad_secret.rs - pad_secret::Secret::from_bytes (line 50) [INFO] [stdout] src/pad_secret.rs - pad_secret::Secret::generate (line 89) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c6b02bf8b0d898919dcbd7eb9ca390f1d0bd77f6c1faf104cdb9a10b5d6feb29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b02bf8b0d898919dcbd7eb9ca390f1d0bd77f6c1faf104cdb9a10b5d6feb29", kill_on_drop: false }` [INFO] [stdout] c6b02bf8b0d898919dcbd7eb9ca390f1d0bd77f6c1faf104cdb9a10b5d6feb29