[INFO] cloning repository https://github.com/Osse/aoc2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osse/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsse%2Faoc2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsse%2Faoc2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b08eb98d4619d8e294726b5b266a5413f8bd8146 [INFO] testing Osse/aoc2022 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsse%2Faoc2022" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Osse/aoc2022 [INFO] finished tweaking git repo https://github.com/Osse/aoc2022 [INFO] tweaked toml for git repo https://github.com/Osse/aoc2022 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Osse/aoc2022 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Osse/aoc2022 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d85b1d52475b3b3b805c0504e38a9e6624762ab28721161ab971b04638e9d53 [INFO] running `Command { std: "docker" "start" "-a" "6d85b1d52475b3b3b805c0504e38a9e6624762ab28721161ab971b04638e9d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d85b1d52475b3b3b805c0504e38a9e6624762ab28721161ab971b04638e9d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d85b1d52475b3b3b805c0504e38a9e6624762ab28721161ab971b04638e9d53", kill_on_drop: false }` [INFO] [stdout] 6d85b1d52475b3b3b805c0504e38a9e6624762ab28721161ab971b04638e9d53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b80da139620af191ba9199a1548934c5c8fbe6ab146456512c71ac17081bfb [INFO] running `Command { std: "docker" "start" "-a" "a1b80da139620af191ba9199a1548934c5c8fbe6ab146456512c71ac17081bfb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/8.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(is_sorted)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/8.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut matrix = Vec::>::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/8.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let matrix = mb.build(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible` [INFO] [stdout] --> src/8.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut visible = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/8.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut matrix = Vec::>::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/8.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut visible = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rows`, `columns`, and `data` are never read [INFO] [stdout] --> src/8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Matrix { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | rows: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | columns: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `row` and `column` are never used [INFO] [stdout] --> src/8.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Matrix { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 10 | fn row(&self, r: usize) -> RowIter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn column(&self, c: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RowIter` is never constructed [INFO] [stdout] --> src/8.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct RowIter<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnIter` is never constructed [INFO] [stdout] --> src/8.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ColumnIter<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/8.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | fn row(&self, r: usize) -> RowIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | fn row(&self, r: usize) -> RowIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/8.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn column(&self, c: usize) -> ColumnIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn column(&self, c: usize) -> ColumnIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let score: i32 = contents [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_priority` [INFO] [stdout] --> src/3.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let total_priority: u32 = contents [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_priority` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rearrange` is never used [INFO] [stdout] --> src/5.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Stacks { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn rearrange(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/7.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | File(usize, String), [INFO] [stdout] | ---- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FsEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - File(usize, String), [INFO] [stdout] 23 + File((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.71s [INFO] running `Command { std: "docker" "inspect" "a1b80da139620af191ba9199a1548934c5c8fbe6ab146456512c71ac17081bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b80da139620af191ba9199a1548934c5c8fbe6ab146456512c71ac17081bfb", kill_on_drop: false }` [INFO] [stdout] a1b80da139620af191ba9199a1548934c5c8fbe6ab146456512c71ac17081bfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed0acdc1ead1d415edd3d6259aa9ef4f675545cc758151f0c3c3d97fe738556 [INFO] running `Command { std: "docker" "start" "-a" "bed0acdc1ead1d415edd3d6259aa9ef4f675545cc758151f0c3c3d97fe738556", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/8.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(is_sorted)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let score: i32 = contents [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_priority` [INFO] [stdout] --> src/3.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let total_priority: u32 = contents [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_priority` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rearrange` is never used [INFO] [stdout] --> src/5.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Stacks { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn rearrange(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/8.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut matrix = Vec::>::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/8.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let matrix = mb.build(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible` [INFO] [stdout] --> src/8.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut visible = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/8.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut matrix = Vec::>::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/8.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut visible = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `it` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/8.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let it = m.row(1); [INFO] [stdout] | ^^ not mutable [INFO] [stdout] 168 | [INFO] [stdout] 169 | assert_eq!(it.next(), Some(&4)); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] 170 | assert_eq!(it.next(), Some(&5)); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] 171 | assert_eq!(it.next(), Some(&6)); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] 172 | assert_eq!(it.next(), None); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 167 | let mut it = m.row(1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `it` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/8.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let it = m.column(1); [INFO] [stdout] | ^^ not mutable [INFO] [stdout] 175 | [INFO] [stdout] 176 | assert_eq!(it.next(), Some(&2)); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] 177 | assert_eq!(it.next(), Some(&5)); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] 178 | assert_eq!(it.next(), Some(&8)); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] 179 | assert_eq!(it.next(), None); [INFO] [stdout] | -- cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 174 | let mut it = m.column(1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/7.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | File(usize, String), [INFO] [stdout] | ---- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FsEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - File(usize, String), [INFO] [stdout] 23 + File((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022` (bin "8" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bed0acdc1ead1d415edd3d6259aa9ef4f675545cc758151f0c3c3d97fe738556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed0acdc1ead1d415edd3d6259aa9ef4f675545cc758151f0c3c3d97fe738556", kill_on_drop: false }` [INFO] [stdout] bed0acdc1ead1d415edd3d6259aa9ef4f675545cc758151f0c3c3d97fe738556