[INFO] fetching crate smtree 0.1.2... [INFO] testing smtree-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate smtree 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate smtree 0.1.2 [INFO] finished tweaking crates.io crate smtree 0.1.2 [INFO] tweaked toml for crates.io crate smtree 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate smtree 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 103 packages to latest compatible versions [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding blake3 v0.3.8 (available: v1.8.2) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0cc8caf85558c9d0e8cb095a13b506752433282927a786bb0a6ed6cf8cffd48 [INFO] running `Command { std: "docker" "start" "-a" "c0cc8caf85558c9d0e8cb095a13b506752433282927a786bb0a6ed6cf8cffd48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0cc8caf85558c9d0e8cb095a13b506752433282927a786bb0a6ed6cf8cffd48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0cc8caf85558c9d0e8cb095a13b506752433282927a786bb0a6ed6cf8cffd48", kill_on_drop: false }` [INFO] [stdout] c0cc8caf85558c9d0e8cb095a13b506752433282927a786bb0a6ed6cf8cffd48 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfc2b5225f064d750f8d90ba7c263bc4c88bee1537b8a3b440cf8864ab2356a4 [INFO] running `Command { std: "docker" "start" "-a" "bfc2b5225f064d750f8d90ba7c263bc4c88bee1537b8a3b440cf8864ab2356a4", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling smtree v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rand` [INFO] [stdout] --> src/pad_secret.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "rand")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rand` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.46s [INFO] running `Command { std: "docker" "inspect" "bfc2b5225f064d750f8d90ba7c263bc4c88bee1537b8a3b440cf8864ab2356a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc2b5225f064d750f8d90ba7c263bc4c88bee1537b8a3b440cf8864ab2356a4", kill_on_drop: false }` [INFO] [stdout] bfc2b5225f064d750f8d90ba7c263bc4c88bee1537b8a3b440cf8864ab2356a4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28afeb575fdbf22a6b7e990ecc99ba4958f6f9d0f1af30d935fb6241f61b14bf [INFO] running `Command { std: "docker" "start" "-a" "28afeb575fdbf22a6b7e990ecc99ba4958f6f9d0f1af30d935fb6241f61b14bf", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stdout] warning: unexpected `cfg` condition value: `rand` [INFO] [stdout] --> src/pad_secret.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "rand")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rand` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling smtree v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rand` [INFO] [stdout] --> src/pad_secret.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "rand")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rand` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.27s [INFO] running `Command { std: "docker" "inspect" "28afeb575fdbf22a6b7e990ecc99ba4958f6f9d0f1af30d935fb6241f61b14bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28afeb575fdbf22a6b7e990ecc99ba4958f6f9d0f1af30d935fb6241f61b14bf", kill_on_drop: false }` [INFO] [stdout] 28afeb575fdbf22a6b7e990ecc99ba4958f6f9d0f1af30d935fb6241f61b14bf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b5b9e429a2804c77f71a4199bbeb99104069a677ca86c1462979adb02dceabf1 [INFO] running `Command { std: "docker" "start" "-a" "b5b9e429a2804c77f71a4199bbeb99104069a677ca86c1462979adb02dceabf1", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `rand` [INFO] [stderr] --> src/pad_secret.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(feature = "rand")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rand` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `smtree` (lib) generated 1 warning [INFO] [stderr] warning: `smtree` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smtree-ea51dfab304a04a4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_merkle_tree ... ok [INFO] [stdout] test tests::test_padding_provable ... ok [INFO] [stdout] test tests::test_index_exceed_max_height - should panic ... ok [INFO] [stdout] test tests::test_tree_exceed_max_height - should panic ... ok [INFO] [stdout] test tests::test_smt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.03s [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] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/pad_secret.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/pad_secret.rs:98:2 [INFO] [stdout] | [INFO] [stdout] 10 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/pad_secret.rs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [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:52:24 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 | fn doctest() -> Result { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SignatureError` in this scope [INFO] [stdout] --> src/pad_secret.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 | fn doctest() -> Result { [INFO] [stdout] | ++++++++++++++++ [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.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b5b9e429a2804c77f71a4199bbeb99104069a677ca86c1462979adb02dceabf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b9e429a2804c77f71a4199bbeb99104069a677ca86c1462979adb02dceabf1", kill_on_drop: false }` [INFO] [stdout] b5b9e429a2804c77f71a4199bbeb99104069a677ca86c1462979adb02dceabf1