[INFO] cloning repository https://github.com/NielsOverkamp/AdventOfCode2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NielsOverkamp/AdventOfCode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNielsOverkamp%2FAdventOfCode2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNielsOverkamp%2FAdventOfCode2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5be98ba3fd23f58b30b81354d0965aed7bfbaf7 [INFO] checking NielsOverkamp/AdventOfCode2022/b5be98ba3fd23f58b30b81354d0965aed7bfbaf7 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%2FNielsOverkamp%2FAdventOfCode2022" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NielsOverkamp/AdventOfCode2022 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/NielsOverkamp/AdventOfCode2022 [INFO] finished tweaking git repo https://github.com/NielsOverkamp/AdventOfCode2022 [INFO] tweaked toml for git repo https://github.com/NielsOverkamp/AdventOfCode2022 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NielsOverkamp/AdventOfCode2022 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1d42f78e8c1c97a61248e3cd2008e7784d559fa6745b20f59255e881908d0cb4 [INFO] running `Command { std: "docker" "start" "-a" "1d42f78e8c1c97a61248e3cd2008e7784d559fa6745b20f59255e881908d0cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d42f78e8c1c97a61248e3cd2008e7784d559fa6745b20f59255e881908d0cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d42f78e8c1c97a61248e3cd2008e7784d559fa6745b20f59255e881908d0cb4", kill_on_drop: false }` [INFO] [stdout] 1d42f78e8c1c97a61248e3cd2008e7784d559fa6745b20f59255e881908d0cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c976ef88a535b8e34e6a2deb00744065a7b4a2787bb00e29e584efa562236e46 [INFO] running `Command { std: "docker" "start" "-a" "c976ef88a535b8e34e6a2deb00744065a7b4a2787bb00e29e584efa562236e46", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking options v0.5.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking arguments v0.6.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.78 [INFO] [stderr] Compiling curl-sys v0.4.59+curl-7.86.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking primes v0.3.0 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking aoc2022_niels_overkamp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/bin/day9.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | let (dir, r_dir) = match dir { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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/bin/day15.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | let v_parser = |c| preceded(char(c).and(char('=')), i128_parser); [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/bin/day15.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | let point_parser = || separated_pair(v_parser('x'), tag(", "), v_parser('y')); [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/bin/day15.rs:49:61 [INFO] [stdout] | [INFO] [stdout] 49 | let point_parser = || separated_pair(v_parser('x'), tag(", "), v_parser('y')); [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/bin/day15.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | let point_parser = || separated_pair(v_parser('x'), tag(", "), v_parser('y')); [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022_niels_overkamp` (bin "day15") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/bin/day13.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | let l_bracket = value(Self::LBracket, char_parser('[')); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let r_bracket = value(Self::RBracket, char_parser(']')); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let num = u64_parser.map(|n| Self::Num(n)); [INFO] [stdout] 46 | let symbol = alt((l_bracket, r_bracket, num)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let comma0 = tag(",").or(tag("")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let symbol_comma0 = terminated(symbol, comma0); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let list = many0(symbol_comma0).map(|l| l); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | [INFO] [stdout] 51 | all_consuming(list)(input) [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/bin/day15.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | let v_parser = |c| preceded(char(c).and(char('=')), i128_parser); [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 [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/bin/day15.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | let point_parser = || separated_pair(v_parser('x'), tag(", "), v_parser('y')); [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/bin/day15.rs:49:61 [INFO] [stdout] | [INFO] [stdout] 49 | let point_parser = || separated_pair(v_parser('x'), tag(", "), v_parser('y')); [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/bin/day15.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | let point_parser = || separated_pair(v_parser('x'), tag(", "), v_parser('y')); [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022_niels_overkamp` (bin "day13" test) due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2022_niels_overkamp` (bin "day15" test) due to 5 previous errors [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/bin/day13.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | let l_bracket = value(Self::LBracket, char_parser('[')); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let r_bracket = value(Self::RBracket, char_parser(']')); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let num = u64_parser.map(|n| Self::Num(n)); [INFO] [stdout] 46 | let symbol = alt((l_bracket, r_bracket, num)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let comma0 = tag(",").or(tag("")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let symbol_comma0 = terminated(symbol, comma0); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let list = many0(symbol_comma0).map(|l| l); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | [INFO] [stdout] 51 | all_consuming(list)(input) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arguments` is never read [INFO] [stdout] --> src/command.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Command { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | pub command_type: CommandType, [INFO] [stdout] 22 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/web.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn curl_request_to_file(&mut self, url: &str, mut file: fs::File) -> Result<(), Box> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | self.curl_request(url, move |data| file.write(data).map_err(|_| easy::WriteError::Pause)).map_err(Into::into) [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/web.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn curl_request_to_file(&mut self, url: &str, mut file: fs::File) -> Result<(), Box> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | self.curl_request(url, move |data| file.write(data).map_err(|_| easy::WriteError::Pause)).map_err(Into::into) [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/web.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn curl_request_to_named_file>(&mut self, url: &str, path: P) -> Result<(), Box> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | self.curl_request_to_file(url, fs::File::create(path)?) [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/web.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut file = fs::File::create(&path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | self.curl_post(url, data, move |data: &[u8]| { [INFO] [stdout] 90 | file.write(data).map_err(|_| WriteError::Pause) [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] [stderr] error: could not compile `aoc2022_niels_overkamp` (bin "day13") due to 2 previous errors [INFO] [stdout] warning: field `arguments` is never read [INFO] [stdout] --> src/command.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Command { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | pub command_type: CommandType, [INFO] [stdout] 22 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022_niels_overkamp` (bin "aoc2022_niels_overkamp") due to 5 previous errors; 1 warning emitted [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/web.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn curl_request_to_file(&mut self, url: &str, mut file: fs::File) -> Result<(), Box> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | self.curl_request(url, move |data| file.write(data).map_err(|_| easy::WriteError::Pause)).map_err(Into::into) [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/web.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn curl_request_to_file(&mut self, url: &str, mut file: fs::File) -> Result<(), Box> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | self.curl_request(url, move |data| file.write(data).map_err(|_| easy::WriteError::Pause)).map_err(Into::into) [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/web.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn curl_request_to_named_file>(&mut self, url: &str, path: P) -> Result<(), Box> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | self.curl_request_to_file(url, fs::File::create(path)?) [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/web.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut file = fs::File::create(&path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | self.curl_post(url, data, move |data: &[u8]| { [INFO] [stdout] 90 | file.write(data).map_err(|_| WriteError::Pause) [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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022_niels_overkamp` (bin "aoc2022_niels_overkamp" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c976ef88a535b8e34e6a2deb00744065a7b4a2787bb00e29e584efa562236e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c976ef88a535b8e34e6a2deb00744065a7b4a2787bb00e29e584efa562236e46", kill_on_drop: false }` [INFO] [stdout] c976ef88a535b8e34e6a2deb00744065a7b4a2787bb00e29e584efa562236e46