[INFO] cloning repository https://github.com/cargillchantry/advent-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/cargillchantry/advent-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcargillchantry%2Fadvent-code-2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcargillchantry%2Fadvent-code-2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa7eb0b6f85a450c3a21a1c92b28162b6c2f5f80
[INFO] checking cargillchantry/advent-code-2020/fa7eb0b6f85a450c3a21a1c92b28162b6c2f5f80 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%2Fcargillchantry%2Fadvent-code-2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cargillchantry/advent-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/cargillchantry/advent-code-2020
[INFO] finished tweaking git repo https://github.com/cargillchantry/advent-code-2020
[INFO] tweaked toml for git repo https://github.com/cargillchantry/advent-code-2020 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/cargillchantry/advent-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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ea790be17557300a5b3d840319e82f605622e106393929e9ee5ce6104ced231
[INFO] running `Command { std: "docker" "start" "-a" "1ea790be17557300a5b3d840319e82f605622e106393929e9ee5ce6104ced231", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ea790be17557300a5b3d840319e82f605622e106393929e9ee5ce6104ced231", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ea790be17557300a5b3d840319e82f605622e106393929e9ee5ce6104ced231", kill_on_drop: false }`
[INFO] [stdout] 1ea790be17557300a5b3d840319e82f605622e106393929e9ee5ce6104ced231
[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 -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] 114e311f126754293fd817490e18a9595e5d6cafbc8b81b6904493f5c3760198
[INFO] running `Command { std: "docker" "start" "-a" "114e311f126754293fd817490e18a9595e5d6cafbc8b81b6904493f5c3760198", kill_on_drop: false }`
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Checking regex-syntax v0.6.21
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Checking thread_local v1.0.1
[INFO] [stderr] Checking itertools v0.9.0
[INFO] [stderr] Checking aho-corasick v0.7.15
[INFO] [stderr] Checking regex v1.4.2
[INFO] [stderr] Checking advent-2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `index_adjustment`
[INFO] [stdout] --> src/day_twenty.rs:162:21
[INFO] [stdout] |
[INFO] [stdout] 162 | let (transform, index_adjustment) =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_adjustment`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `index_adjustment`
[INFO] [stdout] --> src/day_twenty.rs:162:21
[INFO] [stdout] |
[INFO] [stdout] 162 | let (transform, index_adjustment) =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_adjustment`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `FlipX`, `FlipY`, and `FlipXY` are never constructed
[INFO] [stdout] --> src/day_twenty.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 13 | enum Flip {
[INFO] [stdout] | ---- variants in this enum
[INFO] [stdout] 14 | FlipX, FlipY, FlipXY, Identity
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Flip` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `FlipSide` is never used
[INFO] [stdout] --> src/day_twenty.rs:139:7
[INFO] [stdout] |
[INFO] [stdout] 139 | trait FlipSide {
[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/file_util.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn read_lines
(filename: P) -> impl Iterator- where P: AsRef {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 8 | let file = File::open(filename).expect("Failed to read file.");
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 9 | / io::BufReader::new(file)
[INFO] [stdout] 10 | | .lines()
[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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/file_util.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 14 | pub fn read_non_blank_lines
(filename: P) -> impl Iterator- where P: AsRef {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 15 | read_lines(filename)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/file_util.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn read_lines_as_u32
(filename: P) -> impl Iterator- where P: AsRef {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 20 | read_non_blank_lines(filename)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_three.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 6 | fn convert_to_collision_vec(iterator: impl Iterator
- ) -> Vec> {
[INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 7 | / iterator.map(|line| line
[INFO] [stdout] 8 | | .chars()
[INFO] [stdout] 9 | | .positions(|column| column == '#')
[INFO] [stdout] 10 | | .collect()
[INFO] [stdout] 11 | | ).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]
[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/day_four.rs:81:5
[INFO] [stdout] |
[INFO] [stdout] 80 | fn convert_to_credentials(iterator: impl Iterator
- ) -> impl Iterator
- {
[INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 81 | / iterator
[INFO] [stdout] 82 | | .batching(|iterator| {
[INFO] [stdout] 83 | | let next = iterator
[INFO] [stdout] 84 | | .take_while(|value| !value.is_empty())
[INFO] [stdout] ... |
[INFO] [stdout] 90 | | }
[INFO] [stdout] 91 | | })
[INFO] [stdout] | |__________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_six.rs:88:30
[INFO] [stdout] |
[INFO] [stdout] 74 | let answers: Vec<(HashSet, HashSet)> = BatchIterator::new(vec!(
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | assert_eq!(second.1, HashSet::from_iter(vec!('a').into_iter()))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:87:49
[INFO] [stdout] |
[INFO] [stdout] 85 | ... |prev, production| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 86 | ... And(
[INFO] [stdout] 87 | ... Box::new(prev),
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:88:49
[INFO] [stdout] |
[INFO] [stdout] 85 | ... |prev, production| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | ... Box::new(Reference(*production))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:102:32
[INFO] [stdout] |
[INFO] [stdout] 101 | split.into_iter().rev().fold(last, |prev, next| {
[INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 102 | Or(Box::new(next), Box::new(prev))
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:102:48
[INFO] [stdout] |
[INFO] [stdout] 101 | split.into_iter().rev().fold(last, |prev, next| {
[INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 102 | Or(Box::new(next), Box::new(prev))
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `FlipX`, `FlipY`, and `FlipXY` are never constructed
[INFO] [stdout] --> src/day_twenty.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 13 | enum Flip {
[INFO] [stdout] | ---- variants in this enum
[INFO] [stdout] 14 | FlipX, FlipY, FlipXY, Identity
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Flip` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `FlipSide` is never used
[INFO] [stdout] --> src/day_twenty.rs:139:7
[INFO] [stdout] |
[INFO] [stdout] 139 | trait FlipSide {
[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/file_util.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn read_lines
(filename: P) -> impl Iterator- where P: AsRef {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 8 | let file = File::open(filename).expect("Failed to read file.");
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 9 | / io::BufReader::new(file)
[INFO] [stdout] 10 | | .lines()
[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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/file_util.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 14 | pub fn read_non_blank_lines
(filename: P) -> impl Iterator- where P: AsRef {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 15 | read_lines(filename)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/file_util.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn read_lines_as_u32
(filename: P) -> impl Iterator- where P: AsRef {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 20 | read_non_blank_lines(filename)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_three.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 6 | fn convert_to_collision_vec(iterator: impl Iterator
- ) -> Vec> {
[INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 7 | / iterator.map(|line| line
[INFO] [stdout] 8 | | .chars()
[INFO] [stdout] 9 | | .positions(|column| column == '#')
[INFO] [stdout] 10 | | .collect()
[INFO] [stdout] 11 | | ).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]
[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/day_four.rs:81:5
[INFO] [stdout] |
[INFO] [stdout] 80 | fn convert_to_credentials(iterator: impl Iterator
- ) -> impl Iterator
- {
[INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 81 | / iterator
[INFO] [stdout] 82 | | .batching(|iterator| {
[INFO] [stdout] 83 | | let next = iterator
[INFO] [stdout] 84 | | .take_while(|value| !value.is_empty())
[INFO] [stdout] ... |
[INFO] [stdout] 90 | | }
[INFO] [stdout] 91 | | })
[INFO] [stdout] | |__________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[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/day_nineteen.rs:87:49
[INFO] [stdout] |
[INFO] [stdout] 85 | ... |prev, production| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 86 | ... And(
[INFO] [stdout] 87 | ... Box::new(prev),
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:88:49
[INFO] [stdout] |
[INFO] [stdout] 85 | ... |prev, production| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | ... Box::new(Reference(*production))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:102:32
[INFO] [stdout] |
[INFO] [stdout] 101 | split.into_iter().rev().fold(last, |prev, next| {
[INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 102 | Or(Box::new(next), Box::new(prev))
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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/day_nineteen.rs:102:48
[INFO] [stdout] |
[INFO] [stdout] 101 | split.into_iter().rev().fold(last, |prev, next| {
[INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 102 | Or(Box::new(next), Box::new(prev))
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `advent-2020` (bin "advent-2020" test) due to 11 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `advent-2020` (bin "advent-2020") due to 10 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "114e311f126754293fd817490e18a9595e5d6cafbc8b81b6904493f5c3760198", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "114e311f126754293fd817490e18a9595e5d6cafbc8b81b6904493f5c3760198", kill_on_drop: false }`
[INFO] [stdout] 114e311f126754293fd817490e18a9595e5d6cafbc8b81b6904493f5c3760198