[INFO] cloning repository https://github.com/MeexReay/sustlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MeexReay/sustlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeexReay%2Fsustlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeexReay%2Fsustlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf5537c68a7f6bc81610a73d6862f43d38a62877 [INFO] checking MeexReay/sustlang/bf5537c68a7f6bc81610a73d6862f43d38a62877 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%2FMeexReay%2Fsustlang" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MeexReay/sustlang 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/MeexReay/sustlang [INFO] finished tweaking git repo https://github.com/MeexReay/sustlang [INFO] tweaked toml for git repo https://github.com/MeexReay/sustlang written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MeexReay/sustlang 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 677c6125f137f66153fa8987764eacc479419392d0baf4a0b93ae7b1c713724c [INFO] running `Command { std: "docker" "start" "-a" "677c6125f137f66153fa8987764eacc479419392d0baf4a0b93ae7b1c713724c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "677c6125f137f66153fa8987764eacc479419392d0baf4a0b93ae7b1c713724c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677c6125f137f66153fa8987764eacc479419392d0baf4a0b93ae7b1c713724c", kill_on_drop: false }` [INFO] [stdout] 677c6125f137f66153fa8987764eacc479419392d0baf4a0b93ae7b1c713724c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2c6b7e89593d22034952a8b9b1667a3687139c92a6cd101083476d4635475460 [INFO] running `Command { std: "docker" "start" "-a" "2c6b7e89593d22034952a8b9b1667a3687139c92a6cd101083476d4635475460", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bytebuffer v2.2.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sustlang v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IgnoreResult` and `variable` [INFO] [stdout] --> src/sustlang/command/command.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{variable, FileOutStream, IgnoreResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/sustlang/command/command.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IgnoreResult` and `variable` [INFO] [stdout] --> src/sustlang/command/command.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{variable, FileOutStream, IgnoreResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/sustlang/command/command.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script_path_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2257:21 [INFO] [stdout] | [INFO] [stdout] 2257 | let script_path_var = self [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_path_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script_text_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2266:21 [INFO] [stdout] | [INFO] [stdout] 2266 | let script_text_var = self [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_text_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2348:21 [INFO] [stdout] | [INFO] [stdout] 2348 | let addr_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2353:21 [INFO] [stdout] | [INFO] [stdout] 2353 | let port_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_stream` [INFO] [stdout] --> src/sustlang/command/command.rs:2358:21 [INFO] [stdout] | [INFO] [stdout] 2358 | let in_stream = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_stream` [INFO] [stdout] --> src/sustlang/command/command.rs:2363:21 [INFO] [stdout] | [INFO] [stdout] 2363 | let out_stream = self [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2372:21 [INFO] [stdout] | [INFO] [stdout] 2372 | let addr_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2377:21 [INFO] [stdout] | [INFO] [stdout] 2377 | let port_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_func` [INFO] [stdout] --> src/sustlang/command/command.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | let accept_func = self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script_path_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2257:21 [INFO] [stdout] | [INFO] [stdout] 2257 | let script_path_var = self [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_path_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script_text_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2266:21 [INFO] [stdout] | [INFO] [stdout] 2266 | let script_text_var = self [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_text_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2348:21 [INFO] [stdout] | [INFO] [stdout] 2348 | let addr_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2353:21 [INFO] [stdout] | [INFO] [stdout] 2353 | let port_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_stream` [INFO] [stdout] --> src/sustlang/command/command.rs:2358:21 [INFO] [stdout] | [INFO] [stdout] 2358 | let in_stream = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_stream` [INFO] [stdout] --> src/sustlang/command/command.rs:2363:21 [INFO] [stdout] | [INFO] [stdout] 2363 | let out_stream = self [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2372:21 [INFO] [stdout] | [INFO] [stdout] 2372 | let addr_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_var` [INFO] [stdout] --> src/sustlang/command/command.rs:2377:21 [INFO] [stdout] | [INFO] [stdout] 2377 | let port_var = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_func` [INFO] [stdout] --> src/sustlang/command/command.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | let accept_func = self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_type` [INFO] [stdout] --> src/sustlang/script/running_script.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let var_type = value.get_type(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_type` [INFO] [stdout] --> src/sustlang/script/running_script.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let var_type = value.get_type(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_type` [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/sustlang/script/running_script.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(script: Script) -> RunningScript { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | variables: HashMap::new(), [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/sustlang/script/running_script.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(script: Script) -> RunningScript { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | main_function: Function::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 24 | | "main".to_string(), [INFO] [stdout] 25 | | VarType::Null, [INFO] [stdout] 26 | | HashMap::new(), [INFO] [stdout] 27 | | script.commands, [INFO] [stdout] 28 | | ), [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/sustlang/script/running_script.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn run(self) -> Result<(), (ScriptError, Command)> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let main_function = self.main_function.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Arc::new(Mutex::new(self)), [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/sustlang/script/running_script.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn run(self) -> Result<(), (ScriptError, Command)> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let main_function = self.main_function.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | Vec::new(), [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/sustlang/script/script.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | let functions = cut_funcs(&mut commands)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Ok(Script { [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | commands, [INFO] [stdout] 118 | | functions, [INFO] [stdout] 119 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/sustlang/var/variable.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_list(value: Option>, value_type: VarType) -> Variable { [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] 141 | Variable::List(VarType::List(Box::new(value_type)), value) [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/sustlang/var/variable.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 145 | value: Option>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | key_type: VarType, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | value_type: VarType, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | VarType::Map(Box::new(key_type), Box::new(value_type)), [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/sustlang/var/variable.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn from_optional(value: Option>, var_type: VarType) -> Variable { [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] 156 | Variable::Optional( [INFO] [stdout] 157 | VarType::Optional(Box::new(var_type)), [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/sustlang/var/variable.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn from_optional(value: Option>, var_type: VarType) -> Variable { [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] ... [INFO] [stdout] 158 | / match value { [INFO] [stdout] 159 | | Some(value) => match value { [INFO] [stdout] 160 | | Some(value) => Some(Some(Box::new(value))), [INFO] [stdout] 161 | | None => Some(None), [INFO] [stdout] 162 | | }, [INFO] [stdout] 163 | | None => None, [INFO] [stdout] 164 | | }, [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/sustlang/var/variable.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn from_out_stream(value: Option>>) -> Variable { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Variable::OutStream(VarType::OutStream, value) [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/sustlang/var/variable.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn from_in_stream(value: Option>>) -> Variable { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Variable::InStream(VarType::InStream, value) [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 11 previous errors; 12 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/sustlang/script/running_script.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(script: Script) -> RunningScript { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | variables: HashMap::new(), [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/sustlang/script/running_script.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(script: Script) -> RunningScript { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | main_function: Function::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 24 | | "main".to_string(), [INFO] [stdout] 25 | | VarType::Null, [INFO] [stdout] 26 | | HashMap::new(), [INFO] [stdout] 27 | | script.commands, [INFO] [stdout] 28 | | ), [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/sustlang/script/running_script.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn run(self) -> Result<(), (ScriptError, Command)> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let main_function = self.main_function.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Arc::new(Mutex::new(self)), [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/sustlang/script/running_script.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn run(self) -> Result<(), (ScriptError, Command)> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let main_function = self.main_function.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | Vec::new(), [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/sustlang/script/script.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | let functions = cut_funcs(&mut commands)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Ok(Script { [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | commands, [INFO] [stdout] 118 | | functions, [INFO] [stdout] 119 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/sustlang/var/variable.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_list(value: Option>, value_type: VarType) -> Variable { [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] 141 | Variable::List(VarType::List(Box::new(value_type)), value) [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/sustlang/var/variable.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 145 | value: Option>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | key_type: VarType, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | value_type: VarType, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | VarType::Map(Box::new(key_type), Box::new(value_type)), [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/sustlang/var/variable.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn from_optional(value: Option>, var_type: VarType) -> Variable { [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] 156 | Variable::Optional( [INFO] [stdout] 157 | VarType::Optional(Box::new(var_type)), [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/sustlang/var/variable.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn from_optional(value: Option>, var_type: VarType) -> Variable { [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] ... [INFO] [stdout] 158 | / match value { [INFO] [stdout] 159 | | Some(value) => match value { [INFO] [stdout] 160 | | Some(value) => Some(Some(Box::new(value))), [INFO] [stdout] 161 | | None => Some(None), [INFO] [stdout] 162 | | }, [INFO] [stdout] 163 | | None => None, [INFO] [stdout] 164 | | }, [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/sustlang/var/variable.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn from_out_stream(value: Option>>) -> Variable { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Variable::OutStream(VarType::OutStream, value) [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/sustlang/var/variable.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn from_in_stream(value: Option>>) -> Variable { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Variable::InStream(VarType::InStream, value) [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 `sustlang` (lib) due to 12 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sustlang` (lib test) due to 12 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c6b7e89593d22034952a8b9b1667a3687139c92a6cd101083476d4635475460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6b7e89593d22034952a8b9b1667a3687139c92a6cd101083476d4635475460", kill_on_drop: false }` [INFO] [stdout] 2c6b7e89593d22034952a8b9b1667a3687139c92a6cd101083476d4635475460