[INFO] fetching crate smtree 0.1.1... [INFO] testing smtree-0.1.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate smtree 0.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate smtree 0.1.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31c1e8c3582c22a4642aa545726c45f7e2231599afe08f2900593c2523ec492a [INFO] running `Command { std: "docker" "start" "-a" "31c1e8c3582c22a4642aa545726c45f7e2231599afe08f2900593c2523ec492a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31c1e8c3582c22a4642aa545726c45f7e2231599afe08f2900593c2523ec492a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c1e8c3582c22a4642aa545726c45f7e2231599afe08f2900593c2523ec492a", kill_on_drop: false }` [INFO] [stdout] 31c1e8c3582c22a4642aa545726c45f7e2231599afe08f2900593c2523ec492a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2bc5d8f2fec2de3e030a0fd9c477d02c0151e45f02f172794cad000e80d4267 [INFO] running `Command { std: "docker" "start" "-a" "f2bc5d8f2fec2de3e030a0fd9c477d02c0151e45f02f172794cad000e80d4267", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [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 crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling synstructure v0.12.4 [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 24.48s [INFO] running `Command { std: "docker" "inspect" "f2bc5d8f2fec2de3e030a0fd9c477d02c0151e45f02f172794cad000e80d4267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bc5d8f2fec2de3e030a0fd9c477d02c0151e45f02f172794cad000e80d4267", kill_on_drop: false }` [INFO] [stdout] f2bc5d8f2fec2de3e030a0fd9c477d02c0151e45f02f172794cad000e80d4267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9878649b760f2c42cf4d1b6c733637b03ff8acd07872729dd849c33408908e01 [INFO] running `Command { std: "docker" "start" "-a" "9878649b760f2c42cf4d1b6c733637b03ff8acd07872729dd849c33408908e01", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.5.4 [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 31.47s [INFO] running `Command { std: "docker" "inspect" "9878649b760f2c42cf4d1b6c733637b03ff8acd07872729dd849c33408908e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9878649b760f2c42cf4d1b6c733637b03ff8acd07872729dd849c33408908e01", kill_on_drop: false }` [INFO] [stdout] 9878649b760f2c42cf4d1b6c733637b03ff8acd07872729dd849c33408908e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23775e1c124bfba52d561fd7393295b5b3ff37f3e535a97be08dffa024156e7d [INFO] running `Command { std: "docker" "start" "-a" "23775e1c124bfba52d561fd7393295b5b3ff37f3e535a97be08dffa024156e7d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/smtree-5e1b52a8f543b70b) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_index_exceed_max_height ... ok [INFO] [stdout] test tests::test_tree_exceed_max_height ... ok [INFO] [stdout] test tests::test_padding_provable ... ok [INFO] [stderr] Doc-tests smtree [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.79s [INFO] [stdout] [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.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "23775e1c124bfba52d561fd7393295b5b3ff37f3e535a97be08dffa024156e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23775e1c124bfba52d561fd7393295b5b3ff37f3e535a97be08dffa024156e7d", kill_on_drop: false }` [INFO] [stdout] 23775e1c124bfba52d561fd7393295b5b3ff37f3e535a97be08dffa024156e7d