[INFO] cloning repository https://github.com/Roms1383/adventofcode2022
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Roms1383/adventofcode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoms1383%2Fadventofcode2022", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoms1383%2Fadventofcode2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 499ea0a560fb5011aa6230a65db89ad5cc339400
[INFO] checking Roms1383/adventofcode2022 against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoms1383%2Fadventofcode2022" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Roms1383/adventofcode2022
[INFO] finished tweaking git repo https://github.com/Roms1383/adventofcode2022
[INFO] tweaked toml for git repo https://github.com/Roms1383/adventofcode2022 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Roms1383/adventofcode2022 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Roms1383/adventofcode2022 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-case-macros v2.2.2
[INFO] [stderr]   Downloaded libc v0.2.138
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 374c4386a20a9749cc86fe051a640bab5274ffe232c114b0b2dd7ed2d6bcea1b
[INFO] running `Command { std: "docker" "start" "-a" "374c4386a20a9749cc86fe051a640bab5274ffe232c114b0b2dd7ed2d6bcea1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "374c4386a20a9749cc86fe051a640bab5274ffe232c114b0b2dd7ed2d6bcea1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "374c4386a20a9749cc86fe051a640bab5274ffe232c114b0b2dd7ed2d6bcea1b", kill_on_drop: false }`
[INFO] [stdout] 374c4386a20a9749cc86fe051a640bab5274ffe232c114b0b2dd7ed2d6bcea1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45834fa6589381262b30061b0a0d14e4dec9c0f09c516809f04d6ccab895d2d6
[INFO] running `Command { std: "docker" "start" "-a" "45834fa6589381262b30061b0a0d14e4dec9c0f09c516809f04d6ccab895d2d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking adventofcode2022 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `TopCalories` is never used
[INFO] [stdout]   --> src/day_1.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait TopCalories {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/day_11.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 drop(thrower);
[INFO] [stdout]    |                 ^^^^^-------^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      argument has type `&mut Monkey`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 18 -                 drop(thrower);
[INFO] [stdout] 18 +                 let _ = thrower;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Compartment` is never constructed
[INFO] [stdout]   --> src/day_3.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Compartment(String);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rucksack` is never constructed
[INFO] [stdout]   --> src/day_3.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Rucksack {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rucksacks` is never constructed
[INFO] [stdout]   --> src/day_3.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct Rucksacks(Vec<Rucksack>);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day_8.rs:75:22
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn positions(&self) -> Keys<Position, Size> {
[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] 75 |     pub fn positions(&self) -> Keys<'_, Position, Size> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 width: v.clone().lines().next().unwrap().len(),
[INFO] [stdout]     |                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 height: v.clone().lines().count(),
[INFO] [stdout]     |                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Group` is never constructed
[INFO] [stdout]    --> src/day_3.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct Group {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Groups` is never constructed
[INFO] [stdout]    --> src/day_3.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub struct Groups(Vec<Group>);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day_8.rs:75:22
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn positions(&self) -> Keys<Position, Size> {
[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] 75 |     pub fn positions(&self) -> Keys<'_, Position, Size> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 width: v.clone().lines().next().unwrap().len(),
[INFO] [stdout]     |                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 height: v.clone().lines().count(),
[INFO] [stdout]     |                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/day_11.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 drop(thrower);
[INFO] [stdout]    |                 ^^^^^-------^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      argument has type `&mut Monkey`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 18 -                 drop(thrower);
[INFO] [stdout] 18 +                 let _ = thrower;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling test-case-macros v2.2.2
[INFO] [stderr]     Checking test-case v2.2.2
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day_8.rs:75:22
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn positions(&self) -> Keys<Position, Size> {
[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] 75 |     pub fn positions(&self) -> Keys<'_, Position, Size> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 width: v.clone().lines().next().unwrap().len(),
[INFO] [stdout]     |                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 height: v.clone().lines().count(),
[INFO] [stdout]     |                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/day_11.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 drop(thrower);
[INFO] [stdout]    |                 ^^^^^-------^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      argument has type `&mut Monkey`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 18 -                 drop(thrower);
[INFO] [stdout] 18 +                 let _ = thrower;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/day_11.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 drop(thrower);
[INFO] [stdout]    |                 ^^^^^-------^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      argument has type `&mut Monkey`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 18 -                 drop(thrower);
[INFO] [stdout] 18 +                 let _ = thrower;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day_8.rs:75:22
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn positions(&self) -> Keys<Position, Size> {
[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] 75 |     pub fn positions(&self) -> Keys<'_, Position, Size> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 width: v.clone().lines().next().unwrap().len(),
[INFO] [stdout]     |                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day_8.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 height: v.clone().lines().count(),
[INFO] [stdout]     |                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.85s
[INFO] running `Command { std: "docker" "inspect" "45834fa6589381262b30061b0a0d14e4dec9c0f09c516809f04d6ccab895d2d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45834fa6589381262b30061b0a0d14e4dec9c0f09c516809f04d6ccab895d2d6", kill_on_drop: false }`
[INFO] [stdout] 45834fa6589381262b30061b0a0d14e4dec9c0f09c516809f04d6ccab895d2d6
