[INFO] cloning repository https://github.com/jblam/rust-aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jblam/rust-aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjblam%2Frust-aoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjblam%2Frust-aoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e81d4457e910e40719b680134375939fc8bdbc5a [INFO] checking jblam/rust-aoc-2021 against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjblam%2Frust-aoc-2021" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jblam/rust-aoc-2021 on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jblam/rust-aoc-2021 [INFO] finished tweaking git repo https://github.com/jblam/rust-aoc-2021 [INFO] tweaked toml for git repo https://github.com/jblam/rust-aoc-2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jblam/rust-aoc-2021 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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f71ee7a3be280ab8c8d6102e263785a649a83f009e3c3963ef64f19bf6f046a6 [INFO] running `Command { std: "docker" "start" "-a" "f71ee7a3be280ab8c8d6102e263785a649a83f009e3c3963ef64f19bf6f046a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f71ee7a3be280ab8c8d6102e263785a649a83f009e3c3963ef64f19bf6f046a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71ee7a3be280ab8c8d6102e263785a649a83f009e3c3963ef64f19bf6f046a6", kill_on_drop: false }` [INFO] [stdout] f71ee7a3be280ab8c8d6102e263785a649a83f009e3c3963ef64f19bf6f046a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd4523f072c274a75d5c27991815c892f2351c1da0944563e7afec12c78da19 [INFO] running `Command { std: "docker" "start" "-a" "3bd4523f072c274a75d5c27991815c892f2351c1da0944563e7afec12c78da19", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking is_sorted v0.1.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking rust-aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day08.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | 1 => one = Some(i.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `day08::Digit` does not implement `Clone`, so calling `clone` on `&day08::Digit` 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] 128 - 1 => one = Some(i.clone()), [INFO] [stdout] 128 + 1 => one = Some(i), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `day08::Digit`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Clone)] [INFO] [stdout] 31 | struct Digit(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day08.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | 4 => four = Some(i.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `day08::Digit` does not implement `Clone`, so calling `clone` on `&day08::Digit` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 129 - 4 => four = Some(i.clone()), [INFO] [stdout] 129 + 4 => four = Some(i), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `day08::Digit`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Clone)] [INFO] [stdout] 31 | struct Digit(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day08.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | six = Some(i.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `day08::Digit` does not implement `Clone`, so calling `clone` on `&day08::Digit` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - six = Some(i.clone()); [INFO] [stdout] 140 + six = Some(i); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `day08::Digit`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Clone)] [INFO] [stdout] 31 | struct Digit(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day08.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | 1 => one = Some(i.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `day08::Digit` does not implement `Clone`, so calling `clone` on `&day08::Digit` 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] 128 - 1 => one = Some(i.clone()), [INFO] [stdout] 128 + 1 => one = Some(i), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `day08::Digit`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Clone)] [INFO] [stdout] 31 | struct Digit(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day08.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | 4 => four = Some(i.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `day08::Digit` does not implement `Clone`, so calling `clone` on `&day08::Digit` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 129 - 4 => four = Some(i.clone()), [INFO] [stdout] 129 + 4 => four = Some(i), [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `day08::Digit`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Clone)] [INFO] [stdout] 31 | struct Digit(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day08.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | six = Some(i.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `day08::Digit` does not implement `Clone`, so calling `clone` on `&day08::Digit` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - six = Some(i.clone()); [INFO] [stdout] 140 + six = Some(i); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `day08::Digit`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Clone)] [INFO] [stdout] 31 | struct Digit(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "3bd4523f072c274a75d5c27991815c892f2351c1da0944563e7afec12c78da19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd4523f072c274a75d5c27991815c892f2351c1da0944563e7afec12c78da19", kill_on_drop: false }` [INFO] [stdout] 3bd4523f072c274a75d5c27991815c892f2351c1da0944563e7afec12c78da19