[INFO] fetching crate secret-tree 0.4.0... [INFO] testing secret-tree-0.4.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate secret-tree 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate secret-tree 0.4.0 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 secret-tree 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate secret-tree 0.4.0 [INFO] tweaked toml for crates.io crate secret-tree 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate secret-tree 0.4.0 already has a lockfile, it will not be regenerated [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 5e74d24eda6fd2744c49970a51b95140ce77a88d037cb4fc7462d07e7c7c8f64 [INFO] running `Command { std: "docker" "start" "-a" "5e74d24eda6fd2744c49970a51b95140ce77a88d037cb4fc7462d07e7c7c8f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e74d24eda6fd2744c49970a51b95140ce77a88d037cb4fc7462d07e7c7c8f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e74d24eda6fd2744c49970a51b95140ce77a88d037cb4fc7462d07e7c7c8f64", kill_on_drop: false }` [INFO] [stdout] 5e74d24eda6fd2744c49970a51b95140ce77a88d037cb4fc7462d07e7c7c8f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] fa280381f167914a885f0aa619fc0ac2e4cdff8f7cf3a955e7e7ef8d0af0f6c0 [INFO] running `Command { std: "docker" "start" "-a" "fa280381f167914a885f0aa619fc0ac2e4cdff8f7cf3a955e7e7ef8d0af0f6c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.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 secrecy v0.7.0 [INFO] [stderr] Compiling secret-tree v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.47s [INFO] running `Command { std: "docker" "inspect" "fa280381f167914a885f0aa619fc0ac2e4cdff8f7cf3a955e7e7ef8d0af0f6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa280381f167914a885f0aa619fc0ac2e4cdff8f7cf3a955e7e7ef8d0af0f6c0", kill_on_drop: false }` [INFO] [stdout] fa280381f167914a885f0aa619fc0ac2e4cdff8f7cf3a955e7e7ef8d0af0f6c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 8d503eae6171dbeeb0b1e72bdace790de189f4473a3c5ebd25d40efe0d8a49ab [INFO] running `Command { std: "docker" "start" "-a" "8d503eae6171dbeeb0b1e72bdace790de189f4473a3c5ebd25d40efe0d8a49ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling semver-parser v0.9.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling const-decoder v0.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling salsa20 v0.7.2 [INFO] [stderr] Compiling scrypt v0.5.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hex-buffer-serde v0.2.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pwbox v0.4.0 [INFO] [stderr] Compiling version-sync v0.9.2 [INFO] [stderr] Compiling secret-tree v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 27.60s [INFO] running `Command { std: "docker" "inspect" "8d503eae6171dbeeb0b1e72bdace790de189f4473a3c5ebd25d40efe0d8a49ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d503eae6171dbeeb0b1e72bdace790de189f4473a3c5ebd25d40efe0d8a49ab", kill_on_drop: false }` [INFO] [stdout] 8d503eae6171dbeeb0b1e72bdace790de189f4473a3c5ebd25d40efe0d8a49ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 7c4051128fe3fade00d1a8bcfc50a3ec26a7088842c563d7b18cb2c005865a75 [INFO] running `Command { std: "docker" "start" "-a" "7c4051128fe3fade00d1a8bcfc50a3ec26a7088842c563d7b18cb2c005865a75", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] running 13 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/secret_tree-7840d8ef01a15d1c) [INFO] [stdout] test kdf::sodium_test_vectors_64byte_output ... ok [INFO] [stdout] test tests::filling_acceptable_buffers ... ok [INFO] [stdout] test tests::fill_and_rng_result_in_different_data ... ok [INFO] [stdout] test tests::buffers_with_different_size_should_be_unrelated ... ok [INFO] [stdout] test tests::overly_long_name_error ... ok [INFO] [stdout] test tests::name_with_null_chars_error ... ok [INFO] [stdout] test tests::children_with_same_bytes_in_key ... ok [INFO] [stdout] test tests::name_new_pads_input_with_zeros ... ok [INFO] [stdout] test tests::overly_long_name_cannot_be_created ... ok [INFO] [stdout] test kdf::sodium_test_vectors_varying_len_output ... ok [INFO] [stderr] Running tests/version_match.rs (/opt/rustwide/target/debug/deps/version_match-59c4aa8375ba0657) [INFO] [stdout] test tests::filling_undersized_key ... ok [INFO] [stdout] test tests::filling_oversized_key ... ok [INFO] [stdout] test tests::name_with_null_chars_cannot_be_created ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test readme_is_in_sync ... ok [INFO] [stderr] Doc-tests secret-tree [INFO] [stdout] test html_root_url_is_in_sync ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - Name::new (line 355) ... ok [INFO] [stdout] test src/lib.rs - Name::new (line 362) ... ok [INFO] [stdout] test src/lib.rs - SecretTree (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - (line 486) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... ok [INFO] [stdout] test src/lib.rs - Name (line 330) ... ok [INFO] [stdout] test src/lib.rs - Name::new (line 348) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SecretTree (line 162) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rand::thread_rng` [INFO] [stdout] --> src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ no `thread_rng` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 486) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rand::thread_rng` [INFO] [stdout] --> src/lib.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ no `thread_rng` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 486) [INFO] [stdout] src/lib.rs - SecretTree (line 162) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7c4051128fe3fade00d1a8bcfc50a3ec26a7088842c563d7b18cb2c005865a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4051128fe3fade00d1a8bcfc50a3ec26a7088842c563d7b18cb2c005865a75", kill_on_drop: false }` [INFO] [stdout] 7c4051128fe3fade00d1a8bcfc50a3ec26a7088842c563d7b18cb2c005865a75