[INFO] cloning repository https://github.com/ThibaudDauce/advent_of_code_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThibaudDauce/advent_of_code_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThibaudDauce%2Fadvent_of_code_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThibaudDauce%2Fadvent_of_code_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f243637e748bfdb1a8b0cf4a06d8ab8bc2fe019 [INFO] checking ThibaudDauce/advent_of_code_2021/4f243637e748bfdb1a8b0cf4a06d8ab8bc2fe019 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThibaudDauce%2Fadvent_of_code_2021" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThibaudDauce/advent_of_code_2021 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThibaudDauce/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/ThibaudDauce/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/ThibaudDauce/advent_of_code_2021 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThibaudDauce/advent_of_code_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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1618fb8c0591cdb29ea30d3c5c19b04b00620ca6190beec2e8524721573d716a [INFO] running `Command { std: "docker" "start" "-a" "1618fb8c0591cdb29ea30d3c5c19b04b00620ca6190beec2e8524721573d716a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1618fb8c0591cdb29ea30d3c5c19b04b00620ca6190beec2e8524721573d716a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1618fb8c0591cdb29ea30d3c5c19b04b00620ca6190beec2e8524721573d716a", kill_on_drop: false }` [INFO] [stdout] 1618fb8c0591cdb29ea30d3c5c19b04b00620ca6190beec2e8524721573d716a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71785ffc315fe108dff09fdec1373ee4a9c3d9b6ac0f3e21cc029549f03a7545 [INFO] running `Command { std: "docker" "start" "-a" "71785ffc315fe108dff09fdec1373ee4a9c3d9b6ac0f3e21cc029549f03a7545", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking advent_of_code_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/05.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/05.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/05.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/03.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn test_input() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/09.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairs_to_string` is never used [INFO] [stdout] --> src/14.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn pairs_to_string(pairs: Vec) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/14.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/13.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/06.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_cost_wikipedia` is never used [INFO] [stdout] --> src/15.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn compute_cost_wikipedia(map: &HashMap<(i32, i32), u32>) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dices` is never used [INFO] [stdout] --> src/21.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn dices() -> Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/15.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let mut P: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/20.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/22.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input_2` is never used [INFO] [stdout] --> src/22.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | fn test_input_2() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/23.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | let mut new_burrow = &mut burrow.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/08.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/23.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let mut new_burrow = &mut burrow.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map` is never used [INFO] [stdout] --> src/11.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn print_map(map: &HashMap<(i32, i32), u32>) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amphipod_id` is never read [INFO] [stdout] --> src/23.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 256 | x: u8, [INFO] [stdout] 257 | amphipod_id: Option<(u8, u8)> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `energy_as_the_crow_flies` is never used [INFO] [stdout] --> src/23.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn energy_as_the_crow_flies(amphipods: &Vec<(Position, Amphipod)>) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_orientation` is never read [INFO] [stdout] --> src/19.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct KnownScanner [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | original_orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KnownScanner` 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] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_orientations` is never used [INFO] [stdout] --> src/19.rs:503:4 [INFO] [stdout] | [INFO] [stdout] 503 | fn all_orientations() -> [Orientation; 24] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input_2` is never used [INFO] [stdout] --> src/11.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_input_2() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/11.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/08.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/24.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/18.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn print(number: &Number) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/23.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | let mut new_burrow = &mut burrow.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/23.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let mut new_burrow = &mut burrow.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amphipod_id` is never read [INFO] [stdout] --> src/23.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 256 | x: u8, [INFO] [stdout] 257 | amphipod_id: Option<(u8, u8)> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/10.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dices` is never used [INFO] [stdout] --> src/21.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn dices() -> Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `energy_as_the_crow_flies` is never used [INFO] [stdout] --> src/23.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn energy_as_the_crow_flies(amphipods: &Vec<(Position, Amphipod)>) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_orientation` is never read [INFO] [stdout] --> src/19.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct KnownScanner [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | original_orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KnownScanner` 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] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/19.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn distance(a: &Vector, b: &Vector) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `v` is never used [INFO] [stdout] --> src/19.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn v(x: i32, y: i32, z: i32) -> Vector [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_orientations` is never used [INFO] [stdout] --> src/19.rs:503:4 [INFO] [stdout] | [INFO] [stdout] 503 | fn all_orientations() -> [Orientation; 24] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `small_test_input` is never used [INFO] [stdout] --> src/19.rs:520:4 [INFO] [stdout] | [INFO] [stdout] 520 | fn small_test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/19.rs:535:4 [INFO] [stdout] | [INFO] [stdout] 535 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_binary_string` is never used [INFO] [stdout] --> src/16.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn parse_binary_string(string: &'static str) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_cost_wikipedia` is never used [INFO] [stdout] --> src/15.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn compute_cost_wikipedia(map: &HashMap<(i32, i32), u32>) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/13.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/15.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let mut P: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/07.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/09.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/10.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_var_content_id` is never read [INFO] [stdout] --> src/24.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct Alu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | next_var_content_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alu` 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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/03.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn test_input() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/24.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/05.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/05.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/06.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/07.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map` is never used [INFO] [stdout] --> src/11.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn print_map(map: &HashMap<(i32, i32), u32>) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input_2` is never used [INFO] [stdout] --> src/11.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_input_2() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/11.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_input` is never used [INFO] [stdout] --> src/05.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn test_input() -> &'static str [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_var_content_id` is never read [INFO] [stdout] --> src/24.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct Alu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | next_var_content_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alu` 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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "71785ffc315fe108dff09fdec1373ee4a9c3d9b6ac0f3e21cc029549f03a7545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71785ffc315fe108dff09fdec1373ee4a9c3d9b6ac0f3e21cc029549f03a7545", kill_on_drop: false }` [INFO] [stdout] 71785ffc315fe108dff09fdec1373ee4a9c3d9b6ac0f3e21cc029549f03a7545