[INFO] cloning repository https://github.com/andyrbell/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/andyrbell/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrbell%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrbell%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3671cd06ea21839e1970511adcc50361fc8ed945 [INFO] checking andyrbell/advent-of-code-2019 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrbell%2Fadvent-of-code-2019" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andyrbell/advent-of-code-2019 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andyrbell/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/andyrbell/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/andyrbell/advent-of-code-2019 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/andyrbell/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17cfd614a4dade54de7e2cd0403b3f8ef04ea798d07ad096cc99010b3d2d8b74 [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" "17cfd614a4dade54de7e2cd0403b3f8ef04ea798d07ad096cc99010b3d2d8b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17cfd614a4dade54de7e2cd0403b3f8ef04ea798d07ad096cc99010b3d2d8b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cfd614a4dade54de7e2cd0403b3f8ef04ea798d07ad096cc99010b3d2d8b74", kill_on_drop: false }` [INFO] [stdout] 17cfd614a4dade54de7e2cd0403b3f8ef04ea798d07ad096cc99010b3d2d8b74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 53d8b5caacdda7e1bef3fce0c3609c542fa4835b83735b14d0b8cac217c5aed8 [INFO] running `Command { std: "docker" "start" "-a" "53d8b5caacdda7e1bef3fce0c3609c542fa4835b83735b14d0b8cac217c5aed8", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking advent-of-code-2019-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/day02.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::read_input` [INFO] [stdout] --> src/day02.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::read_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::split_csv` [INFO] [stdout] --> src/day02.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::split_csv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/day02.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn read_input(file: &str, line_mapper: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_to_int` [INFO] [stdout] --> src/utils.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn str_to_int(s: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_csv` [INFO] [stdout] --> src/utils.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn split_csv(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part1` [INFO] [stdout] --> src/day01.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn solve_part1(input: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part2` [INFO] [stdout] --> src/day01.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve_part2(input: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_fuel` [INFO] [stdout] --> src/day01.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn calculate_fuel(acc: i64, mass: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/day01.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part1` [INFO] [stdout] --> src/day02.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn solve_part1(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_program` [INFO] [stdout] --> src/day02.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn run_program(pointer: i32, mut opcodes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `multiply` [INFO] [stdout] --> src/day02.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn multiply(pointer: i32, opcodes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/day02.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn add(pointer: i32, opcodes: &mut Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part2` [INFO] [stdout] --> src/day02.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn solve_part2(input: &Vec, noun: i64, verb: i64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `never_decreases` [INFO] [stdout] --> src/day04.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn never_decreases(password: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `contains_double` [INFO] [stdout] --> src/day04.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn contains_double(password: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `contains_exclusive_double` [INFO] [stdout] --> src/day04.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn contains_exclusive_double(password: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_digits` [INFO] [stdout] --> src/day04.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn to_digits(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day02.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut input = lines[0].clone(); [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.87s [INFO] running `Command { std: "docker" "inspect" "53d8b5caacdda7e1bef3fce0c3609c542fa4835b83735b14d0b8cac217c5aed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d8b5caacdda7e1bef3fce0c3609c542fa4835b83735b14d0b8cac217c5aed8", kill_on_drop: false }` [INFO] [stdout] 53d8b5caacdda7e1bef3fce0c3609c542fa4835b83735b14d0b8cac217c5aed8