[INFO] fetching crate rand-bytes 0.2.0... [INFO] testing rand-bytes-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rand-bytes 0.2.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate rand-bytes 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rand-bytes 0.2.0 [INFO] finished tweaking crates.io crate rand-bytes 0.2.0 [INFO] tweaked toml for crates.io crate rand-bytes 0.2.0 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bdaf38a6046c74382c9678e9f25d7f1c5bcc4829025628400c94ef6a5676406 [INFO] running `Command { std: "docker" "start" "-a" "5bdaf38a6046c74382c9678e9f25d7f1c5bcc4829025628400c94ef6a5676406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bdaf38a6046c74382c9678e9f25d7f1c5bcc4829025628400c94ef6a5676406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bdaf38a6046c74382c9678e9f25d7f1c5bcc4829025628400c94ef6a5676406", kill_on_drop: false }` [INFO] [stdout] 5bdaf38a6046c74382c9678e9f25d7f1c5bcc4829025628400c94ef6a5676406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0bf8c5145a74e2114d3c9dbc66e23ce745f364ffc9818610d83c2a18d123f82 [INFO] running `Command { std: "docker" "start" "-a" "b0bf8c5145a74e2114d3c9dbc66e23ce745f364ffc9818610d83c2a18d123f82", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling rand-bytes v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref RANDOM: SystemRandom = SystemRandom::new(); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn rng() -> &'static SecureRandom { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn rng() -> &'static SecureRandom { [INFO] [stdout] 46 + fn rng() -> &'static dyn SecureRandom { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stdout] 62 + fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:93 [INFO] [stdout] | [INFO] [stdout] 64 | path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stdout] 64 + path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:65:62 [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stdout] 65 + .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.67s [INFO] running `Command { std: "docker" "inspect" "b0bf8c5145a74e2114d3c9dbc66e23ce745f364ffc9818610d83c2a18d123f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0bf8c5145a74e2114d3c9dbc66e23ce745f364ffc9818610d83c2a18d123f82", kill_on_drop: false }` [INFO] [stdout] b0bf8c5145a74e2114d3c9dbc66e23ce745f364ffc9818610d83c2a18d123f82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f7231dd7c9afb519fdc70077637f052e166437b53dc8e4507e4dd2c9c6b6f15 [INFO] running `Command { std: "docker" "start" "-a" "0f7231dd7c9afb519fdc70077637f052e166437b53dc8e4507e4dd2c9c6b6f15", kill_on_drop: false }` [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling rand-bytes v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref RANDOM: SystemRandom = SystemRandom::new(); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn rng() -> &'static SecureRandom { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn rng() -> &'static SecureRandom { [INFO] [stdout] 46 + fn rng() -> &'static dyn SecureRandom { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stdout] 62 + fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:93 [INFO] [stdout] | [INFO] [stdout] 64 | path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stdout] 64 + path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:65:62 [INFO] [stdout] | [INFO] [stdout] 65 | .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stdout] 65 + .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "0f7231dd7c9afb519fdc70077637f052e166437b53dc8e4507e4dd2c9c6b6f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7231dd7c9afb519fdc70077637f052e166437b53dc8e4507e4dd2c9c6b6f15", kill_on_drop: false }` [INFO] [stdout] 0f7231dd7c9afb519fdc70077637f052e166437b53dc8e4507e4dd2c9c6b6f15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dfec2c9d56ac6dc1c693a1815e7c74d76dd58b71f4a94307d5951d5215afc68 [INFO] running `Command { std: "docker" "start" "-a" "2dfec2c9d56ac6dc1c693a1815e7c74d76dd58b71f4a94307d5951d5215afc68", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref RANDOM: SystemRandom = SystemRandom::new(); [INFO] [stderr] 51 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | fn rng() -> &'static SecureRandom { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 46 - fn rng() -> &'static SecureRandom { [INFO] [stderr] 46 + fn rng() -> &'static dyn SecureRandom { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:62:49 [INFO] [stderr] | [INFO] [stderr] 62 | fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stderr] 62 + fn get_writer<'a>(path: Option<&'a str>) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:93 [INFO] [stderr] | [INFO] [stderr] 64 | path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stderr] 64 + path.map(|path| Box::new(File::create(path).expect("Unable to create file")) as Box) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:65:62 [INFO] [stderr] | [INFO] [stderr] 65 | .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 - .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stderr] 65 + .unwrap_or_else(|| Box::new(io::stdout()) as Box); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rand-bytes` (bin "rand-bytes" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rand_bytes-cd99a7c406ac17e1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::smoke_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2dfec2c9d56ac6dc1c693a1815e7c74d76dd58b71f4a94307d5951d5215afc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfec2c9d56ac6dc1c693a1815e7c74d76dd58b71f4a94307d5951d5215afc68", kill_on_drop: false }` [INFO] [stdout] 2dfec2c9d56ac6dc1c693a1815e7c74d76dd58b71f4a94307d5951d5215afc68