[INFO] cloning repository https://github.com/ZUOYANGDING/advent_code_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZUOYANGDING/advent_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZUOYANGDING%2Fadvent_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZUOYANGDING%2Fadvent_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cf9986d4b6e0a7977691c85cf5a162f601d7ff5 [INFO] building ZUOYANGDING/advent_code_2024 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZUOYANGDING%2Fadvent_code_2024" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZUOYANGDING/advent_code_2024 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZUOYANGDING/advent_code_2024 [INFO] finished tweaking git repo https://github.com/ZUOYANGDING/advent_code_2024 [INFO] tweaked toml for git repo https://github.com/ZUOYANGDING/advent_code_2024 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZUOYANGDING/advent_code_2024 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e6477660808f1e9ac8ce54260ae977981a52481ba5131111fb141b384b2593f [INFO] running `Command { std: "docker" "start" "-a" "5e6477660808f1e9ac8ce54260ae977981a52481ba5131111fb141b384b2593f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e6477660808f1e9ac8ce54260ae977981a52481ba5131111fb141b384b2593f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6477660808f1e9ac8ce54260ae977981a52481ba5131111fb141b384b2593f", kill_on_drop: false }` [INFO] [stdout] 5e6477660808f1e9ac8ce54260ae977981a52481ba5131111fb141b384b2593f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9458aa69993dd2868ef6adc479f38be7ad0d7204ed3bbdd85e3d70b8e909f308 [INFO] running `Command { std: "docker" "start" "-a" "9458aa69993dd2868ef6adc479f38be7ad0d7204ed3bbdd85e3d70b8e909f308", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Compiling day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Compiling day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Compiling day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Compiling day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Compiling day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Compiling day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stdout] warning: struct `Dataset` is never constructed [INFO] [stdout] --> day5/src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Dataset { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> day5/src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_dataset`, `filter_correct_updates`, and `cal_mid_sum_up` are never used [INFO] [stdout] --> day5/src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Dataset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | fn load_dataset(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn filter_correct_updates(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn cal_mid_sum_up(&mut self, cal_type: Type) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> day3/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_answer`, `get_answer_with_ops`, `check_mul`, `check_dont`, `check_do`, and `get_number` are never used [INFO] [stdout] --> day3/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 7 | fn get_answer(filename: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_answer_with_ops(filename: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn check_mul(file: &[u8], idx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn check_dont(file: &[u8], idx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn check_do(file: &[u8], idx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get_number(file: &[u8], idx: &mut usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Compiling day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Compiling day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Compiling day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stderr] Compiling day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stdout] warning: unused imports: `collections::HashSet` and `ops::Deref` [INFO] [stdout] --> day4/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> day6/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | clone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataSet` is never constructed [INFO] [stdout] --> day4/src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DataSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `XMAS` is never used [INFO] [stdout] --> day4/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const XMAS: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMX` is never used [INFO] [stdout] --> day4/src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SAMX: [char; 4] = ['S', 'A', 'M', 'X']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> day4/src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl DataSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 17 | fn load_dataset(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn bruteforce_count_XMAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn bruteforce_count_cross_MAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn check_M_on_top_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn check_M_on_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn check_M_on_bottom_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn check_M_on_left(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn up_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn down_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn left_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn right_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn diagonal_check(&self, r: usize, c: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bruteforce_count_XMAS` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn bruteforce_count_XMAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bruteforce_count_xmas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bruteforce_count_cross_MAS` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn bruteforce_count_cross_MAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bruteforce_count_cross_mas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_top_left_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn check_M_on_top_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_top_left_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn check_M_on_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_bottom_left_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_M_on_bottom_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_bottom_left_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_left` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn check_M_on_left(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> day6/src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LabMap` is never constructed [INFO] [stdout] --> day6/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct LabMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_dataset`, `count_unique_position`, `count_possilbe_to_make_loop`, and `is_loop` are never used [INFO] [stdout] --> day6/src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LabMap { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 28 | fn load_dataset(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn count_unique_position(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn count_possilbe_to_make_loop(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn is_loop(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> day7/src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_data`, `part_a`, `part_b`, `naive_get_all_possible_answer`, `strict_add_or_mul_from_left_to_right`, and `strict_add_or_mul_or_concat_from_left_to_right` are never used [INFO] [stdout] --> day7/src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Solution { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | fn load_data(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn part_a(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn part_b(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn naive_get_all_possible_answer(&self, component: &[u64]) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn strict_add_or_mul_from_left_to_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn strict_add_or_mul_or_concat_from_left_to_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Compiling day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> day2/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> day1/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `sort`, `cal_distance`, and `cal_similarity` are never used [INFO] [stdout] --> day1/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | fn init(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn sort(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn cal_distance(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn cal_similarity(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataSet` is never constructed [INFO] [stdout] --> day2/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct DataSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `is_safe`, and `tolerate_a_single_bad_level` are never used [INFO] [stdout] --> day2/src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl DataSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | fn init(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn is_safe(nums: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn tolerate_a_single_bad_level(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "9458aa69993dd2868ef6adc479f38be7ad0d7204ed3bbdd85e3d70b8e909f308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9458aa69993dd2868ef6adc479f38be7ad0d7204ed3bbdd85e3d70b8e909f308", kill_on_drop: false }` [INFO] [stdout] 9458aa69993dd2868ef6adc479f38be7ad0d7204ed3bbdd85e3d70b8e909f308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d071104d1802a2fb081fceb67da07100442ebce3252253bc0fd266b3999ba495 [INFO] running `Command { std: "docker" "start" "-a" "d071104d1802a2fb081fceb67da07100442ebce3252253bc0fd266b3999ba495", kill_on_drop: false }` [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> day3/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_answer`, `get_answer_with_ops`, `check_mul`, `check_dont`, `check_do`, and `get_number` are never used [INFO] [stdout] --> day3/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 7 | fn get_answer(filename: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_answer_with_ops(filename: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn check_mul(file: &[u8], idx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn check_dont(file: &[u8], idx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn check_do(file: &[u8], idx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get_number(file: &[u8], idx: &mut usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> day6/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | clone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> day6/src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LabMap` is never constructed [INFO] [stdout] --> day6/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct LabMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_dataset`, `count_unique_position`, `count_possilbe_to_make_loop`, and `is_loop` are never used [INFO] [stdout] --> day6/src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LabMap { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 28 | fn load_dataset(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn count_unique_position(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn count_possilbe_to_make_loop(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn is_loop(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dataset` is never constructed [INFO] [stdout] --> day5/src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Dataset { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> day5/src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_dataset`, `filter_correct_updates`, and `cal_mid_sum_up` are never used [INFO] [stdout] --> day5/src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Dataset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | fn load_dataset(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn filter_correct_updates(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn cal_mid_sum_up(&mut self, cal_type: Type) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `ops::Deref` [INFO] [stdout] --> day4/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataSet` is never constructed [INFO] [stdout] --> day4/src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DataSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `XMAS` is never used [INFO] [stdout] --> day4/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const XMAS: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMX` is never used [INFO] [stdout] --> day4/src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SAMX: [char; 4] = ['S', 'A', 'M', 'X']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> day4/src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl DataSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 17 | fn load_dataset(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn bruteforce_count_XMAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn bruteforce_count_cross_MAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn check_M_on_top_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn check_M_on_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn check_M_on_bottom_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn check_M_on_left(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn up_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn down_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn left_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn right_check(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn diagonal_check(&self, r: usize, c: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bruteforce_count_XMAS` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn bruteforce_count_XMAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bruteforce_count_xmas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bruteforce_count_cross_MAS` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn bruteforce_count_cross_MAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bruteforce_count_cross_mas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_top_left_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn check_M_on_top_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_top_left_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn check_M_on_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_bottom_left_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_M_on_bottom_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_bottom_left_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_left` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn check_M_on_left(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> day7/src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] warning: associated items `load_data`, `part_a`, `part_b`, `naive_get_all_possible_answer`, `strict_add_or_mul_from_left_to_right`, and `strict_add_or_mul_or_concat_from_left_to_right` are never used [INFO] [stdout] --> day7/src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Solution { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | fn load_data(filename: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn part_a(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn part_b(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn naive_get_all_possible_answer(&self, component: &[u64]) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn strict_add_or_mul_from_left_to_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn strict_add_or_mul_or_concat_from_left_to_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> day1/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `sort`, `cal_distance`, and `cal_similarity` are never used [INFO] [stdout] --> day1/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | fn init(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn sort(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn cal_distance(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn cal_similarity(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Compiling day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> day2/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stdout] warning: struct `DataSet` is never constructed [INFO] [stdout] --> day2/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct DataSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stdout] warning: associated items `init`, `is_safe`, and `tolerate_a_single_bad_level` are never used [INFO] [stdout] --> day2/src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl DataSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | fn init(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn is_safe(nums: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn tolerate_a_single_bad_level(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Compiling day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> day2/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `ops::Deref` [INFO] [stdout] --> day4/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_of_safe` is never read [INFO] [stdout] --> day2/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct DataSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | data_frame: Vec>, [INFO] [stdout] 9 | num_of_safe: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bruteforce_count_XMAS` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn bruteforce_count_XMAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bruteforce_count_xmas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bruteforce_count_cross_MAS` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn bruteforce_count_cross_MAS(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bruteforce_count_cross_mas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_top_left_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn check_M_on_top_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_top_left_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn check_M_on_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_bottom_left_right` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_M_on_bottom_left_right(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_bottom_left_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_M_on_left` should have a snake case name [INFO] [stdout] --> day4/src/lib.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn check_M_on_left(&self, r: usize, c: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_m_on_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stderr] Compiling day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Compiling day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Compiling day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Compiling day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stdout] warning: method `naive_get_all_possible_answer` is never used [INFO] [stdout] --> day7/src/lib.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Solution { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn naive_get_all_possible_answer(&self, component: &[u64]) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> day6/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | clone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "d071104d1802a2fb081fceb67da07100442ebce3252253bc0fd266b3999ba495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d071104d1802a2fb081fceb67da07100442ebce3252253bc0fd266b3999ba495", kill_on_drop: false }` [INFO] [stdout] d071104d1802a2fb081fceb67da07100442ebce3252253bc0fd266b3999ba495