[INFO] cloning repository https://github.com/Tomyk9991/monkey-language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tomyk9991/monkey-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomyk9991%2Fmonkey-language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomyk9991%2Fmonkey-language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ade8284e351cc21b2515c5157667277bd382a9d9 [INFO] checking Tomyk9991/monkey-language/ade8284e351cc21b2515c5157667277bd382a9d9 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%2FTomyk9991%2Fmonkey-language" "/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/Tomyk9991/monkey-language 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/Tomyk9991/monkey-language [INFO] finished tweaking git repo https://github.com/Tomyk9991/monkey-language [INFO] tweaked toml for git repo https://github.com/Tomyk9991/monkey-language written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tomyk9991/monkey-language 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] 7dead9ace4119bb605fe278db2af79be7e96dca92328822c3096a5b79e544f0d [INFO] running `Command { std: "docker" "start" "-a" "7dead9ace4119bb605fe278db2af79be7e96dca92328822c3096a5b79e544f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dead9ace4119bb605fe278db2af79be7e96dca92328822c3096a5b79e544f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dead9ace4119bb605fe278db2af79be7e96dca92328822c3096a5b79e544f0d", kill_on_drop: false }` [INFO] [stdout] 7dead9ace4119bb605fe278db2af79be7e96dca92328822c3096a5b79e544f0d [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] d1d266ffecff3ea7231182d349b65205d5ec86c63e5998a73d7356f2f56941a8 [INFO] running `Command { std: "docker" "start" "-a" "d1d266ffecff3ea7231182d349b65205d5ec86c63e5998a73d7356f2f56941a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking binary_search_tree v0.2.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking regex-split v0.1.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.4.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking lazy-regex v2.5.0 [INFO] [stderr] Checking monkey-language v0.1.0 (/opt/rustwide/workdir) [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/core/lexer/scope.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(ScopeError::ParsingError { [INFO] [stdout] | _____________^ [INFO] [stdout] 297 | | message: format!("Unexpected token: {:?}: {}", c.actual_line_number, code_line.line) [INFO] [stdout] 298 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/core/lexer/tokens/variable_token.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 266 | let assignable: AssignableToken; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let type_token: Option; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 334 | Ok(VariableToken { [INFO] [stdout] | ____________^ [INFO] [stdout] 335 | | name_token: NameToken::from_str(final_variable_name, false)?, [INFO] [stdout] 336 | | mutability: mut_used, [INFO] [stdout] 337 | | ty: type_token, [INFO] [stdout] ... | [INFO] [stdout] 340 | | code_line: code_line.clone(), [INFO] [stdout] 341 | | }) [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/core/lexer/tokens/assignable_tokens/float_token.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 28 | fn to_asm(&self, stack: &mut Stack, meta: &mut MetaInfo, options: Option) -> Result [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/core/lexer/tokens/assignable_tokens/method_call_token.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 208 | let signatures = method_defs [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Err(InferTypeError::MethodCallSignatureMismatch { [INFO] [stdout] | _____________^ [INFO] [stdout] 214 | | signatures, [INFO] [stdout] 215 | | method_name: self.name.clone(), [INFO] [stdout] 216 | | code_line: code_line.clone(), [INFO] [stdout] 217 | | provided: self.arguments.iter().filter_map(|a| a.infer_type_with_context(context, code_line).ok()).collect::>(), [INFO] [stdout] 218 | | }) [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/core/lexer/tokens/assignable_tokens/method_call_token.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 217 | provided: self.arguments.iter().filter_map(|a| a.infer_type_with_context(context, code_line).ok()).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/core/lexer/tokens/assignable_tokens/method_call_token.rs:241:64 [INFO] [stdout] | [INFO] [stdout] 241 | ... provided: self.arguments.iter().filter_map(|a| a.infer_type_with_context(&meta.static_type_information, &meta.code_line).ok()).coll... [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/core/lexer/tokens/assignable_tokens/equation_parser/mod.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(source_code: impl Into) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | syntax_tree: Box::default(), [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/core/lexer/tokens/assignable_tokens/equation_parser/mod.rs:422:84 [INFO] [stdout] | [INFO] [stdout] 422 | if let Some((cast_type, amount_skip)) = self.collect_until(1, ')', |a| TypeToken::from_str(a).is_ok()) { [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/core/lexer/tokens/assignable_tokens/equation_parser/expression.rs:523:15 [INFO] [stdout] | [INFO] [stdout] 520 | fn from(value: Option>) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | ..Default::default() [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/core/lexer/tokens/assignable_tokens/equation_parser/expression.rs:661:74 [INFO] [stdout] | [INFO] [stdout] 661 | prefix_arithmetic.to_asm::(stack, meta, Some(PrefixArithmeticOptions { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 662 | | value: value.clone(), [INFO] [stdout] 663 | | register_or_stack_address, [INFO] [stdout] 664 | | register_64, [INFO] [stdout] ... | [INFO] [stdout] 667 | | target, [INFO] [stdout] 668 | | })) [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/core/lexer/tokens/assignable_tokens/equation_parser/prefix_arithmetic.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_asm(&self, stack: &mut Stack, meta: &mut MetaInfo, options: Option) -> Result [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/core/lexer/tokens/method_definition.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 128 | let mut tokens = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(MethodDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 146 | | name: NameToken::from_str(fn_name, false)?, [INFO] [stdout] 147 | | return_type: TypeToken::from_str(return_type)?, [INFO] [stdout] 148 | | arguments: Self::type_arguments(method_header, arguments)?, [INFO] [stdout] ... | [INFO] [stdout] 151 | | code_line: method_header.clone(), [INFO] [stdout] 152 | | }) [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/core/lexer/tokens/if_token.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut if_stack = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let mut else_stack: Option> = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Err(IfDefinitionErr::PatternNotMatched { [INFO] [stdout] | _____________^ [INFO] [stdout] 193 | | target_value: if_header.line.to_string() [INFO] [stdout] 194 | | }) [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/core/lexer/tokens/for_token.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut tokens = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Err(ForTokenErr::PatternNotMatched { [INFO] [stdout] | _____________^ [INFO] [stdout] 166 | | target_value: for_header.line.to_string(), [INFO] [stdout] 167 | | }) [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/core/lexer/tokens/while.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut stack = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | Err(WhileTokenErr::PatternNotMatched { [INFO] [stdout] | _____________^ [INFO] [stdout] 130 | | target_value: while_header.line.to_string(), [INFO] [stdout] 131 | | }) [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/core/lexer/static_type_context.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 82 | let mut context: Vec> = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let mut methods = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | expected_return_type: None, [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/core/lexer/types/cast_to.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn to_asm(&self, _stack: &mut Stack, meta: &mut MetaInfo, _options: Option) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | // from, to, instruction [INFO] [stdout] 36 | let mut cast_to_matrix: HashMap<(TypeToken, TypeToken), &'static str> = HashMap::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Err(ASMGenerateError::CastUnsupported(CastToError::CastUnsupported(self.clone()), meta.code_line.clone())) [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/core/code_generator/conventions.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | ... provided: calling_arguments.iter().filter_map(|a| a.infer_type_with_context(&meta.static_type_information, &meta.code_line).ok()).c... [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/core/lexer/scope.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(ScopeError::ParsingError { [INFO] [stdout] | _____________^ [INFO] [stdout] 297 | | message: format!("Unexpected token: {:?}: {}", c.actual_line_number, code_line.line) [INFO] [stdout] 298 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/core/lexer/tokens/variable_token.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 266 | let assignable: AssignableToken; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let type_token: Option; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 334 | Ok(VariableToken { [INFO] [stdout] | ____________^ [INFO] [stdout] 335 | | name_token: NameToken::from_str(final_variable_name, false)?, [INFO] [stdout] 336 | | mutability: mut_used, [INFO] [stdout] 337 | | ty: type_token, [INFO] [stdout] ... | [INFO] [stdout] 340 | | code_line: code_line.clone(), [INFO] [stdout] 341 | | }) [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/core/lexer/tokens/assignable_tokens/float_token.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 28 | fn to_asm(&self, stack: &mut Stack, meta: &mut MetaInfo, options: Option) -> Result [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/core/lexer/tokens/assignable_tokens/method_call_token.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 208 | let signatures = method_defs [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Err(InferTypeError::MethodCallSignatureMismatch { [INFO] [stdout] | _____________^ [INFO] [stdout] 214 | | signatures, [INFO] [stdout] 215 | | method_name: self.name.clone(), [INFO] [stdout] 216 | | code_line: code_line.clone(), [INFO] [stdout] 217 | | provided: self.arguments.iter().filter_map(|a| a.infer_type_with_context(context, code_line).ok()).collect::>(), [INFO] [stdout] 218 | | }) [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/core/lexer/tokens/assignable_tokens/method_call_token.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 217 | provided: self.arguments.iter().filter_map(|a| a.infer_type_with_context(context, code_line).ok()).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/core/lexer/tokens/assignable_tokens/method_call_token.rs:241:64 [INFO] [stdout] | [INFO] [stdout] 241 | ... provided: self.arguments.iter().filter_map(|a| a.infer_type_with_context(&meta.static_type_information, &meta.code_line).ok()).coll... [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 18 previous errors [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/core/lexer/tokens/assignable_tokens/equation_parser/mod.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(source_code: impl Into) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | syntax_tree: Box::default(), [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/core/lexer/tokens/assignable_tokens/equation_parser/mod.rs:422:84 [INFO] [stdout] | [INFO] [stdout] 422 | if let Some((cast_type, amount_skip)) = self.collect_until(1, ')', |a| TypeToken::from_str(a).is_ok()) { [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/core/lexer/tokens/assignable_tokens/equation_parser/expression.rs:523:15 [INFO] [stdout] | [INFO] [stdout] 520 | fn from(value: Option>) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | ..Default::default() [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/core/lexer/tokens/assignable_tokens/equation_parser/expression.rs:661:74 [INFO] [stdout] | [INFO] [stdout] 661 | prefix_arithmetic.to_asm::(stack, meta, Some(PrefixArithmeticOptions { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 662 | | value: value.clone(), [INFO] [stdout] 663 | | register_or_stack_address, [INFO] [stdout] 664 | | register_64, [INFO] [stdout] ... | [INFO] [stdout] 667 | | target, [INFO] [stdout] 668 | | })) [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/core/lexer/tokens/assignable_tokens/equation_parser/prefix_arithmetic.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn to_asm(&self, stack: &mut Stack, meta: &mut MetaInfo, options: Option) -> Result [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/core/lexer/tokens/method_definition.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 128 | let mut tokens = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(MethodDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 146 | | name: NameToken::from_str(fn_name, false)?, [INFO] [stdout] 147 | | return_type: TypeToken::from_str(return_type)?, [INFO] [stdout] 148 | | arguments: Self::type_arguments(method_header, arguments)?, [INFO] [stdout] ... | [INFO] [stdout] 151 | | code_line: method_header.clone(), [INFO] [stdout] 152 | | }) [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/core/lexer/tokens/if_token.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut if_stack = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let mut else_stack: Option> = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Err(IfDefinitionErr::PatternNotMatched { [INFO] [stdout] | _____________^ [INFO] [stdout] 193 | | target_value: if_header.line.to_string() [INFO] [stdout] 194 | | }) [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/core/lexer/tokens/for_token.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut tokens = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Err(ForTokenErr::PatternNotMatched { [INFO] [stdout] | _____________^ [INFO] [stdout] 166 | | target_value: for_header.line.to_string(), [INFO] [stdout] 167 | | }) [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/core/lexer/tokens/while.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut stack = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | Err(WhileTokenErr::PatternNotMatched { [INFO] [stdout] | _____________^ [INFO] [stdout] 130 | | target_value: while_header.line.to_string(), [INFO] [stdout] 131 | | }) [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/core/lexer/static_type_context.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 82 | let mut context: Vec> = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let mut methods = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | expected_return_type: None, [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/core/lexer/types/cast_to.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn to_asm(&self, _stack: &mut Stack, meta: &mut MetaInfo, _options: Option) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | // from, to, instruction [INFO] [stdout] 36 | let mut cast_to_matrix: HashMap<(TypeToken, TypeToken), &'static str> = HashMap::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Err(ASMGenerateError::CastUnsupported(CastToError::CastUnsupported(self.clone()), meta.code_line.clone())) [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/core/code_generator/conventions.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | ... provided: calling_arguments.iter().filter_map(|a| a.infer_type_with_context(&meta.static_type_information, &meta.code_line).ok()).c... [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 `monkey-language` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-language` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "d1d266ffecff3ea7231182d349b65205d5ec86c63e5998a73d7356f2f56941a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d266ffecff3ea7231182d349b65205d5ec86c63e5998a73d7356f2f56941a8", kill_on_drop: false }` [INFO] [stdout] d1d266ffecff3ea7231182d349b65205d5ec86c63e5998a73d7356f2f56941a8