[INFO] cloning repository https://github.com/krzysztof-ciszewski/aoc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krzysztof-ciszewski/aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Faoc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Faoc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d23b97741110e1ff277eda28e772b16d80bd7909
[INFO] testing krzysztof-ciszewski/aoc against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztof-ciszewski%2Faoc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krzysztof-ciszewski/aoc
[INFO] finished tweaking git repo https://github.com/krzysztof-ciszewski/aoc
[INFO] tweaked toml for git repo https://github.com/krzysztof-ciszewski/aoc written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krzysztof-ciszewski/aoc on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krzysztof-ciszewski/aoc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fancy-regex v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54d0f2c3aa14cc8c14b53e5070bdda723d1bb08ee4da82ca3e09e32ccceb954b
[INFO] running `Command { std: "docker" "start" "-a" "54d0f2c3aa14cc8c14b53e5070bdda723d1bb08ee4da82ca3e09e32ccceb954b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54d0f2c3aa14cc8c14b53e5070bdda723d1bb08ee4da82ca3e09e32ccceb954b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54d0f2c3aa14cc8c14b53e5070bdda723d1bb08ee4da82ca3e09e32ccceb954b", kill_on_drop: false }`
[INFO] [stdout] 54d0f2c3aa14cc8c14b53e5070bdda723d1bb08ee4da82ca3e09e32ccceb954b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6b780cfe3fac6a7a47898ff5db46cc5dcb608e1d36af27d486c138c944fe23ce
[INFO] running `Command { std: "docker" "start" "-a" "6b780cfe3fac6a7a47898ff5db46cc5dcb608e1d36af27d486c138c944fe23ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling fancy-regex v0.14.0
[INFO] [stderr]    Compiling aoc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]    --> src/first.rs:111:25
[INFO] [stdout]     |
[INFO] [stdout] 111 |     for (i, element) in DIGITS.iter_mut().enumerate() {
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]     = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]    --> src/first.rs:4:1
[INFO] [stdout]     |
[INFO] [stdout]   4 | const DIGITS: [&str; 9] = [
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIGITS` is never used
[INFO] [stdout]  --> src/first.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DIGITS: [&str; 9] = [
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first` is never used
[INFO] [stdout]  --> src/first.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn first() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_text_num` is never used
[INFO] [stdout]   --> src/first.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn find_text_num(line: Vec<char>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digit_word_to_digit` is never used
[INFO] [stdout]    --> src/first.rs:110:4
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn digit_word_to_digit(digit: &String) -> char {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_digit` is never used
[INFO] [stdout]    --> src/first.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn is_digit(possible_digit: &String) -> bool {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digit_starts_with` is never used
[INFO] [stdout]    --> src/first.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn digit_starts_with(char: char) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digit_ends_with` is never used
[INFO] [stdout]    --> src/first.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn digit_ends_with(char: char) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_num` is never used
[INFO] [stdout]    --> src/first.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn find_num(line: Vec<char>) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `second` is never used
[INFO] [stdout]  --> src/second.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn second() {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ksaruu_solution` is never used
[INFO] [stdout]   --> src/second.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn ksaruu_solution(puzzle: Lines<BufReader<File>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ksaruu_solution_part2` is never used
[INFO] [stdout]   --> src/second.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn ksaruu_solution_part2(puzzle: Lines<BufReader<File>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_solution` is never used
[INFO] [stdout]    --> src/second.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn my_solution(puzzle: Lines<BufReader<File>>) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_red` is never used
[INFO] [stdout]    --> src/second.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn get_max_red(line: &str) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_green` is never used
[INFO] [stdout]    --> src/second.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn get_max_green(line: &str) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_blue` is never used
[INFO] [stdout]    --> src/second.rs:157:4
[INFO] [stdout]     |
[INFO] [stdout] 157 | fn get_max_blue(line: &str) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max` is never used
[INFO] [stdout]    --> src/second.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn get_max(line: &str, re: Regex) -> u8 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Number` is never constructed
[INFO] [stdout]  --> src/third.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Number {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gear` is never constructed
[INFO] [stdout]   --> src/third.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Gear {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `third` is never used
[INFO] [stdout]   --> src/third.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn third() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part2` is never used
[INFO] [stdout]   --> src/third.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn part2(file: &mut File, numbers: &mut Vec<Number>, gears: &mut Vec<Gear>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part1` is never used
[INFO] [stdout]    --> src/third.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn part1(file: &mut File, numbers: &mut Vec<Number>) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_symbol` is never used
[INFO] [stdout]    --> src/third.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn has_symbol(line: &str, number: &Number) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_symbol` is never used
[INFO] [stdout]    --> src/third.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn is_symbol(c: char) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/first.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |             while offset >= 0 && right > left && line[tmp_right] == dw[offset] {
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nIdx` should have a snake case name
[INFO] [stdout]   --> src/third.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 while let Some((nIdx, next_char)) = chars.peek() {
[INFO] [stdout]    |                                 ^^^^ help: convert the identifier to snake case: `n_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.63s
[INFO] running `Command { std: "docker" "inspect" "6b780cfe3fac6a7a47898ff5db46cc5dcb608e1d36af27d486c138c944fe23ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b780cfe3fac6a7a47898ff5db46cc5dcb608e1d36af27d486c138c944fe23ce", kill_on_drop: false }`
[INFO] [stdout] 6b780cfe3fac6a7a47898ff5db46cc5dcb608e1d36af27d486c138c944fe23ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eabd9ffd0dbb5931c5403f4cbb0b9fb051f6d3bbd65e71bfb527fe93639f01db
[INFO] running `Command { std: "docker" "start" "-a" "eabd9ffd0dbb5931c5403f4cbb0b9fb051f6d3bbd65e71bfb527fe93639f01db", kill_on_drop: false }`
[INFO] [stderr]    Compiling aoc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]    --> src/first.rs:111:25
[INFO] [stdout]     |
[INFO] [stdout] 111 |     for (i, element) in DIGITS.iter_mut().enumerate() {
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]     = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]    --> src/first.rs:4:1
[INFO] [stdout]     |
[INFO] [stdout]   4 | const DIGITS: [&str; 9] = [
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIGITS` is never used
[INFO] [stdout]  --> src/first.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DIGITS: [&str; 9] = [
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first` is never used
[INFO] [stdout]  --> src/first.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn first() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_text_num` is never used
[INFO] [stdout]   --> src/first.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn find_text_num(line: Vec<char>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digit_word_to_digit` is never used
[INFO] [stdout]    --> src/first.rs:110:4
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn digit_word_to_digit(digit: &String) -> char {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_digit` is never used
[INFO] [stdout]    --> src/first.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn is_digit(possible_digit: &String) -> bool {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digit_starts_with` is never used
[INFO] [stdout]    --> src/first.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn digit_starts_with(char: char) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digit_ends_with` is never used
[INFO] [stdout]    --> src/first.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn digit_ends_with(char: char) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_num` is never used
[INFO] [stdout]    --> src/first.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn find_num(line: Vec<char>) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `second` is never used
[INFO] [stdout]  --> src/second.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn second() {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ksaruu_solution` is never used
[INFO] [stdout]   --> src/second.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn ksaruu_solution(puzzle: Lines<BufReader<File>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ksaruu_solution_part2` is never used
[INFO] [stdout]   --> src/second.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn ksaruu_solution_part2(puzzle: Lines<BufReader<File>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_solution` is never used
[INFO] [stdout]    --> src/second.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn my_solution(puzzle: Lines<BufReader<File>>) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_red` is never used
[INFO] [stdout]    --> src/second.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn get_max_red(line: &str) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_green` is never used
[INFO] [stdout]    --> src/second.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn get_max_green(line: &str) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_blue` is never used
[INFO] [stdout]    --> src/second.rs:157:4
[INFO] [stdout]     |
[INFO] [stdout] 157 | fn get_max_blue(line: &str) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max` is never used
[INFO] [stdout]    --> src/second.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn get_max(line: &str, re: Regex) -> u8 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Number` is never constructed
[INFO] [stdout]  --> src/third.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Number {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gear` is never constructed
[INFO] [stdout]   --> src/third.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Gear {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `third` is never used
[INFO] [stdout]   --> src/third.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn third() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part2` is never used
[INFO] [stdout]   --> src/third.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn part2(file: &mut File, numbers: &mut Vec<Number>, gears: &mut Vec<Gear>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part1` is never used
[INFO] [stdout]    --> src/third.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn part1(file: &mut File, numbers: &mut Vec<Number>) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_symbol` is never used
[INFO] [stdout]    --> src/third.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn has_symbol(line: &str, number: &Number) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_symbol` is never used
[INFO] [stdout]    --> src/third.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn is_symbol(c: char) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/first.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |             while offset >= 0 && right > left && line[tmp_right] == dw[offset] {
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nIdx` should have a snake case name
[INFO] [stdout]   --> src/third.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 while let Some((nIdx, next_char)) = chars.peek() {
[INFO] [stdout]    |                                 ^^^^ help: convert the identifier to snake case: `n_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "eabd9ffd0dbb5931c5403f4cbb0b9fb051f6d3bbd65e71bfb527fe93639f01db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eabd9ffd0dbb5931c5403f4cbb0b9fb051f6d3bbd65e71bfb527fe93639f01db", kill_on_drop: false }`
[INFO] [stdout] eabd9ffd0dbb5931c5403f4cbb0b9fb051f6d3bbd65e71bfb527fe93639f01db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 537c6d52dfdc0e3e39d5e8d4f3f411b78eb8404575a9a83d185e5f701cb6d0c6
[INFO] running `Command { std: "docker" "start" "-a" "537c6d52dfdc0e3e39d5e8d4f3f411b78eb8404575a9a83d185e5f701cb6d0c6", kill_on_drop: false }`
[INFO] [stderr] warning: taking a mutable reference to a `const` item
[INFO] [stderr]    --> src/first.rs:111:25
[INFO] [stderr]     |
[INFO] [stderr] 111 |     for (i, element) in DIGITS.iter_mut().enumerate() {
[INFO] [stderr]     |                         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: each usage of a `const` item creates a new temporary
[INFO] [stderr]     = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stderr] note: `const` item defined here
[INFO] [stderr]    --> src/first.rs:4:1
[INFO] [stderr]     |
[INFO] [stderr]   4 | const DIGITS: [&str; 9] = [
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DIGITS` is never used
[INFO] [stderr]  --> src/first.rs:4:7
[INFO] [stderr]   |
[INFO] [stderr] 4 | const DIGITS: [&str; 9] = [
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `first` is never used
[INFO] [stderr]  --> src/first.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub fn first() {
[INFO] [stderr]   |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_text_num` is never used
[INFO] [stderr]   --> src/first.rs:21:4
[INFO] [stderr]    |
[INFO] [stderr] 21 | fn find_text_num(line: Vec<char>) -> i32 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `digit_word_to_digit` is never used
[INFO] [stderr]    --> src/first.rs:110:4
[INFO] [stderr]     |
[INFO] [stderr] 110 | fn digit_word_to_digit(digit: &String) -> char {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_digit` is never used
[INFO] [stderr]    --> src/first.rs:120:4
[INFO] [stderr]     |
[INFO] [stderr] 120 | fn is_digit(possible_digit: &String) -> bool {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `digit_starts_with` is never used
[INFO] [stderr]    --> src/first.rs:130:4
[INFO] [stderr]     |
[INFO] [stderr] 130 | fn digit_starts_with(char: char) -> Vec<String> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `digit_ends_with` is never used
[INFO] [stderr]    --> src/first.rs:142:4
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn digit_ends_with(char: char) -> Vec<String> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_num` is never used
[INFO] [stderr]    --> src/first.rs:153:4
[INFO] [stderr]     |
[INFO] [stderr] 153 | fn find_num(line: Vec<char>) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `second` is never used
[INFO] [stderr]  --> src/second.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn second() {
[INFO] [stderr]   |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ksaruu_solution` is never used
[INFO] [stderr]   --> src/second.rs:12:4
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn ksaruu_solution(puzzle: Lines<BufReader<File>>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ksaruu_solution_part2` is never used
[INFO] [stderr]   --> src/second.rs:60:4
[INFO] [stderr]    |
[INFO] [stderr] 60 | fn ksaruu_solution_part2(puzzle: Lines<BufReader<File>>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `my_solution` is never used
[INFO] [stderr]    --> src/second.rs:108:4
[INFO] [stderr]     |
[INFO] [stderr] 108 | fn my_solution(puzzle: Lines<BufReader<File>>) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_max_red` is never used
[INFO] [stderr]    --> src/second.rs:145:4
[INFO] [stderr]     |
[INFO] [stderr] 145 | fn get_max_red(line: &str) -> u8 {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_max_green` is never used
[INFO] [stderr]    --> src/second.rs:151:4
[INFO] [stderr]     |
[INFO] [stderr] 151 | fn get_max_green(line: &str) -> u8 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_max_blue` is never used
[INFO] [stderr]    --> src/second.rs:157:4
[INFO] [stderr]     |
[INFO] [stderr] 157 | fn get_max_blue(line: &str) -> u8 {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_max` is never used
[INFO] [stderr]    --> src/second.rs:163:4
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn get_max(line: &str, re: Regex) -> u8 {
[INFO] [stderr]     |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Number` is never constructed
[INFO] [stderr]  --> src/third.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Number {
[INFO] [stderr]   |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Gear` is never constructed
[INFO] [stderr]   --> src/third.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct Gear {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `third` is never used
[INFO] [stderr]   --> src/third.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn third() {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `part2` is never used
[INFO] [stderr]   --> src/third.rs:61:4
[INFO] [stderr]    |
[INFO] [stderr] 61 | fn part2(file: &mut File, numbers: &mut Vec<Number>, gears: &mut Vec<Gear>) {
[INFO] [stderr]    |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `part1` is never used
[INFO] [stderr]    --> src/third.rs:112:4
[INFO] [stderr]     |
[INFO] [stderr] 112 | fn part1(file: &mut File, numbers: &mut Vec<Number>) {
[INFO] [stderr]     |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `has_symbol` is never used
[INFO] [stderr]    --> src/third.rs:148:4
[INFO] [stderr]     |
[INFO] [stderr] 148 | fn has_symbol(line: &str, number: &Number) -> bool {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_symbol` is never used
[INFO] [stderr]    --> src/third.rs:162:4
[INFO] [stderr]     |
[INFO] [stderr] 162 | fn is_symbol(c: char) -> bool {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/first.rs:87:19
[INFO] [stderr]    |
[INFO] [stderr] 87 |             while offset >= 0 && right > left && line[tmp_right] == dw[offset] {
[INFO] [stderr]    |                   ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `nIdx` should have a snake case name
[INFO] [stderr]   --> src/third.rs:32:33
[INFO] [stderr]    |
[INFO] [stderr] 32 |                 while let Some((nIdx, next_char)) = chars.peek() {
[INFO] [stderr]    |                                 ^^^^ help: convert the identifier to snake case: `n_idx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `aoc` (bin "aoc" test) generated 26 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc-082e8d8eaeb0abc8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "537c6d52dfdc0e3e39d5e8d4f3f411b78eb8404575a9a83d185e5f701cb6d0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "537c6d52dfdc0e3e39d5e8d4f3f411b78eb8404575a9a83d185e5f701cb6d0c6", kill_on_drop: false }`
[INFO] [stdout] 537c6d52dfdc0e3e39d5e8d4f3f411b78eb8404575a9a83d185e5f701cb6d0c6
