[INFO] cloning repository https://github.com/0nyr/ctiny_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0nyr/ctiny_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0nyr%2Fctiny_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0nyr%2Fctiny_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 931375281588b7c96e343f017cc763e2dc7bedf2 [INFO] checking 0nyr/ctiny_interpreter/931375281588b7c96e343f017cc763e2dc7bedf2 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%2F0nyr%2Fctiny_interpreter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0nyr/ctiny_interpreter 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/0nyr/ctiny_interpreter [INFO] finished tweaking git repo https://github.com/0nyr/ctiny_interpreter [INFO] tweaked toml for git repo https://github.com/0nyr/ctiny_interpreter written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/0nyr/ctiny_interpreter 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9b40bec75a5e8f34f543c226c913d7197aa0738b962481611876fecbcedbb940 [INFO] running `Command { std: "docker" "start" "-a" "9b40bec75a5e8f34f543c226c913d7197aa0738b962481611876fecbcedbb940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b40bec75a5e8f34f543c226c913d7197aa0738b962481611876fecbcedbb940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b40bec75a5e8f34f543c226c913d7197aa0738b962481611876fecbcedbb940", kill_on_drop: false }` [INFO] [stdout] 9b40bec75a5e8f34f543c226c913d7197aa0738b962481611876fecbcedbb940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4ce6a0a1d5e9ddf220afbdc8def4bff02ae12a7dfc4a4b04502b78802686dd84 [INFO] running `Command { std: "docker" "start" "-a" "4ce6a0a1d5e9ddf220afbdc8def4bff02ae12a7dfc4a4b04502b78802686dd84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking clap_builder v4.3.11 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling pest v2.7.0 [INFO] [stderr] Checking pest v2.7.1 (https://github.com/0nyr/pest.git?branch=master#004bd242) [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Compiling pest_meta v2.7.0 [INFO] [stderr] Compiling pest_generator v2.7.0 [INFO] [stderr] Compiling pest_derive v2.7.0 [INFO] [stderr] Checking ctiny_interpreter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/abstract_syntax_tree/nodes.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl TypeSpecifier { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_binary` and `is_unary` are never used [INFO] [stdout] --> src/abstract_syntax_tree/nodes.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub trait Operator { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 259 | fn is_binary(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 260 | fn is_unary(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Redeclaration` is never constructed [INFO] [stdout] --> src/semantic/errors.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum SemanticError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 83 | Redeclaration(RedeclarationError), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable` is never used [INFO] [stdout] --> src/symbol_table/structs.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn add_variable<'a>(&mut self, variable_node: Node<'a, Variable>) -> Result<(), SemanticError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpret_normal_declaration` is never used [INFO] [stdout] --> src/interpretation/interpret_declaration.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn interpret_normal_declaration<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpret_array_declaration` is never used [INFO] [stdout] --> src/interpretation/interpret_declaration.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn interpret_array_declaration<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpret_declaration` is never used [INFO] [stdout] --> src/interpretation/interpret_declaration.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn interpret_declaration<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let entry_point_function = unwrap_or_err_panic!(build_entry_point_function(last_valid_pair)); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let functions = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let mut tmp_functions = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / ok_build_node!(pair, [INFO] [stdout] 72 | | TranslationUnit { [INFO] [stdout] 73 | | functions, [INFO] [stdout] 74 | | main_function: entry_point_function [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/expressions.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let res = match literal.as_rule() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | ok_build_node!(pair, res) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [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] ::: src/abstract_syntax_tree/expressions.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let index = match inner.next() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | / ok_build_node!(pair, GetOrSetValue { [INFO] [stdout] 233 | | identifier, [INFO] [stdout] 234 | | index, [INFO] [stdout] 235 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/statements.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let set_value_node = unwrap_or_err_panic!(build_get_or_set_value(first_pair)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let expression_node = unwrap_or_err_panic!(build_expression(second_pair)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | / ok_build_node!(pair, Statement::Assignment( [INFO] [stdout] 23 | | AssignmentStatement { [INFO] [stdout] 24 | | left_var: set_value_node, [INFO] [stdout] 25 | | right_expr: expression_node, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/statements.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let condition_expression = unwrap_or_err_panic!(build_expression(first_pair)); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let if_body_statements = unwrap_or_err_panic!(build_multi_statement(second_pair)); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let else_body_statements = match potential_third_pair { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / ok_build_node!(pair, Statement::If( [INFO] [stdout] 62 | | IfStatement { [INFO] [stdout] 63 | | condition: condition_expression, [INFO] [stdout] 64 | | if_body: if_body_statements, [INFO] [stdout] 65 | | else_body: else_body_statements, [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/statements.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let condition_expression = unwrap_or_err_panic!(build_expression(first_pair)); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let body_statements = unwrap_or_err_panic!(build_multi_statement(second_pair)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | [INFO] [stdout] 78 | / ok_build_node!(pair, Statement::While( [INFO] [stdout] 79 | | WhileStatement { [INFO] [stdout] 80 | | condition: condition_expression, [INFO] [stdout] 81 | | body: body_statements, [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/functions.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let body = unwrap_or_err_panic!(build_block(first_pair)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | [INFO] [stdout] 116 | / ok_build_node!(pair, [INFO] [stdout] 117 | | Function { [INFO] [stdout] 118 | | name: identifier, [INFO] [stdout] 119 | | return_type: TypeSpecifier::Int, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ctiny_interpreter` (bin "ctiny_interpreter") due to 8 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/abstract_syntax_tree/nodes.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl TypeSpecifier { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_binary` and `is_unary` are never used [INFO] [stdout] --> src/abstract_syntax_tree/nodes.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub trait Operator { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 259 | fn is_binary(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 260 | fn is_unary(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let entry_point_function = unwrap_or_err_panic!(build_entry_point_function(last_valid_pair)); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let functions = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let mut tmp_functions = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / ok_build_node!(pair, [INFO] [stdout] 72 | | TranslationUnit { [INFO] [stdout] 73 | | functions, [INFO] [stdout] 74 | | main_function: entry_point_function [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/expressions.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let res = match literal.as_rule() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | ok_build_node!(pair, res) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [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] ::: src/abstract_syntax_tree/expressions.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let index = match inner.next() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | / ok_build_node!(pair, GetOrSetValue { [INFO] [stdout] 233 | | identifier, [INFO] [stdout] 234 | | index, [INFO] [stdout] 235 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/statements.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let set_value_node = unwrap_or_err_panic!(build_get_or_set_value(first_pair)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let expression_node = unwrap_or_err_panic!(build_expression(second_pair)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | / ok_build_node!(pair, Statement::Assignment( [INFO] [stdout] 23 | | AssignmentStatement { [INFO] [stdout] 24 | | left_var: set_value_node, [INFO] [stdout] 25 | | right_expr: expression_node, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/statements.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let condition_expression = unwrap_or_err_panic!(build_expression(first_pair)); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let if_body_statements = unwrap_or_err_panic!(build_multi_statement(second_pair)); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let else_body_statements = match potential_third_pair { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / ok_build_node!(pair, Statement::If( [INFO] [stdout] 62 | | IfStatement { [INFO] [stdout] 63 | | condition: condition_expression, [INFO] [stdout] 64 | | if_body: if_body_statements, [INFO] [stdout] 65 | | else_body: else_body_statements, [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/statements.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let condition_expression = unwrap_or_err_panic!(build_expression(first_pair)); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let body_statements = unwrap_or_err_panic!(build_multi_statement(second_pair)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | [INFO] [stdout] 78 | / ok_build_node!(pair, Statement::While( [INFO] [stdout] 79 | | WhileStatement { [INFO] [stdout] 80 | | condition: condition_expression, [INFO] [stdout] 81 | | body: body_statements, [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [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/abstract_syntax_tree/nodes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / Node { [INFO] [stdout] 18 | | sp: $pair.as_span(), [INFO] [stdout] 19 | | data: $data, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/abstract_syntax_tree/functions.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let body = unwrap_or_err_panic!(build_block(first_pair)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | [INFO] [stdout] 116 | / ok_build_node!(pair, [INFO] [stdout] 117 | | Function { [INFO] [stdout] 118 | | name: identifier, [INFO] [stdout] 119 | | return_type: TypeSpecifier::Int, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ok_build_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ctiny_interpreter` (bin "ctiny_interpreter" test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ce6a0a1d5e9ddf220afbdc8def4bff02ae12a7dfc4a4b04502b78802686dd84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce6a0a1d5e9ddf220afbdc8def4bff02ae12a7dfc4a4b04502b78802686dd84", kill_on_drop: false }` [INFO] [stdout] 4ce6a0a1d5e9ddf220afbdc8def4bff02ae12a7dfc4a4b04502b78802686dd84