[INFO] cloning repository https://github.com/isavegas/aoc_2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isavegas/aoc_2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisavegas%2Faoc_2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisavegas%2Faoc_2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20a56d011580415c40493643a2169a0aa9e372b6 [INFO] testing isavegas/aoc_2019 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisavegas%2Faoc_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/isavegas/aoc_2019 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/isavegas/aoc_2019 [INFO] finished tweaking git repo https://github.com/isavegas/aoc_2019 [INFO] tweaked toml for git repo https://github.com/isavegas/aoc_2019 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/isavegas/aoc_2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/isavegas/intcode` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packed_simd_2 v0.3.6 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 130a950fa91890c2ead6f13dbc8f7f48f3aee00c828ad4d3cb98a2bfd3059d8b [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" "130a950fa91890c2ead6f13dbc8f7f48f3aee00c828ad4d3cb98a2bfd3059d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "130a950fa91890c2ead6f13dbc8f7f48f3aee00c828ad4d3cb98a2bfd3059d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "130a950fa91890c2ead6f13dbc8f7f48f3aee00c828ad4d3cb98a2bfd3059d8b", kill_on_drop: false }` [INFO] [stdout] 130a950fa91890c2ead6f13dbc8f7f48f3aee00c828ad4d3cb98a2bfd3059d8b [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5ad1f74840f939c9c5491af219f2f01b4138fd5bbd68aea6610267200f6c53 [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" "de5ad1f74840f939c9c5491af219f2f01b4138fd5bbd68aea6610267200f6c53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling packed_simd_2 v0.3.6 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling intcode v1.0.0 (https://github.com/isavegas/intcode?tag=v1.0.0#a80167e2) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling automod v1.0.2 [INFO] [stderr] Compiling aoc_core v0.1.9 (https://github.com/isavegas/aoc_core?tag=v0.1.9#4c65938a) [INFO] [stderr] Compiling aoc_2019 v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/day/day_01.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_02.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_02.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_03.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_03.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_04.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_04.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_05.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_05.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_06.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_06.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_07.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_07.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_08.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_08.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_09.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_09.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_11.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_11.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_12.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_12.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_13.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_13.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_14.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_14.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_15.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_15.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/day/day_01.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const INPUT: &str = include_str!("../input/day_01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `str` [INFO] [stdout] --> src/day/day_04.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | str: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bin/gen_day.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | "#; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | write!(f, template!(), num_str).expect("Unable to write file"); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.25s [INFO] running `Command { std: "docker" "inspect" "de5ad1f74840f939c9c5491af219f2f01b4138fd5bbd68aea6610267200f6c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5ad1f74840f939c9c5491af219f2f01b4138fd5bbd68aea6610267200f6c53", kill_on_drop: false }` [INFO] [stdout] de5ad1f74840f939c9c5491af219f2f01b4138fd5bbd68aea6610267200f6c53 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bff3398328609f9f2bdae6cc265cc85bfeed63cf8becf4864f619e1114adeab [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" "0bff3398328609f9f2bdae6cc265cc85bfeed63cf8becf4864f619e1114adeab", kill_on_drop: false }` [INFO] [stderr] Compiling aoc_2019 v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/day/day_01.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_02.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_02.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_03.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_03.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_04.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_04.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_05.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_05.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_06.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_06.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_07.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_07.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_08.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_08.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_09.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_09.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_11.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_11.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_12.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_12.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_13.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_13.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_14.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_14.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_15.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_15.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/day/day_01.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const INPUT: &str = include_str!("../input/day_01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `str` [INFO] [stdout] --> src/day/day_04.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | str: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bin/gen_day.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | "#; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | write!(f, template!(), num_str).expect("Unable to write file"); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bin/gen_day.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | "#; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | write!(f, template!(), num_str).expect("Unable to write file"); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/day/day_01.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_02.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_02.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_03.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_03.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_04.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_04.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_05.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_05.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_06.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_06.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_07.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_07.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_08.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_08.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_09.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_09.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_11.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_11.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_12.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_12.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_13.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_13.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_14.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_14.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_15.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | fn part1(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day/day_15.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | fn part2(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/day/day_01.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const INPUT: &str = include_str!("../input/day_01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `str` [INFO] [stdout] --> src/day/day_04.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | str: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "0bff3398328609f9f2bdae6cc265cc85bfeed63cf8becf4864f619e1114adeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bff3398328609f9f2bdae6cc265cc85bfeed63cf8becf4864f619e1114adeab", kill_on_drop: false }` [INFO] [stdout] 0bff3398328609f9f2bdae6cc265cc85bfeed63cf8becf4864f619e1114adeab [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0c18b0307c1117886589f17a4e150c51671f9522c4d04ad22bc5591ca8c1c82 [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" "a0c18b0307c1117886589f17a4e150c51671f9522c4d04ad22bc5591ca8c1c82", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `lazy_static::lazy_static` [INFO] [stderr] --> src/day/day_01.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use lazy_static::lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_02.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_02.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_03.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_03.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_04.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_04.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_05.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_05.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_06.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_06.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_07.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_07.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_08.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_08.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_09.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_09.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_11.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_11.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_12.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_12.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_13.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_13.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_14.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_14.rs:101:21 [INFO] [stderr] | [INFO] [stderr] 101 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_15.rs:141:21 [INFO] [stderr] | [INFO] [stderr] 141 | fn part1(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day/day_15.rs:194:21 [INFO] [stderr] | [INFO] [stderr] 194 | fn part2(&self, input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INPUT` [INFO] [stderr] --> src/day/day_01.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const INPUT: &str = include_str!("../input/day_01.txt"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `str` [INFO] [stderr] --> src/day/day_04.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | str: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: `aoc_2019` (lib) generated 29 warnings [INFO] [stdout] running 0 tests [INFO] [stderr] warning: `aoc_2019` (lib test) generated 29 warnings (29 duplicates) [INFO] [stdout] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/bin/gen_day.rs:35:3 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 35 | "#; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 65 | write!(f, template!(), num_str).expect("Unable to write file"); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aoc_2019` (bin "gen_day" test) generated 1 warning [INFO] [stderr] warning: `aoc_2019` (bin "gen_day") generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc_2019-7bdf68c16d778aad) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc_2019-6cf6478a137d7401) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gen_day-4fb9c90a3f58bbaa) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test part2_1 ... ignored [INFO] [stderr] Running tests/day_01.rs (/opt/rustwide/target/debug/deps/day_01-9d02705e837fce5c) [INFO] [stdout] test part1_2 ... ok [INFO] [stderr] Doc-tests aoc_2019 [INFO] [stdout] test part1_1 ... ok [INFO] [stdout] test part1_4 ... ok [INFO] [stdout] test part1_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0c18b0307c1117886589f17a4e150c51671f9522c4d04ad22bc5591ca8c1c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0c18b0307c1117886589f17a4e150c51671f9522c4d04ad22bc5591ca8c1c82", kill_on_drop: false }` [INFO] [stdout] a0c18b0307c1117886589f17a4e150c51671f9522c4d04ad22bc5591ca8c1c82