[INFO] cloning repository https://github.com/lleites/rust-aoc-23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lleites/rust-aoc-23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flleites%2Frust-aoc-23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flleites%2Frust-aoc-23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ff1adc35d45a25c3c2972fe018d9a9cd389a56b [INFO] checking lleites/rust-aoc-23 against try#f3dc08d20a1589b87bde75bb82ee6423307f9bde for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flleites%2Frust-aoc-23" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lleites/rust-aoc-23 on toolchain f3dc08d20a1589b87bde75bb82ee6423307f9bde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lleites/rust-aoc-23 [INFO] finished tweaking git repo https://github.com/lleites/rust-aoc-23 [INFO] tweaked toml for git repo https://github.com/lleites/rust-aoc-23 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lleites/rust-aoc-23 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" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb1ce31cf3f4cf3abde68a448bbe95f011ffe55d7e91f5d476dbba1e1d90eb0 [INFO] running `Command { std: "docker" "start" "-a" "4cb1ce31cf3f4cf3abde68a448bbe95f011ffe55d7e91f5d476dbba1e1d90eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb1ce31cf3f4cf3abde68a448bbe95f011ffe55d7e91f5d476dbba1e1d90eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb1ce31cf3f4cf3abde68a448bbe95f011ffe55d7e91f5d476dbba1e1d90eb0", kill_on_drop: false }` [INFO] [stdout] 4cb1ce31cf3f4cf3abde68a448bbe95f011ffe55d7e91f5d476dbba1e1d90eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d7c5b4827c7c7b142d365ac5286e4173892d122e0e883a85fbca70e556ddf34 [INFO] running `Command { std: "docker" "start" "-a" "6d7c5b4827c7c7b142d365ac5286e4173892d122e0e883a85fbca70e556ddf34", kill_on_drop: false }` [INFO] [stderr] Checking rust-aoc-23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_digits` is never used [INFO] [stdout] --> src/day_01/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_digits(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_line` is never used [INFO] [stdout] --> src/day_01/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn process_line(line: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_file` is never used [INFO] [stdout] --> src/day_01/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn process_file() -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Throw` is never constructed [INFO] [stdout] --> src/day_02/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Throw { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_throw` is never used [INFO] [stdout] --> src/day_02/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_throw(line: &str) -> Throw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/day_02/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse_line(line: &str) -> (i32, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_file` is never used [INFO] [stdout] --> src/day_02/mod.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn process_file() -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_card_func` is never used [INFO] [stdout] --> src/day_04/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse_card_func(line: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_card` is never used [INFO] [stdout] --> src/day_04/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_card(line: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_file` is never used [INFO] [stdout] --> src/day_04/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process_file() -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_mapping` is never used [INFO] [stdout] --> src/day_05/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn build_mapping(lines: Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps` is never used [INFO] [stdout] --> src/day_05/mod.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_maps() -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_closest_location` is never used [INFO] [stdout] --> src/day_05/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_closest_location() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_ways` is never used [INFO] [stdout] --> src/day_06/mod.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn find_ways(time: i32, max_distance: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_every_way` is never used [INFO] [stdout] --> src/day_06/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn find_every_way() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIRST` is never used [INFO] [stdout] --> src/day_08/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FIRST: &str = "AAA"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAST` is never used [INFO] [stdout] --> src/day_08/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const LAST: &str = "ZZZ"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_steps` is never used [INFO] [stdout] --> src/day_08/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn count_steps(instructions: Vec, map: HashMap<&str, (&str, &str)>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn read_lines(file_path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_card_func` is never used [INFO] [stdout] --> src/day_04/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse_card_func(line: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "6d7c5b4827c7c7b142d365ac5286e4173892d122e0e883a85fbca70e556ddf34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7c5b4827c7c7b142d365ac5286e4173892d122e0e883a85fbca70e556ddf34", kill_on_drop: false }` [INFO] [stdout] 6d7c5b4827c7c7b142d365ac5286e4173892d122e0e883a85fbca70e556ddf34