[INFO] cloning repository https://github.com/ivardb/AdventOfCode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivardb/AdventOfCode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ba07af90afca60b7a62def23a0eec67e001f2ca [INFO] checking ivardb/AdventOfCode2020 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivardb/AdventOfCode2020 on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivardb/AdventOfCode2020 [INFO] finished tweaking git repo https://github.com/ivardb/AdventOfCode2020 [INFO] tweaked toml for git repo https://github.com/ivardb/AdventOfCode2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ivardb/AdventOfCode2020 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grid v0.2.3 [INFO] [stderr] Downloaded direction v0.17.10 [INFO] [stderr] Downloaded coord_2d v0.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 371987aabcf61162333c174ab7e9b8cedbd846bd34cb5cf05351415656e95a2b [INFO] running `Command { std: "docker" "start" "-a" "371987aabcf61162333c174ab7e9b8cedbd846bd34cb5cf05351415656e95a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371987aabcf61162333c174ab7e9b8cedbd846bd34cb5cf05351415656e95a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371987aabcf61162333c174ab7e9b8cedbd846bd34cb5cf05351415656e95a2b", kill_on_drop: false }` [INFO] [stdout] 371987aabcf61162333c174ab7e9b8cedbd846bd34cb5cf05351415656e95a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 999dbd0c24894d8dfa02e31bb376ae8490a4e14452df54e4138f4e9b26fc3c77 [INFO] running `Command { std: "docker" "start" "-a" "999dbd0c24894d8dfa02e31bb376ae8490a4e14452df54e4138f4e9b26fc3c77", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking coord_2d v0.2.22 [INFO] [stderr] Checking grid v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking direction v0.17.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day16/part1.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day16/part2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day17/part1.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day17/part2.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day16/part1.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day16/part2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day17/part1.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/days/day17/part2.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&String` instead of cloning the inner type [INFO] [stdout] --> src/days/day16/part2.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | match_rule = Some(rule.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&String` instead of cloning the inner type [INFO] [stdout] --> src/days/day21/part2.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | match_rule = Some(rule.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&&String` instead of cloning the inner type [INFO] [stdout] --> src/days/day21/part2.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | .sorted_by_key(|(k, _v)| k.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:23:96 [INFO] [stdout] | [INFO] [stdout] 23 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:23:164 [INFO] [stdout] | [INFO] [stdout] 23 | ...e(), nxt.get(nxt.get(nxt.get(curr).unwrap()).unwrap()).unwrap().clone()]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | let mut nxt_node = nxt.get(node1).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | nxt_node = nxt.get(nxt_node).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:26:164 [INFO] [stdout] | [INFO] [stdout] 26 | ...e(), nxt.get(nxt.get(nxt.get(curr).unwrap()).unwrap()).unwrap().clone()]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | let dest = lookup.get(&dest).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let node1 = lookup.get(&1).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let nxt_node = nxt.get(node1).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | let nxt_nxt_node = nxt.get(nxt_node).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&String` instead of cloning the inner type [INFO] [stdout] --> src/days/day16/part2.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | match_rule = Some(rule.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&String` instead of cloning the inner type [INFO] [stdout] --> src/days/day21/part2.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | match_rule = Some(rule.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&&String` instead of cloning the inner type [INFO] [stdout] --> src/days/day21/part2.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | .sorted_by_key(|(k, _v)| k.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:23:96 [INFO] [stdout] | [INFO] [stdout] 23 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:23:164 [INFO] [stdout] | [INFO] [stdout] 23 | ...e(), nxt.get(nxt.get(nxt.get(curr).unwrap()).unwrap()).unwrap().clone()]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | let mut nxt_node = nxt.get(node1).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part1.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | nxt_node = nxt.get(nxt_node).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | ... let removed = [nxt.get(curr).unwrap().clone(), nxt.get(nxt.get(curr).unwrap()).unwrap().clone(), nxt.get(nxt.get(nxt.get(curr).unwr... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:26:164 [INFO] [stdout] | [INFO] [stdout] 26 | ...e(), nxt.get(nxt.get(nxt.get(curr).unwrap()).unwrap()).unwrap().clone()]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | let dest = lookup.get(&dest).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let node1 = lookup.get(&1).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let nxt_node = nxt.get(node1).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stdout] --> src/days/day23/part2.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | let nxt_nxt_node = nxt.get(nxt_node).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "999dbd0c24894d8dfa02e31bb376ae8490a4e14452df54e4138f4e9b26fc3c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "999dbd0c24894d8dfa02e31bb376ae8490a4e14452df54e4138f4e9b26fc3c77", kill_on_drop: false }` [INFO] [stdout] 999dbd0c24894d8dfa02e31bb376ae8490a4e14452df54e4138f4e9b26fc3c77