[INFO] cloning repository https://github.com/Wunsz/aoc-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wunsz/aoc-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWunsz%2Faoc-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWunsz%2Faoc-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90348ffb0a0bb932c9768bae1799c1c0f7f67519 [INFO] checking Wunsz/aoc-2023 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWunsz%2Faoc-2023" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wunsz/aoc-2023 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wunsz/aoc-2023 [INFO] finished tweaking git repo https://github.com/Wunsz/aoc-2023 [INFO] tweaked toml for git repo https://github.com/Wunsz/aoc-2023 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Wunsz/aoc-2023 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2a398cfe957d60ff806c8b699668051beb5185e9e6c59d82a2bb40b269037b3 [INFO] running `Command { std: "docker" "start" "-a" "d2a398cfe957d60ff806c8b699668051beb5185e9e6c59d82a2bb40b269037b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a398cfe957d60ff806c8b699668051beb5185e9e6c59d82a2bb40b269037b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a398cfe957d60ff806c8b699668051beb5185e9e6c59d82a2bb40b269037b3", kill_on_drop: false }` [INFO] [stdout] d2a398cfe957d60ff806c8b699668051beb5185e9e6c59d82a2bb40b269037b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31b554e54ad1a806154309db8c1132d3e6f33f206e1ba4f76d3438dde8b6eaf5 [INFO] running `Command { std: "docker" "start" "-a" "31b554e54ad1a806154309db8c1132d3e6f33f206e1ba4f76d3438dde8b6eaf5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/d06/puzzle1.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | return times.iter().enumerate().map(|(i, x)| (times[i], distances[i])).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/d08/puzzle1.rs:50:73 [INFO] [stdout] | [INFO] [stdout] 50 | let mut node = nodes.iter().find(|node| node.name == "AAA").unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Clone`, so calling `clone` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 50 - let mut node = nodes.iter().find(|node| node.name == "AAA").unwrap().clone(); [INFO] [stdout] 50 + let mut node = nodes.iter().find(|node| node.name == "AAA").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 3 + #[derive(Clone)] [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/d06/puzzle1.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | return times.iter().enumerate().map(|(i, x)| (times[i], distances[i])).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/d08/puzzle1.rs:50:73 [INFO] [stdout] | [INFO] [stdout] 50 | let mut node = nodes.iter().find(|node| node.name == "AAA").unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Clone`, so calling `clone` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 50 - let mut node = nodes.iter().find(|node| node.name == "AAA").unwrap().clone(); [INFO] [stdout] 50 + let mut node = nodes.iter().find(|node| node.name == "AAA").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 3 + #[derive(Clone)] [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.56s [INFO] running `Command { std: "docker" "inspect" "31b554e54ad1a806154309db8c1132d3e6f33f206e1ba4f76d3438dde8b6eaf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b554e54ad1a806154309db8c1132d3e6f33f206e1ba4f76d3438dde8b6eaf5", kill_on_drop: false }` [INFO] [stdout] 31b554e54ad1a806154309db8c1132d3e6f33f206e1ba4f76d3438dde8b6eaf5