[INFO] cloning repository https://github.com/bgillespie/AdventOfCode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgillespie/AdventOfCode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2FAdventOfCode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2FAdventOfCode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42cad5347b1c1473d88ce8de266f6cf4c309e2ee [INFO] checking bgillespie/AdventOfCode2019 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2FAdventOfCode2019" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bgillespie/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/bgillespie/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/bgillespie/AdventOfCode2019 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bgillespie/AdventOfCode2019 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bgillespie/AdventOfCode2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddefb7d8dba10154e89874f6af25f54eddb0e9cd9d05c7be2437f67b839fa09a [INFO] running `Command { std: "docker" "start" "-a" "ddefb7d8dba10154e89874f6af25f54eddb0e9cd9d05c7be2437f67b839fa09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddefb7d8dba10154e89874f6af25f54eddb0e9cd9d05c7be2437f67b839fa09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddefb7d8dba10154e89874f6af25f54eddb0e9cd9d05c7be2437f67b839fa09a", kill_on_drop: false }` [INFO] [stdout] ddefb7d8dba10154e89874f6af25f54eddb0e9cd9d05c7be2437f67b839fa09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56430acb9723184fd069ad42d6d9f6ec0838b30824dcdbeeea49b883f0000537 [INFO] running `Command { std: "docker" "start" "-a" "56430acb9723184fd069ad42d6d9f6ec0838b30824dcdbeeea49b883f0000537", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir/aoc2019) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> aoc2019/src/common.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> aoc2019/src/common.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut br = io::BufReader::new(file); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `andidx` is never read [INFO] [stdout] --> aoc2019/src/day10.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | let mut andidx: usize = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F32_RAD_TO_DEG` is never used [INFO] [stdout] --> aoc2019/src/common.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const F32_RAD_TO_DEG: f32 = 180f32 / std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> aoc2019/src/common.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - IoError(io::Error), [INFO] [stdout] 16 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_input` is never used [INFO] [stdout] --> aoc2019/src/common.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn path_to_input(day: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_file_to_string` is never used [INFO] [stdout] --> aoc2019/src/common.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn data_file_to_string(day: &str, file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> aoc2019/src/common.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn gcd(mut m: isize, mut n: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intcode` is never constructed [INFO] [stdout] --> aoc2019/src/intcode.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Intcode<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `run` are never used [INFO] [stdout] --> aoc2019/src/intcode.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Intcode<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(tape: &'a mut Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn read(&mut self, mode: isize) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn run(&'a mut self, mut input: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir/aoc) [INFO] [stdout] warning: value assigned to `andidx` is never read [INFO] [stdout] --> aoc2019/src/day10.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | let mut andidx: usize = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F32_RAD_TO_DEG` is never used [INFO] [stdout] --> aoc2019/src/common.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const F32_RAD_TO_DEG: f32 = 180f32 / std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> aoc2019/src/common.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - IoError(io::Error), [INFO] [stdout] 16 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_input` is never used [INFO] [stdout] --> aoc2019/src/common.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn path_to_input(day: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_file_to_string` is never used [INFO] [stdout] --> aoc2019/src/common.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn data_file_to_string(day: &str, file: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> aoc2019/src/common.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn gcd(mut m: isize, mut n: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "56430acb9723184fd069ad42d6d9f6ec0838b30824dcdbeeea49b883f0000537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56430acb9723184fd069ad42d6d9f6ec0838b30824dcdbeeea49b883f0000537", kill_on_drop: false }` [INFO] [stdout] 56430acb9723184fd069ad42d6d9f6ec0838b30824dcdbeeea49b883f0000537