[INFO] cloning repository https://github.com/banditpig/AoC_2015_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/banditpig/AoC_2015_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbanditpig%2FAoC_2015_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbanditpig%2FAoC_2015_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c17ec8b7ed670bd99b4299a2c73fb4787a1c2604 [INFO] checking banditpig/AoC_2015_Rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbanditpig%2FAoC_2015_Rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/banditpig/AoC_2015_Rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/banditpig/AoC_2015_Rust [INFO] finished tweaking git repo https://github.com/banditpig/AoC_2015_Rust [INFO] tweaked toml for git repo https://github.com/banditpig/AoC_2015_Rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/banditpig/AoC_2015_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe7584a0455ccdc0ef12bafcfc0788476adbd7b0c27480050c0cc96db6c61ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fe7584a0455ccdc0ef12bafcfc0788476adbd7b0c27480050c0cc96db6c61ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe7584a0455ccdc0ef12bafcfc0788476adbd7b0c27480050c0cc96db6c61ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe7584a0455ccdc0ef12bafcfc0788476adbd7b0c27480050c0cc96db6c61ea", kill_on_drop: false }` [INFO] [stdout] 4fe7584a0455ccdc0ef12bafcfc0788476adbd7b0c27480050c0cc96db6c61ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10c0a2425c4f7235b2d22f7fd14b2dc471d6f245b631f41bc1d967384cc5a41a [INFO] running `Command { std: "docker" "start" "-a" "10c0a2425c4f7235b2d22f7fd14b2dc471d6f245b631f41bc1d967384cc5a41a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | fn run_ops_gen<'a, T>(ops: &AllOps, lights: &'a mut Switchable) -> &'a mut Switchable { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Switchable` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:129:79 [INFO] [stdout] | [INFO] [stdout] 129 | fn run_ops_gen<'a, T>(ops: &AllOps, lights: &'a mut Switchable) -> &'a mut Switchable { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Switchable` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | fn run_ops_gen<'a, T>(ops: &AllOps, lights: &'a mut Switchable) -> &'a mut Switchable { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Switchable` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:129:79 [INFO] [stdout] | [INFO] [stdout] 129 | fn run_ops_gen<'a, T>(ops: &AllOps, lights: &'a mut Switchable) -> &'a mut Switchable { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Switchable` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day6.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | let mut old = self[r][c]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_duplicates` [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn has_duplicates(v: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/day5.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | for pair in PAIRS.into_iter() { [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] 29 | for pair in PAIRS.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 29 | for pair in PAIRS { [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day6.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | let mut old = self[r][c]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_duplicates` [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn has_duplicates(v: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/day5.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | for pair in PAIRS.into_iter() { [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] 29 | for pair in PAIRS.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 29 | for pair in PAIRS { [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.34s [INFO] running `Command { std: "docker" "inspect" "10c0a2425c4f7235b2d22f7fd14b2dc471d6f245b631f41bc1d967384cc5a41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c0a2425c4f7235b2d22f7fd14b2dc471d6f245b631f41bc1d967384cc5a41a", kill_on_drop: false }` [INFO] [stdout] 10c0a2425c4f7235b2d22f7fd14b2dc471d6f245b631f41bc1d967384cc5a41a