[INFO] cloning repository https://github.com/mveytsman/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mveytsman/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8412721be21f49f4728faf35f452629524be661d [INFO] checking mveytsman/advent-of-code-2019 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mveytsman/advent-of-code-2019 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mveytsman/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/mveytsman/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/mveytsman/advent-of-code-2019 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mveytsman/advent-of-code-2019 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 897b8741a506fcd3c00270938ab897b3028437e5f6b5f2b10295c56fda089b27 [INFO] running `Command { std: "docker" "start" "-a" "897b8741a506fcd3c00270938ab897b3028437e5f6b5f2b10295c56fda089b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "897b8741a506fcd3c00270938ab897b3028437e5f6b5f2b10295c56fda089b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "897b8741a506fcd3c00270938ab897b3028437e5f6b5f2b10295c56fda089b27", kill_on_drop: false }` [INFO] [stdout] 897b8741a506fcd3c00270938ab897b3028437e5f6b5f2b10295c56fda089b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 263b67f98ded4471e7ce21d50b9d857399e34f8f1ab56467ecef4caf9a6ff67f [INFO] running `Command { std: "docker" "start" "-a" "263b67f98ded4471e7ce21d50b9d857399e34f8f1ab56467ecef4caf9a6ff67f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking advent2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | for i in 0..46867749 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | let min_x = *panels.keys().map (|(x,y)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | let max_x = *panels.keys().map (|(x,y)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *panels.keys().map (|(x,y)| y).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | let max_y = *panels.keys().map (|(x,y)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | for i in 0..46867749 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_1` [INFO] [stdout] --> src/day3.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_2` [INFO] [stdout] --> src/day3.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day3.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_1` [INFO] [stdout] --> src/day3.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_2` [INFO] [stdout] --> src/day3.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day3.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | let min_x = *panels.keys().map (|(x,y)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | let max_x = *panels.keys().map (|(x,y)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *panels.keys().map (|(x,y)| y).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | let max_y = *panels.keys().map (|(x,y)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day8.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn print_layer(layer: &Vec, width: usize, height: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day12.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | for i in 0..9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intcode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut memory = Memory::load(text); [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: unused variable: `x_1` [INFO] [stdout] --> src/day3.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_2` [INFO] [stdout] --> src/day3.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day3.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_1` [INFO] [stdout] --> src/day3.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_2` [INFO] [stdout] --> src/day3.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day3.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day3_2.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ParseIntError(std::num::ParseIntError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 5 | ParseIntError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid2` is never used [INFO] [stdout] --> src/day4.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn valid2(num: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/intcode.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day8.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn print_layer(layer: &Vec, width: usize, height: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intcode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut memory = Memory::load(text); [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: field `0` is never read [INFO] [stdout] --> src/day3_2.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ParseIntError(std::num::ParseIntError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 5 | ParseIntError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "263b67f98ded4471e7ce21d50b9d857399e34f8f1ab56467ecef4caf9a6ff67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "263b67f98ded4471e7ce21d50b9d857399e34f8f1ab56467ecef4caf9a6ff67f", kill_on_drop: false }` [INFO] [stdout] 263b67f98ded4471e7ce21d50b9d857399e34f8f1ab56467ecef4caf9a6ff67f