[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 try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ivardb/AdventOfCode2020 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfe1f7b72e194f9f3ddd90c58f0fb9507223d9ac876675d018c905911160f5dd [INFO] running `Command { std: "docker" "start" "-a" "dfe1f7b72e194f9f3ddd90c58f0fb9507223d9ac876675d018c905911160f5dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfe1f7b72e194f9f3ddd90c58f0fb9507223d9ac876675d018c905911160f5dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe1f7b72e194f9f3ddd90c58f0fb9507223d9ac876675d018c905911160f5dd", kill_on_drop: false }` [INFO] [stdout] dfe1f7b72e194f9f3ddd90c58f0fb9507223d9ac876675d018c905911160f5dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08df8311ddca94b85d047d39a92dc6a90b8e17c78d98d83e60ecdf036cd91a1f [INFO] running `Command { std: "docker" "start" "-a" "08df8311ddca94b85d047d39a92dc6a90b8e17c78d98d83e60ecdf036cd91a1f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling cast v0.2.3 [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 half v1.6.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking coord_2d v0.2.22 [INFO] [stderr] Checking grid v0.2.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking direction v0.17.10 [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 rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking csv v1.1.5 [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)... [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)... [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 | ..., 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)... [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)... [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 | ..., 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)... [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)... [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 | ..., 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)... [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)... [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 | ..., 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 21.72s [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 10` [INFO] running `Command { std: "docker" "inspect" "08df8311ddca94b85d047d39a92dc6a90b8e17c78d98d83e60ecdf036cd91a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08df8311ddca94b85d047d39a92dc6a90b8e17c78d98d83e60ecdf036cd91a1f", kill_on_drop: false }` [INFO] [stdout] 08df8311ddca94b85d047d39a92dc6a90b8e17c78d98d83e60ecdf036cd91a1f