[INFO] cloning repository https://github.com/y6nH/aoc2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y6nH/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy6nH%2Faoc2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy6nH%2Faoc2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2cfacfebdd6184dbaa69ce647d86fcf189e2267 [INFO] checking y6nH/aoc2018 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy6nH%2Faoc2018" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y6nH/aoc2018 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/y6nH/aoc2018 [INFO] finished tweaking git repo https://github.com/y6nH/aoc2018 [INFO] tweaked toml for git repo https://github.com/y6nH/aoc2018 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/y6nH/aoc2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca33ea33b397d4cb4dfed2c15df9e201273c87d034dcd1a189d8f47bd1074632 [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" "ca33ea33b397d4cb4dfed2c15df9e201273c87d034dcd1a189d8f47bd1074632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca33ea33b397d4cb4dfed2c15df9e201273c87d034dcd1a189d8f47bd1074632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca33ea33b397d4cb4dfed2c15df9e201273c87d034dcd1a189d8f47bd1074632", kill_on_drop: false }` [INFO] [stdout] ca33ea33b397d4cb4dfed2c15df9e201273c87d034dcd1a189d8f47bd1074632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df37d54f36ea31bd4c6c1e8b541c9a5239740283f1e2f2c0781566162fb82af [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" "0df37d54f36ea31bd4c6c1e8b541c9a5239740283f1e2f2c0781566162fb82af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `coords` [INFO] [stdout] --> src/day6.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/day6.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day1.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | for mut line in split { [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/day1.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for mut line in split { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day1.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day1.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `only_one_difference` [INFO] [stdout] --> src/day2.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn only_one_difference(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_claim` [INFO] [stdout] --> src/day3.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn check_claim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day4.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day5.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes` [INFO] [stdout] --> src/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn collapse_bytes(bytes: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes_loop` [INFO] [stdout] --> src/day5.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn collapse_bytes_loop(bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day6.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_coords` [INFO] [stdout] --> src/day6.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_coords() -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_closest` [INFO] [stdout] --> src/day6.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coords` [INFO] [stdout] --> src/day6.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/day6.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day1.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | for mut line in split { [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/day1.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for mut line in split { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day1.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day1.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `only_one_difference` [INFO] [stdout] --> src/day2.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn only_one_difference(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_claim` [INFO] [stdout] --> src/day3.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn check_claim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day4.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b` [INFO] [stdout] --> src/day5.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes` [INFO] [stdout] --> src/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn collapse_bytes(bytes: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_bytes_loop` [INFO] [stdout] --> src/day5.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn collapse_bytes_loop(bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `a` [INFO] [stdout] --> src/day6.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_coords` [INFO] [stdout] --> src/day6.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_coords() -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_closest` [INFO] [stdout] --> src/day6.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_closest(coords: &Vec<(usize, usize)>, target: &(usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.68s [INFO] running `Command { std: "docker" "inspect" "0df37d54f36ea31bd4c6c1e8b541c9a5239740283f1e2f2c0781566162fb82af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df37d54f36ea31bd4c6c1e8b541c9a5239740283f1e2f2c0781566162fb82af", kill_on_drop: false }` [INFO] [stdout] 0df37d54f36ea31bd4c6c1e8b541c9a5239740283f1e2f2c0781566162fb82af