[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#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ivardb/AdventOfCode2020 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grid v0.2.3 [INFO] [stderr] Downloaded coord_2d v0.2.22 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] [stderr] Downloaded csv v1.1.5 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded direction v0.17.10 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6e2108f9d082694040d9c0fc0e8a0348031d70d04c9415b368991a5994be3bb [INFO] running `Command { std: "docker" "start" "-a" "c6e2108f9d082694040d9c0fc0e8a0348031d70d04c9415b368991a5994be3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e2108f9d082694040d9c0fc0e8a0348031d70d04c9415b368991a5994be3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e2108f9d082694040d9c0fc0e8a0348031d70d04c9415b368991a5994be3bb", kill_on_drop: false }` [INFO] [stdout] c6e2108f9d082694040d9c0fc0e8a0348031d70d04c9415b368991a5994be3bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84eaaa77b93cb1649e68fd86d6273d204e1233f652499a97f12f7d5fd64e9e41 [INFO] running `Command { std: "docker" "start" "-a" "84eaaa77b93cb1649e68fd86d6273d204e1233f652499a97f12f7d5fd64e9e41", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking itertools v0.9.0 [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] Checking oorandom v11.1.3 [INFO] [stderr] Checking coord_2d v0.2.22 [INFO] [stderr] Checking grid v0.2.3 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking direction v0.17.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking bstr 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 tinytemplate v1.1.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [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 11.80s [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" "84eaaa77b93cb1649e68fd86d6273d204e1233f652499a97f12f7d5fd64e9e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84eaaa77b93cb1649e68fd86d6273d204e1233f652499a97f12f7d5fd64e9e41", kill_on_drop: false }` [INFO] [stdout] 84eaaa77b93cb1649e68fd86d6273d204e1233f652499a97f12f7d5fd64e9e41