[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020" "/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/ivardb/AdventOfCode2020 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/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-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded direction v0.17.10 [INFO] [stderr] Downloaded grid v0.2.3 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded coord_2d v0.2.22 [INFO] [stderr] Downloaded plotters v0.2.15 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b6e19a7f84cd7bd8c996cc1816fcda7f2be4b1ce2fc8df1d88e8faec94b5f92 [INFO] running `Command { std: "docker" "start" "-a" "4b6e19a7f84cd7bd8c996cc1816fcda7f2be4b1ce2fc8df1d88e8faec94b5f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b6e19a7f84cd7bd8c996cc1816fcda7f2be4b1ce2fc8df1d88e8faec94b5f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6e19a7f84cd7bd8c996cc1816fcda7f2be4b1ce2fc8df1d88e8faec94b5f92", kill_on_drop: false }` [INFO] [stdout] 4b6e19a7f84cd7bd8c996cc1816fcda7f2be4b1ce2fc8df1d88e8faec94b5f92 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad06b46460c320afcc225b076d955e1492c1253305bdc44ed3ca24e3034f37bf [INFO] running `Command { std: "docker" "start" "-a" "ad06b46460c320afcc225b076d955e1492c1253305bdc44ed3ca24e3034f37bf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking half v1.6.0 [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 coord_2d v0.2.22 [INFO] [stderr] Checking oorandom v11.1.3 [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 direction v0.17.10 [INFO] [stderr] Checking grid v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [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: the item `grid` is imported redundantly [INFO] [stdout] --> src/days/day3/part1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use grid; [INFO] [stdout] | ^^^^ the item `grid` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `grid` is imported redundantly [INFO] [stdout] --> src/days/day3/part1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use grid; [INFO] [stdout] | ^^^^ the item `grid` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `default_input` is imported redundantly [INFO] [stdout] --> src/days/day9/part1.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | -------- the item `default_input` is already imported here [INFO] [stdout] 34 | use crate::days::day9::default_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `default_input` is imported redundantly [INFO] [stdout] --> src/days/day9/part2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | -------- the item `default_input` is already imported here [INFO] [stdout] 41 | use crate::days::day9::default_input; [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] [stdout] warning: 16 warnings emitted [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `aoc2020` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aoc2020; [INFO] [stdout] | ^^^^^^^ the item `aoc2020` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `aoc2020` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aoc2020; [INFO] [stdout] | ^^^^^^^ the item `aoc2020` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.28s [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 3` [INFO] running `Command { std: "docker" "inspect" "ad06b46460c320afcc225b076d955e1492c1253305bdc44ed3ca24e3034f37bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad06b46460c320afcc225b076d955e1492c1253305bdc44ed3ca24e3034f37bf", kill_on_drop: false }` [INFO] [stdout] ad06b46460c320afcc225b076d955e1492c1253305bdc44ed3ca24e3034f37bf [INFO] checking ivardb/AdventOfCode2020 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivardb/AdventOfCode2020 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/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-5-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1d010632b7c83291681b07fe67cf09e1106bf99d80f3f293fd4857917bb98f86 [INFO] running `Command { std: "docker" "start" "-a" "1d010632b7c83291681b07fe67cf09e1106bf99d80f3f293fd4857917bb98f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d010632b7c83291681b07fe67cf09e1106bf99d80f3f293fd4857917bb98f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d010632b7c83291681b07fe67cf09e1106bf99d80f3f293fd4857917bb98f86", kill_on_drop: false }` [INFO] [stdout] 1d010632b7c83291681b07fe67cf09e1106bf99d80f3f293fd4857917bb98f86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2cec81939a5a9c4c2c50d8adff457c3465714a377eada9f14d8959c1dd0c5517 [INFO] running `Command { std: "docker" "start" "-a" "2cec81939a5a9c4c2c50d8adff457c3465714a377eada9f14d8959c1dd0c5517", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking coord_2d v0.2.22 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking grid v0.2.3 [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 direction v0.17.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [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 crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [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: the item `grid` is imported redundantly [INFO] [stdout] --> src/days/day3/part1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use grid; [INFO] [stdout] | ^^^^ the item `grid` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `default_input` is imported redundantly [INFO] [stdout] --> src/days/day9/part1.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | -------- the item `default_input` is already imported here [INFO] [stdout] 34 | use crate::days::day9::default_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `default_input` is imported redundantly [INFO] [stdout] --> src/days/day9/part2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | -------- the item `default_input` is already imported here [INFO] [stdout] 41 | use crate::days::day9::default_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `grid` is imported redundantly [INFO] [stdout] --> src/days/day3/part1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use grid; [INFO] [stdout] | ^^^^ the item `grid` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `aoc2020` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aoc2020; [INFO] [stdout] | ^^^^^^^ the item `aoc2020` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `aoc2020` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aoc2020; [INFO] [stdout] | ^^^^^^^ the item `aoc2020` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.83s [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 2` [INFO] running `Command { std: "docker" "inspect" "2cec81939a5a9c4c2c50d8adff457c3465714a377eada9f14d8959c1dd0c5517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cec81939a5a9c4c2c50d8adff457c3465714a377eada9f14d8959c1dd0c5517", kill_on_drop: false }` [INFO] [stdout] 2cec81939a5a9c4c2c50d8adff457c3465714a377eada9f14d8959c1dd0c5517