[INFO] cloning repository https://github.com/Lolchek/rust-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/Lolchek/rust-advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLolchek%2Frust-advent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLolchek%2Frust-advent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 946c619926f2d0ee64cb4b7eea3e5cb22a548241 [INFO] testing Lolchek/rust-advent-of-code against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLolchek%2Frust-advent-of-code" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lolchek/rust-advent-of-code on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lolchek/rust-advent-of-code [INFO] finished tweaking git repo https://github.com/Lolchek/rust-advent-of-code [INFO] tweaked toml for git repo https://github.com/Lolchek/rust-advent-of-code written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Lolchek/rust-advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57bc10844663f8595c3a9740c1e588c336bdd75b57d5ea2c4b8898f0cd567d7b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "57bc10844663f8595c3a9740c1e588c336bdd75b57d5ea2c4b8898f0cd567d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57bc10844663f8595c3a9740c1e588c336bdd75b57d5ea2c4b8898f0cd567d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bc10844663f8595c3a9740c1e588c336bdd75b57d5ea2c4b8898f0cd567d7b", kill_on_drop: false }` [INFO] [stdout] 57bc10844663f8595c3a9740c1e588c336bdd75b57d5ea2c4b8898f0cd567d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c396898d4d416befe8c3587785e5f813024d48159dd7221a174c83a47a41d2f2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c396898d4d416befe8c3587785e5f813024d48159dd7221a174c83a47a41d2f2", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let filepath = "src/day6/data/input.txt"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/day5/src.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn day5(filepath: &str){ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task1` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task2` [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn task2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task3` [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn task3(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task4` [INFO] [stdout] --> src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn task4(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task5` [INFO] [stdout] --> src/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn task5(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task6` [INFO] [stdout] --> src/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn task6(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/day3/day3code.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | map: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day3/day3code.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: `len_row` [INFO] [stdout] --> src/day3/day3code.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | len_row: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day3/day3code.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: `len_col` [INFO] [stdout] --> src/day3/day3code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | len_col: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day3/day3code.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: `get_point` [INFO] [stdout] --> src/day3/day3code.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_point(&self, row: i32, column: i32) -> char{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_end` [INFO] [stdout] --> src/day3/day3code.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_end(&self, row: i32) -> bool{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_tree` [INFO] [stdout] --> src/day3/day3code.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_tree(character: char) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_map_from_file` [INFO] [stdout] --> src/day3/day3code.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn build_map_from_file(filename: &str) -> TreeMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_steps` [INFO] [stdout] --> src/day3/day3code.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn run_with_steps(map: &TreeMap, right: i32, down: i32) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day3` [INFO] [stdout] --> src/day3/day3code.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn day3(filename: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/day4/src.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | byr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `iyr` [INFO] [stdout] --> src/day4/src.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | iyr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `eyr` [INFO] [stdout] --> src/day4/src.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | eyr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `hgt` [INFO] [stdout] --> src/day4/src.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | hgt: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `hcl` [INFO] [stdout] --> src/day4/src.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | hcl: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `ecl` [INFO] [stdout] --> src/day4/src.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ecl: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `pid` [INFO] [stdout] --> src/day4/src.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pid: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `cid` [INFO] [stdout] --> src/day4/src.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cid: String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `is_valid` [INFO] [stdout] --> src/day4/src.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_valid(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_passports_from_file` [INFO] [stdout] --> src/day4/src.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn load_passports_from_file(filename: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day4` [INFO] [stdout] --> src/day4/src.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn day4(filepath: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day5` [INFO] [stdout] --> src/day5/src.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn day5(filepath: &str){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.89s [INFO] running `Command { std: "docker" "inspect" "c396898d4d416befe8c3587785e5f813024d48159dd7221a174c83a47a41d2f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c396898d4d416befe8c3587785e5f813024d48159dd7221a174c83a47a41d2f2", kill_on_drop: false }` [INFO] [stdout] c396898d4d416befe8c3587785e5f813024d48159dd7221a174c83a47a41d2f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e458cf06f77455c0ae6353342a895dfc5d2ec6848866484ecb3bf483abc0186 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e458cf06f77455c0ae6353342a895dfc5d2ec6848866484ecb3bf483abc0186", 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 variable: `filepath` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let filepath = "src/day6/data/input.txt"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/day5/src.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn day5(filepath: &str){ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task1` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task2` [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn task2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task3` [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn task3(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task4` [INFO] [stdout] --> src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn task4(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task5` [INFO] [stdout] --> src/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn task5(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task6` [INFO] [stdout] --> src/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn task6(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/day3/day3code.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | map: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day3/day3code.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: `len_row` [INFO] [stdout] --> src/day3/day3code.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | len_row: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day3/day3code.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: `len_col` [INFO] [stdout] --> src/day3/day3code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | len_col: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day3/day3code.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: `get_point` [INFO] [stdout] --> src/day3/day3code.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_point(&self, row: i32, column: i32) -> char{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_end` [INFO] [stdout] --> src/day3/day3code.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_end(&self, row: i32) -> bool{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_tree` [INFO] [stdout] --> src/day3/day3code.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_tree(character: char) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_map_from_file` [INFO] [stdout] --> src/day3/day3code.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn build_map_from_file(filename: &str) -> TreeMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_steps` [INFO] [stdout] --> src/day3/day3code.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn run_with_steps(map: &TreeMap, right: i32, down: i32) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day3` [INFO] [stdout] --> src/day3/day3code.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn day3(filename: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/day4/src.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | byr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `iyr` [INFO] [stdout] --> src/day4/src.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | iyr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `eyr` [INFO] [stdout] --> src/day4/src.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | eyr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `hgt` [INFO] [stdout] --> src/day4/src.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | hgt: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `hcl` [INFO] [stdout] --> src/day4/src.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | hcl: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `ecl` [INFO] [stdout] --> src/day4/src.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ecl: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `pid` [INFO] [stdout] --> src/day4/src.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pid: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `cid` [INFO] [stdout] --> src/day4/src.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cid: String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day4/src.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: `is_valid` [INFO] [stdout] --> src/day4/src.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_valid(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_passports_from_file` [INFO] [stdout] --> src/day4/src.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn load_passports_from_file(filename: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day4` [INFO] [stdout] --> src/day4/src.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn day4(filepath: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day5` [INFO] [stdout] --> src/day5/src.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn day5(filepath: &str){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "7e458cf06f77455c0ae6353342a895dfc5d2ec6848866484ecb3bf483abc0186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e458cf06f77455c0ae6353342a895dfc5d2ec6848866484ecb3bf483abc0186", kill_on_drop: false }` [INFO] [stdout] 7e458cf06f77455c0ae6353342a895dfc5d2ec6848866484ecb3bf483abc0186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fcb339bdb838b88818a9e79799670f98b9af82b039e0e9d622e3d857e3587cf6 [INFO] running `Command { std: "docker" "start" "-a" "fcb339bdb838b88818a9e79799670f98b9af82b039e0e9d622e3d857e3587cf6", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused variable: `filepath` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:113:9 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 113 | let filepath = "src/day6/data/input.txt"; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filepath` [INFO] [stderr] --> src/day5/src.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn day5(filepath: &str){ [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `task1` [INFO] [stderr] --> src/main.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn task1() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `task2` [INFO] [stderr] --> src/main.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | fn task2() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `task3` [INFO] [stderr] --> src/main.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | fn task3(){ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `task4` [INFO] [stderr] --> src/main.rs:97:4 [INFO] [stderr] | [INFO] [stderr] 97 | fn task4(){ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `task5` [INFO] [stderr] --> src/main.rs:106:4 [INFO] [stderr] | [INFO] [stderr] 106 | fn task5(){ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `task6` [INFO] [stderr] --> src/main.rs:112:4 [INFO] [stderr] | [INFO] [stderr] 112 | fn task6(){ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `map` [INFO] [stderr] --> src/day3/day3code.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | map: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day3/day3code.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[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: `len_row` [INFO] [stderr] --> src/day3/day3code.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | len_row: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day3/day3code.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[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: `len_col` [INFO] [stderr] --> src/day3/day3code.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | len_col: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TreeMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day3/day3code.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[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: `get_point` [INFO] [stderr] --> src/day3/day3code.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_point(&self, row: i32, column: i32) -> char{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_end` [INFO] [stderr] --> src/day3/day3code.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | fn is_end(&self, row: i32) -> bool{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_tree` [INFO] [stderr] --> src/day3/day3code.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | fn is_tree(character: char) -> bool{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `build_map_from_file` [INFO] [stderr] --> src/day3/day3code.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn build_map_from_file(filename: &str) -> TreeMap{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_with_steps` [INFO] [stderr] --> src/day3/day3code.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | fn run_with_steps(map: &TreeMap, right: i32, down: i32) -> i32{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day3` [INFO] [stderr] --> src/day3/day3code.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn day3(filename: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `byr` [INFO] [stderr] --> src/day4/src.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | byr: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `iyr` [INFO] [stderr] --> src/day4/src.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | iyr: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `eyr` [INFO] [stderr] --> src/day4/src.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | eyr: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `hgt` [INFO] [stderr] --> src/day4/src.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | hgt: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `hcl` [INFO] [stderr] --> src/day4/src.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | hcl: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `ecl` [INFO] [stderr] --> src/day4/src.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | ecl: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `pid` [INFO] [stderr] --> src/day4/src.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | pid: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `cid` [INFO] [stderr] --> src/day4/src.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | cid: String [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day4/src.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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: `is_valid` [INFO] [stderr] --> src/day4/src.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | fn is_valid(&self) -> bool{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `load_passports_from_file` [INFO] [stderr] --> src/day4/src.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn load_passports_from_file(filename: &str) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day4` [INFO] [stderr] --> src/day4/src.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn day4(filepath: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day5` [INFO] [stderr] --> src/day5/src.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn day5(filepath: &str){ [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code` (bin "advent-of-code" test) generated 29 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code-1338ee2bb0d7403f) [INFO] running `Command { std: "docker" "inspect" "fcb339bdb838b88818a9e79799670f98b9af82b039e0e9d622e3d857e3587cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb339bdb838b88818a9e79799670f98b9af82b039e0e9d622e3d857e3587cf6", kill_on_drop: false }` [INFO] [stdout] fcb339bdb838b88818a9e79799670f98b9af82b039e0e9d622e3d857e3587cf6