[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019" "/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/mveytsman/advent-of-code-2019 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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/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: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", 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] 84c8d9633e6994b6ea702e707203011ac29786880e4d8fad820d796f937f07fb [INFO] running `Command { std: "docker" "start" "-a" "84c8d9633e6994b6ea702e707203011ac29786880e4d8fad820d796f937f07fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c8d9633e6994b6ea702e707203011ac29786880e4d8fad820d796f937f07fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c8d9633e6994b6ea702e707203011ac29786880e4d8fad820d796f937f07fb", kill_on_drop: false }` [INFO] [stdout] 84c8d9633e6994b6ea702e707203011ac29786880e4d8fad820d796f937f07fb [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d09582cdd7ea1601ac4876212c680be5ab3310d927d4f763b3a9cee6dc6b8a07 [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" "d09582cdd7ea1601ac4876212c680be5ab3310d927d4f763b3a9cee6dc6b8a07", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [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-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [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/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: 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: `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/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: `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: `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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid2` [INFO] [stdout] --> src/day4.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn valid2(num: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/intcode.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.46s [INFO] running `Command { std: "docker" "inspect" "d09582cdd7ea1601ac4876212c680be5ab3310d927d4f763b3a9cee6dc6b8a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09582cdd7ea1601ac4876212c680be5ab3310d927d4f763b3a9cee6dc6b8a07", kill_on_drop: false }` [INFO] [stdout] d09582cdd7ea1601ac4876212c680be5ab3310d927d4f763b3a9cee6dc6b8a07