[INFO] cloning repository https://github.com/PlasmaPower/random-walk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PlasmaPower/random-walk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlasmaPower%2Frandom-walk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlasmaPower%2Frandom-walk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c3be3cb2aee6f580185c50dbbc60c3aabe38750 [INFO] checking PlasmaPower/random-walk against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlasmaPower%2Frandom-walk" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PlasmaPower/random-walk on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PlasmaPower/random-walk [INFO] finished tweaking git repo https://github.com/PlasmaPower/random-walk [INFO] tweaked toml for git repo https://github.com/PlasmaPower/random-walk written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/PlasmaPower/random-walk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 231dc321611b380696852835f3a357dc574cbb1aecdef24ab6075c7df9ba2421 [INFO] running `Command { std: "docker" "start" "-a" "231dc321611b380696852835f3a357dc574cbb1aecdef24ab6075c7df9ba2421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "231dc321611b380696852835f3a357dc574cbb1aecdef24ab6075c7df9ba2421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231dc321611b380696852835f3a357dc574cbb1aecdef24ab6075c7df9ba2421", kill_on_drop: false }` [INFO] [stdout] 231dc321611b380696852835f3a357dc574cbb1aecdef24ab6075c7df9ba2421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ced7a7a6105737de95c99b1e8abb8fc8607bd38937a5b6c808cbe687345900d2 [INFO] running `Command { std: "docker" "start" "-a" "ced7a7a6105737de95c99b1e8abb8fc8607bd38937a5b6c808cbe687345900d2", kill_on_drop: false }` [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking clap v2.24.2 [INFO] [stderr] Checking random-walk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn random_walk(mut rng: &mut Rng, starting_room: &Room) -> u8 { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref ROOMS: HashMap<&'static str, Room> = { [INFO] [stdout] 40 | | let mut map = HashMap::new(); [INFO] [stdout] 41 | | map.insert("A", Room::new(vec!["F", "D"])); [INFO] [stdout] ... | [INFO] [stdout] 48 | | }; [INFO] [stdout] 49 | | } [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref ROOMS: HashMap<&'static str, Room> = { [INFO] [stdout] 40 | | let mut map = HashMap::new(); [INFO] [stdout] 41 | | map.insert("A", Room::new(vec!["F", "D"])); [INFO] [stdout] ... | [INFO] [stdout] 48 | | }; [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [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:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn random_walk(mut rng: &mut Rng, starting_room: &Room) -> u8 { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref ROOMS: HashMap<&'static str, Room> = { [INFO] [stdout] 40 | | let mut map = HashMap::new(); [INFO] [stdout] 41 | | map.insert("A", Room::new(vec!["F", "D"])); [INFO] [stdout] ... | [INFO] [stdout] 48 | | }; [INFO] [stdout] 49 | | } [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref ROOMS: HashMap<&'static str, Room> = { [INFO] [stdout] 40 | | let mut map = HashMap::new(); [INFO] [stdout] 41 | | map.insert("A", Room::new(vec!["F", "D"])); [INFO] [stdout] ... | [INFO] [stdout] 48 | | }; [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [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: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/main.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | for (index, count) in small_counts.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 109 | for (index, count) in small_counts.iter().enumerate() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 109 | for (index, count) in IntoIterator::into_iter(small_counts).enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/main.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | for (index, count) in small_counts.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 109 | for (index, count) in small_counts.iter().enumerate() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 109 | for (index, count) in IntoIterator::into_iter(small_counts).enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.67s [INFO] running `Command { std: "docker" "inspect" "ced7a7a6105737de95c99b1e8abb8fc8607bd38937a5b6c808cbe687345900d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced7a7a6105737de95c99b1e8abb8fc8607bd38937a5b6c808cbe687345900d2", kill_on_drop: false }` [INFO] [stdout] ced7a7a6105737de95c99b1e8abb8fc8607bd38937a5b6c808cbe687345900d2