[INFO] cloning repository https://github.com/nerdo/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nerdo/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnerdo%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnerdo%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1ebff5529303dfcced50b61b33850d34ab1cdfc [INFO] testing nerdo/advent-of-code-2023 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnerdo%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nerdo/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/nerdo/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/nerdo/advent-of-code-2023 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nerdo/advent-of-code-2023 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nerdo/advent-of-code-2023 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 600507ce96f0fcbd12a381cc1d820e6596b6ddb437aaabcb7dc635661b496678 [INFO] running `Command { std: "docker" "start" "-a" "600507ce96f0fcbd12a381cc1d820e6596b6ddb437aaabcb7dc635661b496678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "600507ce96f0fcbd12a381cc1d820e6596b6ddb437aaabcb7dc635661b496678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600507ce96f0fcbd12a381cc1d820e6596b6ddb437aaabcb7dc635661b496678", kill_on_drop: false }` [INFO] [stdout] 600507ce96f0fcbd12a381cc1d820e6596b6ddb437aaabcb7dc635661b496678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03006255b9590c5581e96a39346e53c98494d5abb4bea479e55f1a4437962311 [INFO] running `Command { std: "docker" "start" "-a" "03006255b9590c5581e96a39346e53c98494d5abb4bea479e55f1a4437962311", kill_on_drop: false }` [INFO] [stderr] Compiling day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Compiling day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Compiling day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Compiling day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Compiling day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stdout] warning: enum `Position` is never used [INFO] [stdout] --> day1/src/trebuchet_calibration.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_digit` is never used [INFO] [stdout] --> day1/src/trebuchet_calibration.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_digit(line: &str, starting_from: Position) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_calibration_sum_from_spelled_out_digits` is never used [INFO] [stdout] --> day1/src/trebuchet_calibration.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_calibration_sum_from_spelled_out_digits(calibration_document: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | Header(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - Header(String), [INFO] [stdout] 128 + Header(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Contents(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Contents(String), [INFO] [stdout] 129 + Contents(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_power` is never used [INFO] [stdout] --> day2/src/cube_game.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl CubeSet { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 61 | pub fn get_power(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_minimum_cube_set` is never used [INFO] [stdout] --> day2/src/cube_game.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 101 | pub fn get_minimum_cube_set(&self) -> CubeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sum_of_power_of_minimum_cube_sets` is never used [INFO] [stdout] --> day2/src/cube_game.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn get_sum_of_power_of_minimum_cube_sets(game_records: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_possible_game_ids_sum` is never used [INFO] [stdout] --> day2/src/cube_game.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_possible_game_ids_sum(game_records: &str, max_cubes: CubeSet) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> day2/src/cube_game.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 93 | /// ID of the game. [INFO] [stdout] 94 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_possible_with_cubes` is never used [INFO] [stdout] --> day2/src/cube_game.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl Games { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 148 | /// Returns the possible games if the bag contained only the given cubes. [INFO] [stdout] 149 | pub fn get_possible_with_cubes(&self, max_cubes: CubeSet) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sum_of_all_engine_gear_ratios` is never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_sum_of_all_engine_gear_ratios(lift_engine_schematic: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EngineSchematics` is never constructed [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct EngineSchematics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_thing`, `get_start`, `get_numbers_adjacent_to`, and `get_number` are never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl EngineSchematics { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 69 | fn get_thing(&self, x: usize, y: usize) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_start(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn get_numbers_adjacent_to(&self, x: usize, y: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn get_number(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Number` is never constructed [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | struct Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gear_ratios` is never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn get_gear_ratios(schematics: &EngineSchematics) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sum_of_all_engine_part_numbers` is never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn get_sum_of_all_engine_part_numbers(lift_engine_schematic: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GondolaLiftEngine` is never constructed [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | struct GondolaLiftEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_possible_parts` is never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl GondolaLiftEngine { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 271 | /// Gets possible parts. [INFO] [stdout] 272 | fn get_possible_parts(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_sign` is never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn is_sign(_v: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Part` is never constructed [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | struct Part { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_adjacent_symbols` is never used [INFO] [stdout] --> day3/src/gondola_lift_engine.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 423 | impl Part { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 424 | /// Gets adjacent symbols for the possible part. [INFO] [stdout] 425 | fn get_adjacent_symbols(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_total_scratch_card_points` is never used [INFO] [stdout] --> day4/src/scratch_cards.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_total_scratch_card_points(scratch_card_table: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_total_points` is never used [INFO] [stdout] --> day4/src/scratch_cards.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl ScratchCardData { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 61 | fn get_total_points(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_points` is never used [INFO] [stdout] --> day4/src/scratch_cards.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl CardData { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn get_points(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | Header(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - Header(String), [INFO] [stdout] 128 + Header(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Contents(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Contents(String), [INFO] [stdout] 129 + Contents(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "03006255b9590c5581e96a39346e53c98494d5abb4bea479e55f1a4437962311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03006255b9590c5581e96a39346e53c98494d5abb4bea479e55f1a4437962311", kill_on_drop: false }` [INFO] [stdout] 03006255b9590c5581e96a39346e53c98494d5abb4bea479e55f1a4437962311 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fd8879c25eb926c796cadc88159ede5400ac59486d3fc527666fe879197c045 [INFO] running `Command { std: "docker" "start" "-a" "5fd8879c25eb926c796cadc88159ede5400ac59486d3fc527666fe879197c045", kill_on_drop: false }` [INFO] [stderr] Compiling day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Compiling day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Compiling day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Compiling day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Compiling day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | Header(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - Header(String), [INFO] [stdout] 128 + Header(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Contents(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Contents(String), [INFO] [stdout] 129 + Contents(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | Header(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - Header(String), [INFO] [stdout] 128 + Header(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day4/src/scratch_cards.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Contents(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Contents(String), [INFO] [stdout] 129 + Contents(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "5fd8879c25eb926c796cadc88159ede5400ac59486d3fc527666fe879197c045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd8879c25eb926c796cadc88159ede5400ac59486d3fc527666fe879197c045", kill_on_drop: false }` [INFO] [stdout] 5fd8879c25eb926c796cadc88159ede5400ac59486d3fc527666fe879197c045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ee70ed57995bead98bb24085b7bd7de3b34a198797cb7b9e31d3c3acc6396de [INFO] running `Command { std: "docker" "start" "-a" "1ee70ed57995bead98bb24085b7bd7de3b34a198797cb7b9e31d3c3acc6396de", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> day4/src/scratch_cards.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | Header(String), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 128 - Header(String), [INFO] [stderr] 128 + Header(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> day4/src/scratch_cards.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | Contents(String), [INFO] [stderr] | -------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 129 - Contents(String), [INFO] [stderr] 129 + Contents(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `day4` (bin "day4_part2" test) generated 2 warnings [INFO] [stderr] warning: `day4` (bin "day4_part1" test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/day1_part1.rs (/opt/rustwide/target/debug/deps/day1_part1-036eea8fba713d1b) [INFO] [stdout] test trebuchet_calibration::tests::get_calibration_sum_returns_the_correct_value ... ok [INFO] [stderr] error: test failed, to rerun pass `-p day1 --bin day1_part1` [INFO] [stdout] test trebuchet_calibration::tests::get_calibration_sum_from_spelled_out_digits_returns_the_correct_value ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- trebuchet_calibration::tests::get_calibration_sum_from_spelled_out_digits_returns_the_correct_value stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'trebuchet_calibration::tests::get_calibration_sum_from_spelled_out_digits_returns_the_correct_value' panicked at day1/src/trebuchet_calibration.rs:46:43: [INFO] [stdout] attempt to subtract with overflow [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x65325ff76d02 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x65325ff76d02 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x65325ff76d02 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x65325ff76d02 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x65325ff9be33 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x65325ff9be33 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x65325ff73c83 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x65325ff73c83 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x65325ff76b52 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x65325ff7826c - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x65325ff780c2 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x65325ff40144 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x65325ff40144 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x65325ff78c4b - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x65325ff78c4b - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x65325ff789e6 - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x65325ff771f9 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x65325ff786ad - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x65325ff9a9b0 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x65325ffa0927 - core::panicking::panic_const::panic_const_sub_overflow::h35126cb66ebb27f8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:175:17 [INFO] [stdout] 20: 0x65325ff02b48 - day1_part1::trebuchet_calibration::get_digit::h20c102f78d159345 [INFO] [stdout] at /opt/rustwide/workdir/day1/src/trebuchet_calibration.rs:46:43 [INFO] [stdout] 21: 0x65325ff033dd - day1_part1::trebuchet_calibration::get_calibration_sum_from_spelled_out_digits::{{closure}}::h05840758b104e7b6 [INFO] [stdout] at /opt/rustwide/workdir/day1/src/trebuchet_calibration.rs:105:30 [INFO] [stdout] 22: 0x65325fefd9aa - core::ops::function::impls:: for &mut F>::call_once::h136ca9212087dc63 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:305:21 [INFO] [stdout] 23: 0x65325fefd9aa - core::option::Option::map::hc4c7e6a7e4aa4b76 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/option.rs:1146:29 [INFO] [stdout] 24: 0x65325fefd9aa - as core::iter::traits::iterator::Iterator>::next::h25894ddcc44eb07c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/iter/adapters/map.rs:107:26 [INFO] [stdout] 25: 0x65325ff03ce1 - as alloc::vec::spec_from_iter_nested::SpecFromIterNested>::from_iter::hae75e7337f3bb644 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/vec/spec_from_iter_nested.rs:25:41 [INFO] [stdout] 26: 0x65325ff06a0d - as alloc::vec::spec_from_iter::SpecFromIter>::from_iter::h0fb100559e3f1de9 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/vec/spec_from_iter.rs:34:9 [INFO] [stdout] 27: 0x65325ff068f1 - as core::iter::traits::collect::FromIterator>::from_iter::h1ae471b0ca592789 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/vec/mod.rs:3470:9 [INFO] [stdout] 28: 0x65325feff105 - core::iter::traits::iterator::Iterator::collect::h8253a6e575d62ce1 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/iter/traits/iterator.rs:2027:9 [INFO] [stdout] 29: 0x65325ff03277 - day1_part1::trebuchet_calibration::get_calibration_sum_from_spelled_out_digits::h936e87e908974645 [INFO] [stdout] at /opt/rustwide/workdir/day1/src/trebuchet_calibration.rs:108:10 [INFO] [stdout] 30: 0x65325ff06b5a - day1_part1::trebuchet_calibration::tests::get_calibration_sum_from_spelled_out_digits_returns_the_correct_value::h9682b715bcc17e56 [INFO] [stdout] at /opt/rustwide/workdir/day1/src/trebuchet_calibration.rs:31:22 [INFO] [stdout] 31: 0x65325ff06b17 - day1_part1::trebuchet_calibration::tests::get_calibration_sum_from_spelled_out_digits_returns_the_correct_value::{{closure}}::hacfef6c2c0f4f954 [INFO] [stdout] at /opt/rustwide/workdir/day1/src/trebuchet_calibration.rs:20:79 [INFO] [stdout] 32: 0x65325ff042d6 - core::ops::function::FnOnce::call_once::hbd4b029910e4c32f [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x65325ff458eb - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 34: 0x65325ff458eb - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 35: 0x65325ff44abe - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 36: 0x65325ff44abe - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x65325ff44abe - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x65325ff44abe - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x65325ff44abe - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x65325ff44abe - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 41: 0x65325ff44abe - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 42: 0x65325ff086b4 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 43: 0x65325ff086b4 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 44: 0x65325ff0bfaa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 45: 0x65325ff0bfaa - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 46: 0x65325ff0bfaa - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 47: 0x65325ff0bfaa - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 48: 0x65325ff0bfaa - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 49: 0x65325ff0bfaa - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 50: 0x65325ff0bfaa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 51: 0x65325ff7bba7 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 52: 0x65325ff7bba7 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 53: 0x65325ff7bba7 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 54: 0x7bfec76c8aa4 - [INFO] [stdout] 55: 0x7bfec7755a34 - clone [INFO] [stdout] 56: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] trebuchet_calibration::tests::get_calibration_sum_from_spelled_out_digits_returns_the_correct_value [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ee70ed57995bead98bb24085b7bd7de3b34a198797cb7b9e31d3c3acc6396de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee70ed57995bead98bb24085b7bd7de3b34a198797cb7b9e31d3c3acc6396de", kill_on_drop: false }` [INFO] [stdout] 1ee70ed57995bead98bb24085b7bd7de3b34a198797cb7b9e31d3c3acc6396de