[INFO] cloning repository https://github.com/Calyhre/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/Calyhre/advent-of-code-2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c41b0f5fe90dfaab59611e9e382d8cf386b11447 [INFO] checking Calyhre/advent-of-code-2020-rust/c41b0f5fe90dfaab59611e9e382d8cf386b11447 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Calyhre/advent-of-code-2020-rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Calyhre/advent-of-code-2020-rust [INFO] finished tweaking git repo https://github.com/Calyhre/advent-of-code-2020-rust [INFO] tweaked toml for git repo https://github.com/Calyhre/advent-of-code-2020-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Calyhre/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded onig v6.1.1 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded lalrpop-util v0.19.1 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.118 [INFO] [stderr] Downloaded indexmap v1.6.0 [INFO] [stderr] Downloaded serde v1.0.118 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded string_cache v0.8.1 [INFO] [stderr] Downloaded bindgen v0.55.1 [INFO] [stderr] Downloaded libloading v0.6.6 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] [stderr] Downloaded lalrpop v0.19.1 [INFO] [stderr] Downloaded onig_sys v69.6.0 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40e206a3c9aee409294618550391712f1ff8e9d98fabafa78b2872bee0191a0f [INFO] running `Command { std: "docker" "start" "-a" "40e206a3c9aee409294618550391712f1ff8e9d98fabafa78b2872bee0191a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40e206a3c9aee409294618550391712f1ff8e9d98fabafa78b2872bee0191a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e206a3c9aee409294618550391712f1ff8e9d98fabafa78b2872bee0191a0f", kill_on_drop: false }` [INFO] [stdout] 40e206a3c9aee409294618550391712f1ff8e9d98fabafa78b2872bee0191a0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc1238668f190ef8978c4cbca5f133fd99b52460e9b516b6990be0b9ad8c886b [INFO] running `Command { std: "docker" "start" "-a" "cc1238668f190ef8978c4cbca5f133fd99b52460e9b516b6990be0b9ad8c886b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking lalrpop-util v0.19.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling onig_sys v69.6.0 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Checking onig v6.1.1 [INFO] [stderr] Compiling advent-of-code-2020-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/bin/day_20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lalrpop_mod` in this scope [INFO] [stdout] --> src/bin/day_18.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | lalrpop_mod!(pub day_18_lexer); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use lalrpop_util::lalrpop_mod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/bin/day_20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | day_18_lexer::PartOneParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | day_18_lexer::PartTwoParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020-rust` (bin "day_18" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/day_20.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/bin/day_20.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn print_image(image: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lalrpop_mod` in this scope [INFO] [stdout] --> src/bin/day_18.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | lalrpop_mod!(pub day_18_lexer); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use lalrpop_util::lalrpop_mod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | day_18_lexer::PartOneParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | day_18_lexer::PartTwoParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | color = child.clone().strip_suffix(" bags.").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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | color = child.clone().strip_suffix(" bags").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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | color = child.clone().strip_suffix(" bag.").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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | color = child.clone().strip_suffix(" bag").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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020-rust` (bin "day_18") due to 4 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/advent-of-code-2020-rust-32d4c0c511cbd53b/out/day_18_lexer.rs:1686:8 [INFO] [stdout] | [INFO] [stdout] 1685 | pub trait __ToTriple<'input, > { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 1686 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/day_20.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/bin/day_20.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn print_image(image: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | color = child.clone().strip_suffix(" bags.").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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | color = child.clone().strip_suffix(" bags").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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | color = child.clone().strip_suffix(" bag.").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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | color = child.clone().strip_suffix(" bag").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] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc1238668f190ef8978c4cbca5f133fd99b52460e9b516b6990be0b9ad8c886b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1238668f190ef8978c4cbca5f133fd99b52460e9b516b6990be0b9ad8c886b", kill_on_drop: false }` [INFO] [stdout] cc1238668f190ef8978c4cbca5f133fd99b52460e9b516b6990be0b9ad8c886b