[INFO] cloning repository https://github.com/pschichtel/adventofcode-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pschichtel/adventofcode-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpschichtel%2Fadventofcode-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpschichtel%2Fadventofcode-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84ad4b9b7162213bef98847e8391ae82247961dc [INFO] building pschichtel/adventofcode-rs against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpschichtel%2Fadventofcode-rs" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pschichtel/adventofcode-rs on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pschichtel/adventofcode-rs [INFO] finished tweaking git repo https://github.com/pschichtel/adventofcode-rs [INFO] tweaked toml for git repo https://github.com/pschichtel/adventofcode-rs written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/pschichtel/adventofcode-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc05ff01f043e4f462876920c9af91e94822ae5c21c6a75d7db47ce1b78b1715 [INFO] running `Command { std: "docker" "start" "-a" "fc05ff01f043e4f462876920c9af91e94822ae5c21c6a75d7db47ce1b78b1715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc05ff01f043e4f462876920c9af91e94822ae5c21c6a75d7db47ce1b78b1715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc05ff01f043e4f462876920c9af91e94822ae5c21c6a75d7db47ce1b78b1715", kill_on_drop: false }` [INFO] [stdout] fc05ff01f043e4f462876920c9af91e94822ae5c21c6a75d7db47ce1b78b1715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bef34e276177a4fe28892f4ef5991c82372f0d20dc267b5a7211d447510dd1a [INFO] running `Command { std: "docker" "start" "-a" "3bef34e276177a4fe28892f4ef5991c82372f0d20dc267b5a7211d447510dd1a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling adventofcode-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `parse_number` [INFO] [stdout] --> src/helpers.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_number(input: &str, radix: u32) -> IResult<&str, i32> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_decimal_number` [INFO] [stdout] --> src/helpers.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_decimal_number(input: &str) -> IResult<&str, i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_binary_number` [INFO] [stdout] --> src/helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn parse_binary_number(input: &str) -> IResult<&str, i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_lines` [INFO] [stdout] --> src/helpers.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_lines<'a, F, O, E>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/year2021/day01.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const INPUT: &str = include_str!("inputs/day01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/year2021/day01.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_raises` [INFO] [stdout] --> src/year2021/day01.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn count_raises(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/year2021/day02.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const INPUT: &str = include_str!("inputs/day02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXAMPLE_INPUT` [INFO] [stdout] --> src/year2021/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const EXAMPLE_INPUT: &str = include_str!("inputs/day02_example.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Forward` [INFO] [stdout] --> src/year2021/day02.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Forward(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year2021/day02.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/year2021/day02.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Up(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year2021/day02.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/year2021/day02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Down(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year2021/day02.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_forward` [INFO] [stdout] --> src/year2021/day02.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_forward(input: &str) -> IResult<&str, Instr> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_up` [INFO] [stdout] --> src/year2021/day02.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_up(input: &str) -> IResult<&str, Instr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_down` [INFO] [stdout] --> src/year2021/day02.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_down(input: &str) -> IResult<&str, Instr> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_instr` [INFO] [stdout] --> src/year2021/day02.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn parse_instr(input: &str) -> IResult<&str, Instr> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/year2021/day02.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn parse_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_interpretation` [INFO] [stdout] --> src/year2021/day02.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn simple_interpretation(instructions: &Vec) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `complex_interpretation` [INFO] [stdout] --> src/year2021/day02.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn complex_interpretation(instructions: &Vec) -> (i32, i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INPUT` [INFO] [stdout] --> src/year2021/day03.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const INPUT: &str = include_str!("inputs/day03.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXAMPLE_INPUT` [INFO] [stdout] --> src/year2021/day03.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const EXAMPLE_INPUT: &str = include_str!("inputs/day03_example.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_bits` [INFO] [stdout] --> src/year2021/day03.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn parse_bits(input: &str) -> IResult<&str, u32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/year2021/day03.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_ones_per_bit` [INFO] [stdout] --> src/year2021/day03.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn count_ones_per_bit(input: &Vec, bits: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_gamma_rate` [INFO] [stdout] --> src/year2021/day03.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn calculate_gamma_rate(input: &Vec, ones: &Vec, bits: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_epsilon_rate` [INFO] [stdout] --> src/year2021/day03.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn calculate_epsilon_rate(gamma_rate: u32, bits: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sieve_numbers_by_bit` [INFO] [stdout] --> src/year2021/day03.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn sieve_numbers_by_bit(input: &Vec, bits: usize, filter: impl Fn(u32, u32) -> bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_oxygen_generator_rating` [INFO] [stdout] --> src/year2021/day03.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn calculate_oxygen_generator_rating(input: &Vec, bits: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_co2_scrubber_rating` [INFO] [stdout] --> src/year2021/day03.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn calculate_co2_scrubber_rating(input: &Vec, bits: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_power_consumption` [INFO] [stdout] --> src/year2021/day03.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn calculate_power_consumption(input: &Vec, bits: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_life_support_rating` [INFO] [stdout] --> src/year2021/day03.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn calculate_life_support_rating(input: &Vec, bits: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "3bef34e276177a4fe28892f4ef5991c82372f0d20dc267b5a7211d447510dd1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bef34e276177a4fe28892f4ef5991c82372f0d20dc267b5a7211d447510dd1a", kill_on_drop: false }` [INFO] [stdout] 3bef34e276177a4fe28892f4ef5991c82372f0d20dc267b5a7211d447510dd1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f9f618ae3a3f8fbf20974769e03e642ae5cb576885aefc2e85053ae95da39d [INFO] running `Command { std: "docker" "start" "-a" "34f9f618ae3a3f8fbf20974769e03e642ae5cb576885aefc2e85053ae95da39d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling adventofcode-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.70s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/adventofcode_rs-c2a28fbf4c47858f) [INFO] running `Command { std: "docker" "inspect" "34f9f618ae3a3f8fbf20974769e03e642ae5cb576885aefc2e85053ae95da39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f9f618ae3a3f8fbf20974769e03e642ae5cb576885aefc2e85053ae95da39d", kill_on_drop: false }` [INFO] [stdout] 34f9f618ae3a3f8fbf20974769e03e642ae5cb576885aefc2e85053ae95da39d