[INFO] cloning repository https://github.com/mvucenovic/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvucenovic/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvucenovic%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvucenovic%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 732f57be7831e27f70ce6ce52cf3efaa58ac15dc [INFO] checking mvucenovic/aoc-2021 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvucenovic%2Faoc-2021" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mvucenovic/aoc-2021 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mvucenovic/aoc-2021 [INFO] finished tweaking git repo https://github.com/mvucenovic/aoc-2021 [INFO] tweaked toml for git repo https://github.com/mvucenovic/aoc-2021 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mvucenovic/aoc-2021 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da5f32a6515be9b035d1d6e9c568014491279050b7ce41af7865954ce5ddbaa4 [INFO] running `Command { std: "docker" "start" "-a" "da5f32a6515be9b035d1d6e9c568014491279050b7ce41af7865954ce5ddbaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da5f32a6515be9b035d1d6e9c568014491279050b7ce41af7865954ce5ddbaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5f32a6515be9b035d1d6e9c568014491279050b7ce41af7865954ce5ddbaa4", kill_on_drop: false }` [INFO] [stdout] da5f32a6515be9b035d1d6e9c568014491279050b7ce41af7865954ce5ddbaa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d86e14b9abb129bf24b540b98bc68d5f357d07669c2245189afb0459912d85b [INFO] running `Command { std: "docker" "start" "-a" "4d86e14b9abb129bf24b540b98bc68d5f357d07669c2245189afb0459912d85b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/d11.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/d11.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Operator` is more private than the item `Content::Operator::0` [INFO] [stdout] --> src/d16.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | Operator(Operator), [INFO] [stdout] | ^^^^^^^^ field `Content::Operator::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Operator` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/d16.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | struct Operator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pprint` is never used [INFO] [stdout] --> src/d11.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn pprint(n: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a_start` is never used [INFO] [stdout] --> src/d15.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn a_start(risc_map: &Vec>, start: (isize, isize), goal: (isize, isize)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heuristic` is never used [INFO] [stdout] --> src/d15.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn heuristic(start: (isize, isize), goal: (isize, isize)) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pprint` is never used [INFO] [stdout] --> src/d15.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn pprint(map: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length_type_id` is never read [INFO] [stdout] --> src/d16.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Operator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 106 | length_type_id: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate` is never used [INFO] [stdout] --> src/d19.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn rotate(c: &Coord, rotation_matrix: &[[i32; 3]; 3]) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SONAR_DISTANCE` is never used [INFO] [stdout] --> src/d19.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | const SONAR_DISTANCE: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vectors` is never used [INFO] [stdout] --> src/d19.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn add_vectors(c1: &Coord, c2: &Coord) -> Coord { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveR_01` should have a snake case name [INFO] [stdout] --> src/d12.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn solveR_01(map: &HashMap>, current: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `solve_r_01` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveR_02` should have a snake case name [INFO] [stdout] --> src/d12.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn solveR_02(map: &HashMap>, current: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `solve_r_02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Operator` is more private than the item `Content::Operator::0` [INFO] [stdout] --> src/d16.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | Operator(Operator), [INFO] [stdout] | ^^^^^^^^ field `Content::Operator::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Operator` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/d16.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | struct Operator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pprint` is never used [INFO] [stdout] --> src/d11.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn pprint(n: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a_start` is never used [INFO] [stdout] --> src/d15.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn a_start(risc_map: &Vec>, start: (isize, isize), goal: (isize, isize)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heuristic` is never used [INFO] [stdout] --> src/d15.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn heuristic(start: (isize, isize), goal: (isize, isize)) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pprint` is never used [INFO] [stdout] --> src/d15.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn pprint(map: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length_type_id` is never read [INFO] [stdout] --> src/d16.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Operator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 106 | length_type_id: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SONAR_DISTANCE` is never used [INFO] [stdout] --> src/d19.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | const SONAR_DISTANCE: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveR_01` should have a snake case name [INFO] [stdout] --> src/d12.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn solveR_01(map: &HashMap>, current: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `solve_r_01` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveR_02` should have a snake case name [INFO] [stdout] --> src/d12.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn solveR_02(map: &HashMap>, current: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `solve_r_02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "4d86e14b9abb129bf24b540b98bc68d5f357d07669c2245189afb0459912d85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d86e14b9abb129bf24b540b98bc68d5f357d07669c2245189afb0459912d85b", kill_on_drop: false }` [INFO] [stdout] 4d86e14b9abb129bf24b540b98bc68d5f357d07669c2245189afb0459912d85b