[INFO] cloning repository https://github.com/fangerm/adventofcode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fangerm/adventofcode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fadventofcode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fadventofcode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc14512d415105a1b96e78564e793a932470bebf [INFO] checking fangerm/adventofcode2019 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fadventofcode2019" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fangerm/adventofcode2019 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fangerm/adventofcode2019 [INFO] finished tweaking git repo https://github.com/fangerm/adventofcode2019 [INFO] tweaked toml for git repo https://github.com/fangerm/adventofcode2019 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/fangerm/adventofcode2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b75e2096243a126810ebcf32e0deba75fc2b55cff8aa9519c27e4208cbc98fe [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" "6b75e2096243a126810ebcf32e0deba75fc2b55cff8aa9519c27e4208cbc98fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b75e2096243a126810ebcf32e0deba75fc2b55cff8aa9519c27e4208cbc98fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b75e2096243a126810ebcf32e0deba75fc2b55cff8aa9519c27e4208cbc98fe", kill_on_drop: false }` [INFO] [stdout] 6b75e2096243a126810ebcf32e0deba75fc2b55cff8aa9519c27e4208cbc98fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33f70b2b103bded1a8c755807e30b90257e7352cb84b35539bf0f3f4355cb783 [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" "33f70b2b103bded1a8c755807e30b90257e7352cb84b35539bf0f3f4355cb783", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::a8::a82` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::a8::a82; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/a7.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::a8::a82` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::a8::a82; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/a7.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a7.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | for (mut amp, value) in amps.iter_mut().zip(values) { [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: variable does not need to be mutable [INFO] [stdout] --> src/a7.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut amp = &mut amps[index]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a3` [INFO] [stdout] --> src/a3.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn a3() { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_map` [INFO] [stdout] --> src/a3.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn do_map(steps: &[String], mut action: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a41` [INFO] [stdout] --> src/a4.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn a41() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a42` [INFO] [stdout] --> src/a4.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn a42() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/a4.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn run bool>(cond: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a6` [INFO] [stdout] --> src/a6.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a6() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deeper` [INFO] [stdout] --> src/a6.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn deeper(obj: &Object, nesting: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deeper_santa` [INFO] [stdout] --> src/a6.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn deeper_santa(you: &Object, dist: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_santa` [INFO] [stdout] --> src/a6.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn has_santa(obj: &Object, depth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a71` [INFO] [stdout] --> src/a7.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn a71() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a72` [INFO] [stdout] --> src/a7.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a72() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a7` [INFO] [stdout] --> src/a7.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn a7(min: isize, max: isize) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a7_exec` [INFO] [stdout] --> src/a7.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn a7_exec(values: &[isize]) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/a8.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const WIDTH: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/a8.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const HEIGHT: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LAYER_COUNT` [INFO] [stdout] --> src/a8.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const LAYER_COUNT: usize = WIDTH * HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a81` [INFO] [stdout] --> src/a8.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn a81() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a82` [INFO] [stdout] --> src/a8.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn a82() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_stdio` [INFO] [stdout] --> src/intcode.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exec_stdio(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a5` [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn a5() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a7.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | for (mut amp, value) in amps.iter_mut().zip(values) { [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: variable does not need to be mutable [INFO] [stdout] --> src/a7.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut amp = &mut amps[index]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a3` [INFO] [stdout] --> src/a3.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn a3() { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_map` [INFO] [stdout] --> src/a3.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn do_map(steps: &[String], mut action: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a41` [INFO] [stdout] --> src/a4.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn a41() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a42` [INFO] [stdout] --> src/a4.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn a42() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/a4.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn run bool>(cond: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a6` [INFO] [stdout] --> src/a6.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a6() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deeper` [INFO] [stdout] --> src/a6.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn deeper(obj: &Object, nesting: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deeper_santa` [INFO] [stdout] --> src/a6.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn deeper_santa(you: &Object, dist: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_santa` [INFO] [stdout] --> src/a6.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn has_santa(obj: &Object, depth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a71` [INFO] [stdout] --> src/a7.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn a71() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a72` [INFO] [stdout] --> src/a7.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a72() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a7` [INFO] [stdout] --> src/a7.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn a7(min: isize, max: isize) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a7_exec` [INFO] [stdout] --> src/a7.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn a7_exec(values: &[isize]) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/a8.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const WIDTH: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/a8.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const HEIGHT: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LAYER_COUNT` [INFO] [stdout] --> src/a8.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const LAYER_COUNT: usize = WIDTH * HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a81` [INFO] [stdout] --> src/a8.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn a81() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a82` [INFO] [stdout] --> src/a8.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn a82() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_stdio` [INFO] [stdout] --> src/intcode.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exec_stdio(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a5` [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn a5() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "33f70b2b103bded1a8c755807e30b90257e7352cb84b35539bf0f3f4355cb783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f70b2b103bded1a8c755807e30b90257e7352cb84b35539bf0f3f4355cb783", kill_on_drop: false }` [INFO] [stdout] 33f70b2b103bded1a8c755807e30b90257e7352cb84b35539bf0f3f4355cb783