[INFO] cloning repository https://github.com/ralphrecto/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ralphrecto/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 314f714acd6d310939e472e70dfa137abf038844 [INFO] testing ralphrecto/advent-of-code against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fadvent-of-code" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ralphrecto/advent-of-code on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ralphrecto/advent-of-code [INFO] finished tweaking git repo https://github.com/ralphrecto/advent-of-code [INFO] tweaked toml for git repo https://github.com/ralphrecto/advent-of-code written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/ralphrecto/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 624786003acbf7dc0c8dd3818132cc304a7f18761fffa9d6678d69aa339c0848 [INFO] running `Command { std: "docker" "start" "-a" "624786003acbf7dc0c8dd3818132cc304a7f18761fffa9d6678d69aa339c0848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "624786003acbf7dc0c8dd3818132cc304a7f18761fffa9d6678d69aa339c0848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "624786003acbf7dc0c8dd3818132cc304a7f18761fffa9d6678d69aa339c0848", kill_on_drop: false }` [INFO] [stdout] 624786003acbf7dc0c8dd3818132cc304a7f18761fffa9d6678d69aa339c0848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e855f543593ff08b92594320e70a2915b7034d9ccb22d392d13b47d0a54d96 [INFO] running `Command { std: "docker" "start" "-a" "44e855f543593ff08b92594320e70a2915b7034d9ccb22d392d13b47d0a54d96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.110 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling etcommon-hexutil v0.2.4 [INFO] [stderr] Compiling elastic-array-plus v0.10.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling literal v0.2.0 [INFO] [stderr] Compiling etcommon-rlp v0.2.5 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling etcommon-bigint v0.2.10 [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BinaryHeap` [INFO] [stdout] --> src/advent2019/day06.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/advent2019/day06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `iter::Map` [INFO] [stdout] --> src/advent2021/day06.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::Map}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Output` [INFO] [stdout] --> src/advent2021/day08.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, process::Output}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/advent2021/day10.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NUM_FLASHES` should have an upper camel case name [INFO] [stdout] --> src/advent2021/day11.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NUM_FLASHES, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NumFlashes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FIRST_SYNC` should have an upper camel case name [INFO] [stdout] --> src/advent2021/day11.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FIRST_SYNC [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FirstSync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/advent2019/day03.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut x = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/advent2019/day03.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut y = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/advent2019/day06.rs:98:101 [INFO] [stdout] | [INFO] [stdout] 98 | let path_costs: HashMap, u32> = dijkstra(&graph, *start_idx, Some(*target_idx), |e| 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum1478` is assigned to, but never used [INFO] [stdout] --> src/advent2021/day08.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut sum1478 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum1478` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_valid_paths` [INFO] [stdout] --> src/advent2021/day12.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut num_valid_paths = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_valid_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent2019/day03.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut x = 0; [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/advent2019/day03.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut y = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent2021/day12.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut num_valid_paths = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent2021/day12.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut sorted_paths = str_paths.iter().sorted(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec_ith` [INFO] [stdout] --> src/bits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn dec_ith(decnum: i32, i: i32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bitstring_to_i32` [INFO] [stdout] --> src/bits.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bitstring_to_i32(bitstr: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fuel_needed` [INFO] [stdout] --> src/advent2019/day01.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn fuel_needed(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt1` [INFO] [stdout] --> src/advent2019/day01.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn pt1(lines: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/advent2019/day01.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn pt2(lines: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day01.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `grav_assist_prog` [INFO] [stdout] --> src/advent2019/day02.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn grav_assist_prog(prog: &str, noun: i32, verb: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/advent2019/day02.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn pt2(prog: &str) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day02.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ORIGIN` [INFO] [stdout] --> src/advent2019/day03.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const ORIGIN: Point = Point {x: 0, y: 0}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/advent2019/day03.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | start: Point, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/day03.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/advent2019/day03.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | end: Point [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/day03.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_segments` [INFO] [stdout] --> src/advent2019/day03.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn line_segments(start: Point, line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `intersection` [INFO] [stdout] --> src/advent2019/day03.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn intersection(a: &Segment, b: &Segment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `intersections` [INFO] [stdout] --> src/advent2019/day03.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn intersections(first_line: &Vec, second_line: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manhattan_dist` [INFO] [stdout] --> src/advent2019/day03.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn manhattan_dist(a: &Point, b: &Point) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `length` [INFO] [stdout] --> src/advent2019/day03.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn length(s: &Segment) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `contains_point` [INFO] [stdout] --> src/advent2019/day03.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn contains_point(s: &Segment, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt1` [INFO] [stdout] --> src/advent2019/day03.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn pt1(first_line: &Vec, second_line: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delay` [INFO] [stdout] --> src/advent2019/day03.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn delay(line: &Vec, p: &Point) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/advent2019/day03.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn pt2(first_line: &Vec, second_line: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day03.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day04.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day05.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transitive_orbits` [INFO] [stdout] --> src/advent2019/day06.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn transitive_orbits(object: &str, orbit_map: &HashMap<&str, HashSet<&str>>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_orbits` [INFO] [stdout] --> src/advent2019/day06.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_orbits(lines: &Vec, undirected: bool) -> HashMap<&str, HashSet<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/advent2019/day06.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn part1(lines: &Vec) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `goto_target` [INFO] [stdout] --> src/advent2019/day06.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn goto_target(start: &str, target: &str, orbitee_map: &HashMap<&str, HashSet<&str>>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/advent2019/day06.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn part2(lines: &Vec) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day06.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Position` [INFO] [stdout] --> src/advent2019/intcode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParameterMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Immediate` [INFO] [stdout] --> src/advent2019/intcode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Immediate [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParameterMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/advent2019/intcode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mult` [INFO] [stdout] --> src/advent2019/intcode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Store` [INFO] [stdout] --> src/advent2019/intcode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Store, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> src/advent2019/intcode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpIfTrue` [INFO] [stdout] --> src/advent2019/intcode.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | JumpIfTrue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpIfFalse` [INFO] [stdout] --> src/advent2019/intcode.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | JumpIfFalse, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/advent2019/intcode.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equals` [INFO] [stdout] --> src/advent2019/intcode.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halt` [INFO] [stdout] --> src/advent2019/intcode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Halt [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/advent2019/intcode.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/advent2019/intcode.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(instr: i32) -> (Opcode, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mode` [INFO] [stdout] --> src/advent2019/intcode.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn mode(&self, mode: ParameterMode, i: usize) -> ParameterMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_prog` [INFO] [stdout] --> src/advent2019/intcode.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn run_prog(mem: &mut Vec) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_prog` [INFO] [stdout] --> src/advent2019/intcode.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_prog(prog: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increasing_windows` [INFO] [stdout] --> src/advent2021/day01.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn increasing_windows(window_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day01.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day02.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/advent2021/day03.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/advent2021/day03.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn part2(lines: &Vec, use_most_common: bool) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day03.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_EDGE_SIZE` [INFO] [stdout] --> src/advent2021/day04.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const BOARD_EDGE_SIZE: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/advent2021/day04.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `UNUSED` [INFO] [stdout] --> src/advent2021/day04.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | const UNUSED: i32 = -2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MARKER` [INFO] [stdout] --> src/advent2021/day04.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub const MARKER: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_consecutive` [INFO] [stdout] --> src/advent2021/day04.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_consecutive(self: &Self, mark_gen: F) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_bingo` [INFO] [stdout] --> src/advent2021/day04.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn check_bingo(self: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/advent2021/day04.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(size: usize) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/advent2021/day04.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn set(self: &mut Self, i: usize, j: usize, val: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mark_if_match` [INFO] [stdout] --> src/advent2021/day04.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mark_if_match(self: &mut Self, i: usize, j: usize, val: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dimensions` [INFO] [stdout] --> src/advent2021/day04.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn dimensions(self: &Self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unmarked` [INFO] [stdout] --> src/advent2021/day04.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_unmarked(self: &Self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `numbers` [INFO] [stdout] --> src/advent2021/day04.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | numbers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boards` [INFO] [stdout] --> src/advent2021/day04.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | boards: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Numbers` [INFO] [stdout] --> src/advent2021/day04.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Numbers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone,Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blank` [INFO] [stdout] --> src/advent2021/day04.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone,Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoardLine` [INFO] [stdout] --> src/advent2021/day04.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | BoardLine(usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone,Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/advent2021/day04.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn parse_input(filename: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_bingo` [INFO] [stdout] --> src/advent2021/day04.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn run_bingo(input: &mut Input, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day04.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_point` [INFO] [stdout] --> src/advent2021/day05.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_point(point_str: &str) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/advent2021/day05.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | start: Point, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day05.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/advent2021/day05.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | end: Point [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day05.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_segment` [INFO] [stdout] --> src/advent2021/day05.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse_segment(line: &str) -> Segment { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `points` [INFO] [stdout] --> src/advent2021/day05.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vertical` [INFO] [stdout] --> src/advent2021/day05.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_horizontal` [INFO] [stdout] --> src/advent2021/day05.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_part` [INFO] [stdout] --> src/advent2021/day05.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn run_part(vert_or_horiz_only: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day05.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_sim` [INFO] [stdout] --> src/advent2021/day06.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn run_sim(num_steps: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day06.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_sum` [INFO] [stdout] --> src/advent2021/day07.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn compute_sum(objective: F) where F: Fn(i32,&i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day07.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_if_not_in` [INFO] [stdout] --> src/advent2021/day08.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn add_if_not_in( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day08.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_adjacent` [INFO] [stdout] --> src/advent2021/day09.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_adjacent(heightmap: &Vec>, pos: (usize, usize)) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day09.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `opening_char` [INFO] [stdout] --> src/advent2021/day10.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn opening_char(c: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closing_char` [INFO] [stdout] --> src/advent2021/day10.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn closing_char(c: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_score` [INFO] [stdout] --> src/advent2021/day10.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn error_score(c: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `autocomplete_score` [INFO] [stdout] --> src/advent2021/day10.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn autocomplete_score(c: char) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day10.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NUM_FLASHES` [INFO] [stdout] --> src/advent2021/day11.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NUM_FLASHES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FIRST_SYNC` [INFO] [stdout] --> src/advent2021/day11.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FIRST_SYNC [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adjacent` [INFO] [stdout] --> src/advent2021/day11.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn adjacent<'a>(energy_levels: &'a Vec>, row: usize, col: usize) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sim` [INFO] [stdout] --> src/advent2021/day11.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sim(steps: usize, mode: Mode) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day11.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SingleVisit` [INFO] [stdout] --> src/advent2021/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SingleVisit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/advent2019/intcode.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/advent2019/intcode.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | io::stdin().read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/advent2021/day11.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | *row_cand >= 0 && *row_cand < energy_levels.len() && [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/advent2021/day11.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | *col_cand >= 0 && *col_cand < energy_levels[0].len() && [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 119 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "44e855f543593ff08b92594320e70a2915b7034d9ccb22d392d13b47d0a54d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e855f543593ff08b92594320e70a2915b7034d9ccb22d392d13b47d0a54d96", kill_on_drop: false }` [INFO] [stdout] 44e855f543593ff08b92594320e70a2915b7034d9ccb22d392d13b47d0a54d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0494e691e1547ccf47a2602a7470fca09999c6f4abe88253b9a6f78802ff6986 [INFO] running `Command { std: "docker" "start" "-a" "0494e691e1547ccf47a2602a7470fca09999c6f4abe88253b9a6f78802ff6986", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BinaryHeap` [INFO] [stdout] --> src/advent2019/day06.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/advent2019/day06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `iter::Map` [INFO] [stdout] --> src/advent2021/day06.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::Map}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Output` [INFO] [stdout] --> src/advent2021/day08.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, process::Output}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/advent2021/day10.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NUM_FLASHES` should have an upper camel case name [INFO] [stdout] --> src/advent2021/day11.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NUM_FLASHES, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NumFlashes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FIRST_SYNC` should have an upper camel case name [INFO] [stdout] --> src/advent2021/day11.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FIRST_SYNC [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FirstSync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/advent2019/day03.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut x = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/advent2019/day03.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut y = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/advent2019/day06.rs:98:101 [INFO] [stdout] | [INFO] [stdout] 98 | let path_costs: HashMap, u32> = dijkstra(&graph, *start_idx, Some(*target_idx), |e| 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum1478` is assigned to, but never used [INFO] [stdout] --> src/advent2021/day08.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut sum1478 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum1478` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_valid_paths` [INFO] [stdout] --> src/advent2021/day12.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut num_valid_paths = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_valid_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent2019/day03.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut x = 0; [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/advent2019/day03.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut y = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent2021/day12.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut num_valid_paths = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent2021/day12.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut sorted_paths = str_paths.iter().sorted(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bitstring_to_i32` [INFO] [stdout] --> src/bits.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bitstring_to_i32(bitstr: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fuel_needed` [INFO] [stdout] --> src/advent2019/day01.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn fuel_needed(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt1` [INFO] [stdout] --> src/advent2019/day01.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn pt1(lines: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/advent2019/day01.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn pt2(lines: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day01.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `grav_assist_prog` [INFO] [stdout] --> src/advent2019/day02.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn grav_assist_prog(prog: &str, noun: i32, verb: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/advent2019/day02.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn pt2(prog: &str) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day02.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ORIGIN` [INFO] [stdout] --> src/advent2019/day03.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const ORIGIN: Point = Point {x: 0, y: 0}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/advent2019/day03.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | start: Point, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/day03.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/advent2019/day03.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | end: Point [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/day03.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_segments` [INFO] [stdout] --> src/advent2019/day03.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn line_segments(start: Point, line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `intersection` [INFO] [stdout] --> src/advent2019/day03.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn intersection(a: &Segment, b: &Segment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `intersections` [INFO] [stdout] --> src/advent2019/day03.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn intersections(first_line: &Vec, second_line: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manhattan_dist` [INFO] [stdout] --> src/advent2019/day03.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn manhattan_dist(a: &Point, b: &Point) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `length` [INFO] [stdout] --> src/advent2019/day03.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn length(s: &Segment) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `contains_point` [INFO] [stdout] --> src/advent2019/day03.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn contains_point(s: &Segment, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt1` [INFO] [stdout] --> src/advent2019/day03.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn pt1(first_line: &Vec, second_line: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delay` [INFO] [stdout] --> src/advent2019/day03.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn delay(line: &Vec, p: &Point) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/advent2019/day03.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn pt2(first_line: &Vec, second_line: &Vec) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day03.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day04.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day05.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transitive_orbits` [INFO] [stdout] --> src/advent2019/day06.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn transitive_orbits(object: &str, orbit_map: &HashMap<&str, HashSet<&str>>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_orbits` [INFO] [stdout] --> src/advent2019/day06.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_orbits(lines: &Vec, undirected: bool) -> HashMap<&str, HashSet<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/advent2019/day06.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn part1(lines: &Vec) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `goto_target` [INFO] [stdout] --> src/advent2019/day06.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn goto_target(start: &str, target: &str, orbitee_map: &HashMap<&str, HashSet<&str>>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/advent2019/day06.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn part2(lines: &Vec) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2019/day06.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn run() -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Position` [INFO] [stdout] --> src/advent2019/intcode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParameterMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Immediate` [INFO] [stdout] --> src/advent2019/intcode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Immediate [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParameterMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/advent2019/intcode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mult` [INFO] [stdout] --> src/advent2019/intcode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Store` [INFO] [stdout] --> src/advent2019/intcode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Store, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> src/advent2019/intcode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpIfTrue` [INFO] [stdout] --> src/advent2019/intcode.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | JumpIfTrue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpIfFalse` [INFO] [stdout] --> src/advent2019/intcode.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | JumpIfFalse, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/advent2019/intcode.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equals` [INFO] [stdout] --> src/advent2019/intcode.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halt` [INFO] [stdout] --> src/advent2019/intcode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Halt [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2019/intcode.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/advent2019/intcode.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/advent2019/intcode.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(instr: i32) -> (Opcode, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mode` [INFO] [stdout] --> src/advent2019/intcode.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn mode(&self, mode: ParameterMode, i: usize) -> ParameterMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_prog` [INFO] [stdout] --> src/advent2019/intcode.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn run_prog(mem: &mut Vec) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_prog` [INFO] [stdout] --> src/advent2019/intcode.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_prog(prog: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increasing_windows` [INFO] [stdout] --> src/advent2021/day01.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn increasing_windows(window_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day01.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day02.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/advent2021/day03.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/advent2021/day03.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn part2(lines: &Vec, use_most_common: bool) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day03.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_EDGE_SIZE` [INFO] [stdout] --> src/advent2021/day04.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const BOARD_EDGE_SIZE: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/advent2021/day04.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `UNUSED` [INFO] [stdout] --> src/advent2021/day04.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | const UNUSED: i32 = -2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MARKER` [INFO] [stdout] --> src/advent2021/day04.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub const MARKER: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_consecutive` [INFO] [stdout] --> src/advent2021/day04.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_consecutive(self: &Self, mark_gen: F) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_bingo` [INFO] [stdout] --> src/advent2021/day04.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn check_bingo(self: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/advent2021/day04.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(size: usize) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/advent2021/day04.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn set(self: &mut Self, i: usize, j: usize, val: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mark_if_match` [INFO] [stdout] --> src/advent2021/day04.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn mark_if_match(self: &mut Self, i: usize, j: usize, val: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dimensions` [INFO] [stdout] --> src/advent2021/day04.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn dimensions(self: &Self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_unmarked` [INFO] [stdout] --> src/advent2021/day04.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_unmarked(self: &Self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `numbers` [INFO] [stdout] --> src/advent2021/day04.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | numbers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boards` [INFO] [stdout] --> src/advent2021/day04.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | boards: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Numbers` [INFO] [stdout] --> src/advent2021/day04.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Numbers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone,Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blank` [INFO] [stdout] --> src/advent2021/day04.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone,Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoardLine` [INFO] [stdout] --> src/advent2021/day04.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | BoardLine(usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day04.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone,Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/advent2021/day04.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn parse_input(filename: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_bingo` [INFO] [stdout] --> src/advent2021/day04.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn run_bingo(input: &mut Input, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day04.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_point` [INFO] [stdout] --> src/advent2021/day05.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_point(point_str: &str) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/advent2021/day05.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | start: Point, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day05.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/advent2021/day05.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | end: Point [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent2021/day05.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_segment` [INFO] [stdout] --> src/advent2021/day05.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse_segment(line: &str) -> Segment { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `points` [INFO] [stdout] --> src/advent2021/day05.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vertical` [INFO] [stdout] --> src/advent2021/day05.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_horizontal` [INFO] [stdout] --> src/advent2021/day05.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_part` [INFO] [stdout] --> src/advent2021/day05.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn run_part(vert_or_horiz_only: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day05.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_sim` [INFO] [stdout] --> src/advent2021/day06.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn run_sim(num_steps: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day06.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_sum` [INFO] [stdout] --> src/advent2021/day07.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn compute_sum(objective: F) where F: Fn(i32,&i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day07.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_if_not_in` [INFO] [stdout] --> src/advent2021/day08.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn add_if_not_in( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day08.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_adjacent` [INFO] [stdout] --> src/advent2021/day09.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_adjacent(heightmap: &Vec>, pos: (usize, usize)) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day09.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `opening_char` [INFO] [stdout] --> src/advent2021/day10.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn opening_char(c: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closing_char` [INFO] [stdout] --> src/advent2021/day10.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn closing_char(c: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_score` [INFO] [stdout] --> src/advent2021/day10.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn error_score(c: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `autocomplete_score` [INFO] [stdout] --> src/advent2021/day10.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn autocomplete_score(c: char) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day10.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NUM_FLASHES` [INFO] [stdout] --> src/advent2021/day11.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NUM_FLASHES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FIRST_SYNC` [INFO] [stdout] --> src/advent2021/day11.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FIRST_SYNC [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adjacent` [INFO] [stdout] --> src/advent2021/day11.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn adjacent<'a>(energy_levels: &'a Vec>, row: usize, col: usize) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sim` [INFO] [stdout] --> src/advent2021/day11.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sim(steps: usize, mode: Mode) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/advent2021/day11.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SingleVisit` [INFO] [stdout] --> src/advent2021/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SingleVisit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/advent2019/intcode.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/advent2019/intcode.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | io::stdin().read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/advent2021/day11.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | *row_cand >= 0 && *row_cand < energy_levels.len() && [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/advent2021/day11.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | *col_cand >= 0 && *col_cand < energy_levels[0].len() && [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 118 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code-a3361d002d333953) [INFO] running `Command { std: "docker" "inspect" "0494e691e1547ccf47a2602a7470fca09999c6f4abe88253b9a6f78802ff6986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0494e691e1547ccf47a2602a7470fca09999c6f4abe88253b9a6f78802ff6986", kill_on_drop: false }` [INFO] [stdout] 0494e691e1547ccf47a2602a7470fca09999c6f4abe88253b9a6f78802ff6986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b4814db7b9988228e43500ab01d1264671aec0a73e4323d1477821736513aec [INFO] running `Command { std: "docker" "start" "-a" "4b4814db7b9988228e43500ab01d1264671aec0a73e4323d1477821736513aec", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `BinaryHeap` [INFO] [stderr] --> src/advent2019/day06.rs:2:42 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{HashMap, HashSet, BinaryHeap}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::Map` [INFO] [stderr] --> src/advent2019/day06.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::iter::Map; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::HashMap`, `iter::Map` [INFO] [stderr] --> src/advent2021/day06.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, iter::Map}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `process::Output` [INFO] [stderr] --> src/advent2021/day08.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::{HashMap, HashSet}, process::Output}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/advent2021/day10.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `NUM_FLASHES` should have an upper camel case name [INFO] [stderr] --> src/advent2021/day11.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | NUM_FLASHES, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NumFlashes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `FIRST_SYNC` should have an upper camel case name [INFO] [stderr] --> src/advent2021/day11.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | FIRST_SYNC [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FirstSync` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/advent2019/day03.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let mut x = 0; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/advent2019/day03.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let mut y = 0; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/advent2019/day06.rs:98:101 [INFO] [stderr] | [INFO] [stderr] 98 | let path_costs: HashMap, u32> = dijkstra(&graph, *start_idx, Some(*target_idx), |e| 1); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variable `sum1478` is assigned to, but never used [INFO] [stderr] --> src/advent2021/day08.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | let mut sum1478 = 0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_sum1478` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_valid_paths` [INFO] [stderr] --> src/advent2021/day12.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | let mut num_valid_paths = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_valid_paths` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/advent2019/day03.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let mut x = 0; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/advent2019/day03.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let mut y = 0; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/advent2021/day12.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | let mut num_valid_paths = 0; [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/advent2021/day12.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | let mut sorted_paths = str_paths.iter().sorted(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bitstring_to_i32` [INFO] [stderr] --> src/bits.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn bitstring_to_i32(bitstr: &str) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fuel_needed` [INFO] [stderr] --> src/advent2019/day01.rs:4:4 [INFO] [stderr] | [INFO] [stderr] 4 | fn fuel_needed(mass: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pt1` [INFO] [stderr] --> src/advent2019/day01.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn pt1(lines: &Vec) -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pt2` [INFO] [stderr] --> src/advent2019/day01.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn pt2(lines: &Vec) -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2019/day01.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn run() -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `grav_assist_prog` [INFO] [stderr] --> src/advent2019/day02.rs:4:4 [INFO] [stderr] | [INFO] [stderr] 4 | fn grav_assist_prog(prog: &str, noun: i32, verb: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pt2` [INFO] [stderr] --> src/advent2019/day02.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn pt2(prog: &str) -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2019/day02.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn run() -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ORIGIN` [INFO] [stderr] --> src/advent2019/day03.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const ORIGIN: Point = Point {x: 0, y: 0}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start` [INFO] [stderr] --> src/advent2019/day03.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | start: Point, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/day03.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/advent2019/day03.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | end: Point [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/day03.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `line_segments` [INFO] [stderr] --> src/advent2019/day03.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn line_segments(start: Point, line: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `intersection` [INFO] [stderr] --> src/advent2019/day03.rs:56:4 [INFO] [stderr] | [INFO] [stderr] 56 | fn intersection(a: &Segment, b: &Segment) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `intersections` [INFO] [stderr] --> src/advent2019/day03.rs:85:4 [INFO] [stderr] | [INFO] [stderr] 85 | fn intersections(first_line: &Vec, second_line: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `manhattan_dist` [INFO] [stderr] --> src/advent2019/day03.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | fn manhattan_dist(a: &Point, b: &Point) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `length` [INFO] [stderr] --> src/advent2019/day03.rs:111:4 [INFO] [stderr] | [INFO] [stderr] 111 | fn length(s: &Segment) -> i32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `contains_point` [INFO] [stderr] --> src/advent2019/day03.rs:115:4 [INFO] [stderr] | [INFO] [stderr] 115 | fn contains_point(s: &Segment, p: &Point) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pt1` [INFO] [stderr] --> src/advent2019/day03.rs:125:4 [INFO] [stderr] | [INFO] [stderr] 125 | fn pt1(first_line: &Vec, second_line: &Vec) -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `delay` [INFO] [stderr] --> src/advent2019/day03.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | fn delay(line: &Vec, p: &Point) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pt2` [INFO] [stderr] --> src/advent2019/day03.rs:149:4 [INFO] [stderr] | [INFO] [stderr] 149 | fn pt2(first_line: &Vec, second_line: &Vec) -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2019/day03.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn run() -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2019/day04.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn run() -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2019/day05.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn run() -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `transitive_orbits` [INFO] [stderr] --> src/advent2019/day06.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn transitive_orbits(object: &str, orbit_map: &HashMap<&str, HashSet<&str>>) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_orbits` [INFO] [stderr] --> src/advent2019/day06.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn parse_orbits(lines: &Vec, undirected: bool) -> HashMap<&str, HashSet<&str>> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/advent2019/day06.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn part1(lines: &Vec) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `goto_target` [INFO] [stderr] --> src/advent2019/day06.rs:60:4 [INFO] [stderr] | [INFO] [stderr] 60 | fn goto_target(start: &str, target: &str, orbitee_map: &HashMap<&str, HashSet<&str>>) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/advent2019/day06.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn part2(lines: &Vec) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2019/day06.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn run() -> () { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Position` [INFO] [stderr] --> src/advent2019/intcode.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Position, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParameterMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Immediate` [INFO] [stderr] --> src/advent2019/intcode.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Immediate [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParameterMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plus` [INFO] [stderr] --> src/advent2019/intcode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Plus, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mult` [INFO] [stderr] --> src/advent2019/intcode.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Mult, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Store` [INFO] [stderr] --> src/advent2019/intcode.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Store, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Output` [INFO] [stderr] --> src/advent2019/intcode.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Output, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JumpIfTrue` [INFO] [stderr] --> src/advent2019/intcode.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | JumpIfTrue, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JumpIfFalse` [INFO] [stderr] --> src/advent2019/intcode.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | JumpIfFalse, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LessThan` [INFO] [stderr] --> src/advent2019/intcode.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | LessThan, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equals` [INFO] [stderr] --> src/advent2019/intcode.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Equals, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Halt` [INFO] [stderr] --> src/advent2019/intcode.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Halt [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2019/intcode.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `arity` [INFO] [stderr] --> src/advent2019/intcode.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | fn arity(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse` [INFO] [stderr] --> src/advent2019/intcode.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn parse(instr: i32) -> (Opcode, Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mode` [INFO] [stderr] --> src/advent2019/intcode.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | fn mode(&self, mode: ParameterMode, i: usize) -> ParameterMode { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_prog` [INFO] [stderr] --> src/advent2019/intcode.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn run_prog(mem: &mut Vec) -> () { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_prog` [INFO] [stderr] --> src/advent2019/intcode.rs:149:8 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn parse_prog(prog: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `increasing_windows` [INFO] [stderr] --> src/advent2021/day01.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn increasing_windows(window_size: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day01.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day02.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/advent2021/day03.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/advent2021/day03.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | fn part2(lines: &Vec, use_most_common: bool) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day03.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BOARD_EDGE_SIZE` [INFO] [stderr] --> src/advent2021/day04.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | const BOARD_EDGE_SIZE: usize = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Mode` [INFO] [stderr] --> src/advent2021/day04.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | enum Mode { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `UNUSED` [INFO] [stderr] --> src/advent2021/day04.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | const UNUSED: i32 = -2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MARKER` [INFO] [stderr] --> src/advent2021/day04.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub const MARKER: i32 = -1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_consecutive` [INFO] [stderr] --> src/advent2021/day04.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | fn check_consecutive(self: &Self, mark_gen: F) -> bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_bingo` [INFO] [stderr] --> src/advent2021/day04.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn check_bingo(self: &Self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/advent2021/day04.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn new(size: usize) -> Board { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set` [INFO] [stderr] --> src/advent2021/day04.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn set(self: &mut Self, i: usize, j: usize, val: i32) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mark_if_match` [INFO] [stderr] --> src/advent2021/day04.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn mark_if_match(self: &mut Self, i: usize, j: usize, val: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dimensions` [INFO] [stderr] --> src/advent2021/day04.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn dimensions(self: &Self) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_unmarked` [INFO] [stderr] --> src/advent2021/day04.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn get_unmarked(self: &Self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `numbers` [INFO] [stderr] --> src/advent2021/day04.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | numbers: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day04.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `boards` [INFO] [stderr] --> src/advent2021/day04.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | boards: Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day04.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Numbers` [INFO] [stderr] --> src/advent2021/day04.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | Numbers, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day04.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | #[derive(Clone,Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Blank` [INFO] [stderr] --> src/advent2021/day04.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | Blank, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day04.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | #[derive(Clone,Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BoardLine` [INFO] [stderr] --> src/advent2021/day04.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | BoardLine(usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day04.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | #[derive(Clone,Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_input` [INFO] [stderr] --> src/advent2021/day04.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn parse_input(filename: &str) -> Input { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_bingo` [INFO] [stderr] --> src/advent2021/day04.rs:129:4 [INFO] [stderr] | [INFO] [stderr] 129 | fn run_bingo(input: &mut Input, mode: Mode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day04.rs:178:8 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_point` [INFO] [stderr] --> src/advent2021/day05.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn parse_point(point_str: &str) -> Point { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start` [INFO] [stderr] --> src/advent2021/day05.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | start: Point, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day05.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/advent2021/day05.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | end: Point [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/advent2021/day05.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_segment` [INFO] [stderr] --> src/advent2021/day05.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse_segment(line: &str) -> Segment { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `points` [INFO] [stderr] --> src/advent2021/day05.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn points(&self) -> Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_vertical` [INFO] [stderr] --> src/advent2021/day05.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn is_vertical(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_horizontal` [INFO] [stderr] --> src/advent2021/day05.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn is_horizontal(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_part` [INFO] [stderr] --> src/advent2021/day05.rs:68:4 [INFO] [stderr] | [INFO] [stderr] 68 | fn run_part(vert_or_horiz_only: bool) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day05.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_sim` [INFO] [stderr] --> src/advent2021/day06.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn run_sim(num_steps: usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day06.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `compute_sum` [INFO] [stderr] --> src/advent2021/day07.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn compute_sum(objective: F) where F: Fn(i32,&i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day07.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add_if_not_in` [INFO] [stderr] --> src/advent2021/day08.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn add_if_not_in( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day08.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_adjacent` [INFO] [stderr] --> src/advent2021/day09.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn get_adjacent(heightmap: &Vec>, pos: (usize, usize)) -> HashSet<(usize, usize)> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day09.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `opening_char` [INFO] [stderr] --> src/advent2021/day10.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | fn opening_char(c: char) -> char { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `closing_char` [INFO] [stderr] --> src/advent2021/day10.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn closing_char(c: char) -> char { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `error_score` [INFO] [stderr] --> src/advent2021/day10.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn error_score(c: char) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `autocomplete_score` [INFO] [stderr] --> src/advent2021/day10.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn autocomplete_score(c: char) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day10.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NUM_FLASHES` [INFO] [stderr] --> src/advent2021/day11.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | NUM_FLASHES, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FIRST_SYNC` [INFO] [stderr] --> src/advent2021/day11.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | FIRST_SYNC [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `adjacent` [INFO] [stderr] --> src/advent2021/day11.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn adjacent<'a>(energy_levels: &'a Vec>, row: usize, col: usize) -> Box + 'a> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sim` [INFO] [stderr] --> src/advent2021/day11.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | fn sim(steps: usize, mode: Mode) -> u32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/advent2021/day11.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SingleVisit` [INFO] [stderr] --> src/advent2021/day12.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | SingleVisit, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/advent2019/intcode.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | io::stdout().flush(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/advent2019/intcode.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | io::stdin().read_line(&mut input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/advent2021/day11.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | *row_cand >= 0 && *row_cand < energy_levels.len() && [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/advent2021/day11.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | *col_cand >= 0 && *col_cand < energy_levels[0].len() && [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code` (bin "advent-of-code" test) generated 118 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code-a3361d002d333953) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test bits::tests::test_dec_ith ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b4814db7b9988228e43500ab01d1264671aec0a73e4323d1477821736513aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4814db7b9988228e43500ab01d1264671aec0a73e4323d1477821736513aec", kill_on_drop: false }` [INFO] [stdout] 4b4814db7b9988228e43500ab01d1264671aec0a73e4323d1477821736513aec