[INFO] cloning repository https://github.com/Andrewp2/Advent_of_code_2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Andrewp2/Advent_of_code_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewp2%2FAdvent_of_code_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewp2%2FAdvent_of_code_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] facd8cda30fe56cfdc1af41c68fdba8a62f3e5c3 [INFO] checking Andrewp2/Advent_of_code_2020/facd8cda30fe56cfdc1af41c68fdba8a62f3e5c3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewp2%2FAdvent_of_code_2020" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Andrewp2/Advent_of_code_2020 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Andrewp2/Advent_of_code_2020 [INFO] finished tweaking git repo https://github.com/Andrewp2/Advent_of_code_2020 [INFO] tweaked toml for git repo https://github.com/Andrewp2/Advent_of_code_2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Andrewp2/Advent_of_code_2020 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e2e5c33dd193a90c7a39e62dd2ce1169933cb269030f5eb993dd09f1d52e0f9 [INFO] running `Command { std: "docker" "start" "-a" "3e2e5c33dd193a90c7a39e62dd2ce1169933cb269030f5eb993dd09f1d52e0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e2e5c33dd193a90c7a39e62dd2ce1169933cb269030f5eb993dd09f1d52e0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e2e5c33dd193a90c7a39e62dd2ce1169933cb269030f5eb993dd09f1d52e0f9", kill_on_drop: false }` [INFO] [stdout] 3e2e5c33dd193a90c7a39e62dd2ce1169933cb269030f5eb993dd09f1d52e0f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eb39cc5eeb02dd881c55c6a6fb8b10c734bbb91de9419504333420b4bf3c72b [INFO] running `Command { std: "docker" "start" "-a" "4eb39cc5eeb02dd881c55c6a6fb8b10c734bbb91de9419504333420b4bf3c72b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:837:22 [INFO] [stdout] | [INFO] [stdout] 837 | lines.push(lines[(lines.len() - 1)] + 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 837 - lines.push(lines[(lines.len() - 1)] + 3); [INFO] [stdout] 837 + lines.push(lines[lines.len() - 1] + 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:838:44 [INFO] [stdout] | [INFO] [stdout] 838 | let mut vec: Vec = vec![0; (lines[(lines.len() - 1)] + 4) as usize]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - let mut vec: Vec = vec![0; (lines[(lines.len() - 1)] + 4) as usize]; [INFO] [stdout] 838 + let mut vec: Vec = vec![0; (lines[lines.len() - 1] + 4) as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:840:26 [INFO] [stdout] | [INFO] [stdout] 840 | println!("{}", lines[(lines.len() - 1)] + 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 840 - println!("{}", lines[(lines.len() - 1)] + 1); [INFO] [stdout] 840 + println!("{}", lines[lines.len() - 1] + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:841:24 [INFO] [stdout] | [INFO] [stdout] 841 | for i in 0..(lines[(lines.len() - 1)] + 1) as usize { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 841 - for i in 0..(lines[(lines.len() - 1)] + 1) as usize { [INFO] [stdout] 841 + for i in 0..(lines[lines.len() - 1] + 1) as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:837:22 [INFO] [stdout] | [INFO] [stdout] 837 | lines.push(lines[(lines.len() - 1)] + 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 837 - lines.push(lines[(lines.len() - 1)] + 3); [INFO] [stdout] 837 + lines.push(lines[lines.len() - 1] + 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:838:44 [INFO] [stdout] | [INFO] [stdout] 838 | let mut vec: Vec = vec![0; (lines[(lines.len() - 1)] + 4) as usize]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - let mut vec: Vec = vec![0; (lines[(lines.len() - 1)] + 4) as usize]; [INFO] [stdout] 838 + let mut vec: Vec = vec![0; (lines[lines.len() - 1] + 4) as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:840:26 [INFO] [stdout] | [INFO] [stdout] 840 | println!("{}", lines[(lines.len() - 1)] + 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 840 - println!("{}", lines[(lines.len() - 1)] + 1); [INFO] [stdout] 840 + println!("{}", lines[lines.len() - 1] + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:841:24 [INFO] [stdout] | [INFO] [stdout] 841 | for i in 0..(lines[(lines.len() - 1)] + 1) as usize { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 841 - for i in 0..(lines[(lines.len() - 1)] + 1) as usize { [INFO] [stdout] 841 + for i in 0..(lines[lines.len() - 1] + 1) as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:592:17 [INFO] [stdout] | [INFO] [stdout] 592 | for num in 0..*edge.weight() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_1` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn advent_1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_2` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn advent_2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_3` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn advent_3() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_4` is never used [INFO] [stdout] --> src/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn advent_4() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_5` is never used [INFO] [stdout] --> src/main.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn advent_5() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_6` is never used [INFO] [stdout] --> src/main.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn advent_6() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_7` is never used [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn advent_7() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_8` is never used [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn advent_8() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_puzzle_8` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn valid_puzzle_8(field_type: &&str, value: &&str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_9` is never used [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn advent_9() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_10` is never used [INFO] [stdout] --> src/main.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn advent_10() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_11` is never used [INFO] [stdout] --> src/main.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn advent_11() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn intersection(a: HashSet, b: &HashSet) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_12` is never used [INFO] [stdout] --> src/main.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | fn advent_12() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_13` is never used [INFO] [stdout] --> src/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn advent_13() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_14` is never used [INFO] [stdout] --> src/main.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn advent_14() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_15` is never used [INFO] [stdout] --> src/main.rs:605:4 [INFO] [stdout] | [INFO] [stdout] 605 | fn advent_15() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_16` is never used [INFO] [stdout] --> src/main.rs:657:4 [INFO] [stdout] | [INFO] [stdout] 657 | fn advent_16() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_17` is never used [INFO] [stdout] --> src/main.rs:746:4 [INFO] [stdout] | [INFO] [stdout] 746 | fn advent_17() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_18` is never used [INFO] [stdout] --> src/main.rs:773:4 [INFO] [stdout] | [INFO] [stdout] 773 | fn advent_18() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_19` is never used [INFO] [stdout] --> src/main.rs:797:4 [INFO] [stdout] | [INFO] [stdout] 797 | fn advent_19() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 391 | fn intersection(a: HashSet, b: &HashSet) -> HashSet { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 392 | a.into_iter().filter(|e| b.contains(e)).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:592:17 [INFO] [stdout] | [INFO] [stdout] 592 | for num in 0..*edge.weight() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2020` (bin "advent_of_code_2020") due to 2 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `advent_1` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn advent_1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_2` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn advent_2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_3` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn advent_3() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_4` is never used [INFO] [stdout] --> src/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn advent_4() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_5` is never used [INFO] [stdout] --> src/main.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn advent_5() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_6` is never used [INFO] [stdout] --> src/main.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn advent_6() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_7` is never used [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn advent_7() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_8` is never used [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn advent_8() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_puzzle_8` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn valid_puzzle_8(field_type: &&str, value: &&str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_9` is never used [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn advent_9() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_10` is never used [INFO] [stdout] --> src/main.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn advent_10() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_11` is never used [INFO] [stdout] --> src/main.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn advent_11() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn intersection(a: HashSet, b: &HashSet) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_12` is never used [INFO] [stdout] --> src/main.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | fn advent_12() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_13` is never used [INFO] [stdout] --> src/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn advent_13() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_14` is never used [INFO] [stdout] --> src/main.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn advent_14() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_15` is never used [INFO] [stdout] --> src/main.rs:605:4 [INFO] [stdout] | [INFO] [stdout] 605 | fn advent_15() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_16` is never used [INFO] [stdout] --> src/main.rs:657:4 [INFO] [stdout] | [INFO] [stdout] 657 | fn advent_16() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_17` is never used [INFO] [stdout] --> src/main.rs:746:4 [INFO] [stdout] | [INFO] [stdout] 746 | fn advent_17() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_18` is never used [INFO] [stdout] --> src/main.rs:773:4 [INFO] [stdout] | [INFO] [stdout] 773 | fn advent_18() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advent_19` is never used [INFO] [stdout] --> src/main.rs:797:4 [INFO] [stdout] | [INFO] [stdout] 797 | fn advent_19() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 391 | fn intersection(a: HashSet, b: &HashSet) -> HashSet { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 392 | a.into_iter().filter(|e| b.contains(e)).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2020` (bin "advent_of_code_2020" test) due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4eb39cc5eeb02dd881c55c6a6fb8b10c734bbb91de9419504333420b4bf3c72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb39cc5eeb02dd881c55c6a6fb8b10c734bbb91de9419504333420b4bf3c72b", kill_on_drop: false }` [INFO] [stdout] 4eb39cc5eeb02dd881c55c6a6fb8b10c734bbb91de9419504333420b4bf3c72b