[INFO] cloning repository https://github.com/christopherjreid/advent-of-code-2020-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christopherjreid/advent-of-code-2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherjreid%2Fadvent-of-code-2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherjreid%2Fadvent-of-code-2020-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9badd54218f6aba22e26878d56dc32e84b9f23a7 [INFO] checking christopherjreid/advent-of-code-2020-rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherjreid%2Fadvent-of-code-2020-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherjreid/advent-of-code-2020-rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christopherjreid/advent-of-code-2020-rust [INFO] finished tweaking git repo https://github.com/christopherjreid/advent-of-code-2020-rust [INFO] tweaked toml for git repo https://github.com/christopherjreid/advent-of-code-2020-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/christopherjreid/advent-of-code-2020-rust 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7175c75405a58d3885f49abe8421a4ef83d81bc5f4257eee591ce25e88729a30 [INFO] running `Command { std: "docker" "start" "-a" "7175c75405a58d3885f49abe8421a4ef83d81bc5f4257eee591ce25e88729a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7175c75405a58d3885f49abe8421a4ef83d81bc5f4257eee591ce25e88729a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7175c75405a58d3885f49abe8421a4ef83d81bc5f4257eee591ce25e88729a30", kill_on_drop: false }` [INFO] [stdout] 7175c75405a58d3885f49abe8421a4ef83d81bc5f4257eee591ce25e88729a30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e89b3d68061f6d781583297cd302c626a8f9547967cbd5e9773f0cbc73fdfd8 [INFO] running `Command { std: "docker" "start" "-a" "8e89b3d68061f6d781583297cd302c626a8f9547967cbd5e9773f0cbc73fdfd8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HexColor` [INFO] [stdout] --> src/days_of_advent/day04/passport_validator.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use super::passport::{Height, HeightUnits, HexColor, Passport}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/days_of_advent/day08/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/days_of_advent/day08/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hair_color` is never read [INFO] [stdout] --> src/days_of_advent/day04/passport.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eye_color` and `passport_id_length` are never read [INFO] [stdout] --> src/days_of_advent/day04/passport_validator.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StrictPassportValidator { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub eye_color: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub passport_id_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days_of_advent/day06/mod.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let shortest_line = group_response.clone().lines().min_by(|l1, l2| l1.len().cmp(&l2.len())).unwrap(); [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/days_of_advent/day08/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let result = deserializer.deserialize(&input); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hair_color` is never read [INFO] [stdout] --> src/days_of_advent/day04/passport.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eye_color` and `passport_id_length` are never read [INFO] [stdout] --> src/days_of_advent/day04/passport_validator.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StrictPassportValidator { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub eye_color: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub passport_id_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days_of_advent/day06/mod.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let shortest_line = group_response.clone().lines().min_by(|l1, l2| l1.len().cmp(&l2.len())).unwrap(); [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.08s [INFO] running `Command { std: "docker" "inspect" "8e89b3d68061f6d781583297cd302c626a8f9547967cbd5e9773f0cbc73fdfd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e89b3d68061f6d781583297cd302c626a8f9547967cbd5e9773f0cbc73fdfd8", kill_on_drop: false }` [INFO] [stdout] 8e89b3d68061f6d781583297cd302c626a8f9547967cbd5e9773f0cbc73fdfd8 [INFO] checking christopherjreid/advent-of-code-2020-rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherjreid%2Fadvent-of-code-2020-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherjreid/advent-of-code-2020-rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christopherjreid/advent-of-code-2020-rust [INFO] finished tweaking git repo https://github.com/christopherjreid/advent-of-code-2020-rust [INFO] tweaked toml for git repo https://github.com/christopherjreid/advent-of-code-2020-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/christopherjreid/advent-of-code-2020-rust 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df2f4b52e68cce826c60a0745172f46e6f97a631a560f88edf9bc908d9d09c14 [INFO] running `Command { std: "docker" "start" "-a" "df2f4b52e68cce826c60a0745172f46e6f97a631a560f88edf9bc908d9d09c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df2f4b52e68cce826c60a0745172f46e6f97a631a560f88edf9bc908d9d09c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2f4b52e68cce826c60a0745172f46e6f97a631a560f88edf9bc908d9d09c14", kill_on_drop: false }` [INFO] [stdout] df2f4b52e68cce826c60a0745172f46e6f97a631a560f88edf9bc908d9d09c14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5a3add7e4d2182e23eacb1af1c970787e45e9bb64a65d3d788b4397c7f30f2f [INFO] running `Command { std: "docker" "start" "-a" "d5a3add7e4d2182e23eacb1af1c970787e45e9bb64a65d3d788b4397c7f30f2f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HexColor` [INFO] [stdout] --> src/days_of_advent/day04/passport_validator.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use super::passport::{Height, HeightUnits, HexColor, Passport}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/days_of_advent/day08/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/days_of_advent/day08/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hair_color` is never read [INFO] [stdout] --> src/days_of_advent/day04/passport.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eye_color` and `passport_id_length` are never read [INFO] [stdout] --> src/days_of_advent/day04/passport_validator.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StrictPassportValidator { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub eye_color: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub passport_id_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days_of_advent/day06/mod.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let shortest_line = group_response.clone().lines().min_by(|l1, l2| l1.len().cmp(&l2.len())).unwrap(); [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/days_of_advent/day08/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let result = deserializer.deserialize(&input); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hair_color` is never read [INFO] [stdout] --> src/days_of_advent/day04/passport.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub hair_color: HexColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eye_color` and `passport_id_length` are never read [INFO] [stdout] --> src/days_of_advent/day04/passport_validator.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StrictPassportValidator { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub eye_color: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub passport_id_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days_of_advent/day06/mod.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let shortest_line = group_response.clone().lines().min_by(|l1, l2| l1.len().cmp(&l2.len())).unwrap(); [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "d5a3add7e4d2182e23eacb1af1c970787e45e9bb64a65d3d788b4397c7f30f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a3add7e4d2182e23eacb1af1c970787e45e9bb64a65d3d788b4397c7f30f2f", kill_on_drop: false }` [INFO] [stdout] d5a3add7e4d2182e23eacb1af1c970787e45e9bb64a65d3d788b4397c7f30f2f