[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] testing ivardb/AdventOfCode2020 against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivardb%2FAdventOfCode2020" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivardb/AdventOfCode2020 on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "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-2-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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d241f328e82b88938948df13f380b3c79d65a31a7b1fe974aec13da4f5a8c402 [INFO] running `Command { std: "docker" "start" "-a" "d241f328e82b88938948df13f380b3c79d65a31a7b1fe974aec13da4f5a8c402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d241f328e82b88938948df13f380b3c79d65a31a7b1fe974aec13da4f5a8c402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d241f328e82b88938948df13f380b3c79d65a31a7b1fe974aec13da4f5a8c402", kill_on_drop: false }` [INFO] [stdout] d241f328e82b88938948df13f380b3c79d65a31a7b1fe974aec13da4f5a8c402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbbbd6cb9caa4d5c26a7036d7f2c321b7e1b0188ad78c01fd2699e85dd86b545 [INFO] running `Command { std: "docker" "start" "-a" "bbbbd6cb9caa4d5c26a7036d7f2c321b7e1b0188ad78c01fd2699e85dd86b545", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling 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 byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling coord_2d v0.2.22 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling grid v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling direction v0.17.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling 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: 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 29.99s [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" "bbbbd6cb9caa4d5c26a7036d7f2c321b7e1b0188ad78c01fd2699e85dd86b545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbbbd6cb9caa4d5c26a7036d7f2c321b7e1b0188ad78c01fd2699e85dd86b545", kill_on_drop: false }` [INFO] [stdout] bbbbd6cb9caa4d5c26a7036d7f2c321b7e1b0188ad78c01fd2699e85dd86b545 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 362ec37e157728bb02fbc3e5a12ca8b68e2352a15f7de82e0dce19f6d7299a8a [INFO] running `Command { std: "docker" "start" "-a" "362ec37e157728bb02fbc3e5a12ca8b68e2352a15f7de82e0dce19f6d7299a8a", kill_on_drop: false }` [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] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 2.16s [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" "362ec37e157728bb02fbc3e5a12ca8b68e2352a15f7de82e0dce19f6d7299a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362ec37e157728bb02fbc3e5a12ca8b68e2352a15f7de82e0dce19f6d7299a8a", kill_on_drop: false }` [INFO] [stdout] 362ec37e157728bb02fbc3e5a12ca8b68e2352a15f7de82e0dce19f6d7299a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5ac8361cb54fb7174ff4e356fa5be0cf27fc486243b7f518c6044c32df27ab5 [INFO] running `Command { std: "docker" "start" "-a" "d5ac8361cb54fb7174ff4e356fa5be0cf27fc486243b7f518c6044c32df27ab5", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/days/day16/part1.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/days/day16/part2.rs:58:7 [INFO] [stderr] | [INFO] [stderr] 58 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/days/day17/part1.rs:36:7 [INFO] [stderr] | [INFO] [stderr] 36 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/days/day17/part2.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&String` instead of cloning the inner type [INFO] [stderr] --> src/days/day16/part2.rs:38:39 [INFO] [stderr] | [INFO] [stderr] 38 | match_rule = Some(rule.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&&String` instead of cloning the inner type [INFO] [stderr] --> src/days/day21/part2.rs:32:39 [INFO] [stderr] | [INFO] [stderr] 32 | match_rule = Some(rule.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&&&String` instead of cloning the inner type [INFO] [stderr] --> src/days/day21/part2.rs:46:35 [INFO] [stderr] | [INFO] [stderr] 46 | .sorted_by_key(|(k, _v)| k.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part1.rs:23:46 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part1.rs:23:96 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part1.rs:23:164 [INFO] [stderr] | [INFO] [stderr] 23 | ...e(), nxt.get(nxt.get(nxt.get(curr).unwrap()).unwrap()).unwrap().clone()]; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part1.rs:43:47 [INFO] [stderr] | [INFO] [stderr] 43 | let mut nxt_node = nxt.get(node1).unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part1.rs:47:46 [INFO] [stderr] | [INFO] [stderr] 47 | nxt_node = nxt.get(nxt_node).unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:26:46 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:26:96 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:26:164 [INFO] [stderr] | [INFO] [stderr] 26 | ...e(), nxt.get(nxt.get(nxt.get(curr).unwrap()).unwrap()).unwrap().clone()]; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:38:46 [INFO] [stderr] | [INFO] [stderr] 38 | let dest = lookup.get(&dest).unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:43:40 [INFO] [stderr] | [INFO] [stderr] 43 | let node1 = lookup.get(&1).unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:44:43 [INFO] [stderr] | [INFO] [stderr] 44 | let nxt_node = nxt.get(node1).unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Node` instead of cloning the inner type [INFO] [stderr] --> src/days/day23/part2.rs:45:50 [INFO] [stderr] | [INFO] [stderr] 45 | let nxt_nxt_node = nxt.get(nxt_node).unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aoc2020` (lib) generated 19 warnings [INFO] [stderr] warning: `aoc2020` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aoc2020-00d533da9efcc704) [INFO] [stdout] [INFO] [stdout] running 58 tests [INFO] [stdout] test days::day10::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day10::part2::tests::example1 ... ok [INFO] [stdout] test days::day10::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day11::part2::tests::example1 ... ok [INFO] [stdout] test days::day13::part1::tests::example ... ok [INFO] [stdout] test days::day13::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day13::part2::tests::example ... ok [INFO] [stdout] test days::day12::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day12::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day13::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day14::part1::tests::example ... ok [INFO] [stdout] test days::day14::part2::tests::example ... ok [INFO] [stdout] test days::day15::part1::tests::part2_answer ... ignored [INFO] [stdout] test days::day14::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day1::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day15::part1::tests::example ... ok [INFO] [stdout] test days::day15::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day21::part1::tests::example ... ok [INFO] [stdout] test days::day22::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day20::part1::tests::example ... ok [INFO] [stdout] test days::day23::part1::tests::example ... ok [INFO] [stdout] test days::day1::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day20::part2::tests::example ... ok [INFO] [stdout] test days::day23::part2::tests::part2_answer ... ignored [INFO] [stdout] test days::day18::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day18::part2::tests::part1_answer ... ok [INFO] [stdout] test days::day23::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day22::part2::tests::example ... ok [INFO] [stdout] test days::day2::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day2::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day21::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day3::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day3::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day6::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day19::part1::tests::example ... ok [INFO] [stdout] test days::day5::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day6::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day8::part1::tests::example ... ok [INFO] [stdout] test days::day5::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day8::part2::tests::example ... ok [INFO] [stdout] test days::day8::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day21::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day4::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day4::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day9::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day9::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day7::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day19::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day20::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day8::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day20::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day14::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day7::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day11::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day11::part1::tests::part1_answer ... ok [INFO] [stdout] test days::day24::part2::tests::example ... ok [INFO] [stdout] test days::day24::part2::tests::part2_answer ... ok [INFO] [stdout] test days::day22::part2::tests::part2_answer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 56 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2020_runner-b9d22a052d46acd8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests aoc2020 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5ac8361cb54fb7174ff4e356fa5be0cf27fc486243b7f518c6044c32df27ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ac8361cb54fb7174ff4e356fa5be0cf27fc486243b7f518c6044c32df27ab5", kill_on_drop: false }` [INFO] [stdout] d5ac8361cb54fb7174ff4e356fa5be0cf27fc486243b7f518c6044c32df27ab5