[INFO] cloning repository https://github.com/Adotweb/thorlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adotweb/thorlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdotweb%2Fthorlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdotweb%2Fthorlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1319a6c27bbc3034965d336d2c6b43dd4c7790cf [INFO] checking Adotweb/thorlang/1319a6c27bbc3034965d336d2c6b43dd4c7790cf 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%2FAdotweb%2Fthorlang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adotweb/thorlang 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/Adotweb/thorlang [INFO] finished tweaking git repo https://github.com/Adotweb/thorlang [INFO] tweaked toml for git repo https://github.com/Adotweb/thorlang written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Adotweb/thorlang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa04779193441942effbbfc1f1166f80afc45a84569d6ebef61ba9ae95ed9e21 [INFO] running `Command { std: "docker" "start" "-a" "fa04779193441942effbbfc1f1166f80afc45a84569d6ebef61ba9ae95ed9e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa04779193441942effbbfc1f1166f80afc45a84569d6ebef61ba9ae95ed9e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa04779193441942effbbfc1f1166f80afc45a84569d6ebef61ba9ae95ed9e21", kill_on_drop: false }` [INFO] [stdout] fa04779193441942effbbfc1f1166f80afc45a84569d6ebef61ba9ae95ed9e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7078caaa72dfd463f239b66a99e36770302b5d251ea9992a54c425adcda6d39a [INFO] running `Command { std: "docker" "start" "-a" "7078caaa72dfd463f239b66a99e36770302b5d251ea9992a54c425adcda6d39a", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking thorlang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Function` and `eval_statement` [INFO] [stdout] --> src/native_functions.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eval_statement, interpret_code, Environment, Function, Value, ValueType, ThorLangError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify_value` [INFO] [stdout] --> src/parser.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Token, TokenType, stringify_value, ThorLangError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | ret = (overload_statement(current_index, tokens)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - ret = (overload_statement(current_index, tokens)); [INFO] [stdout] 99 + ret = overload_statement(current_index, tokens); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | ret = (return_statement(current_index, tokens)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - ret = (return_statement(current_index, tokens)); [INFO] [stdout] 103 + ret = return_statement(current_index, tokens); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | ret = (print_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - ret = (print_statement(current_index, tokens)) [INFO] [stdout] 107 + ret = print_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | ret = (function_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - ret = (function_statement(current_index, tokens)) [INFO] [stdout] 111 + ret = function_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | ret = (do_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - ret = (do_statement(current_index, tokens)) [INFO] [stdout] 115 + ret = do_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | ret = (if_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - ret = (if_statement(current_index, tokens)) [INFO] [stdout] 119 + ret = if_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | ret = (while_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - ret = (while_statement(current_index, tokens)) [INFO] [stdout] 123 + ret = while_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | ret = (declaration(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - ret = (declaration(current_index, tokens)) [INFO] [stdout] 127 + ret = declaration(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Function` and `eval_statement` [INFO] [stdout] --> src/native_functions.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eval_statement, interpret_code, Environment, Function, Value, ValueType, ThorLangError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stringify_value` [INFO] [stdout] --> src/parser.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Token, TokenType, stringify_value, ThorLangError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | ret = (overload_statement(current_index, tokens)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - ret = (overload_statement(current_index, tokens)); [INFO] [stdout] 99 + ret = overload_statement(current_index, tokens); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | ret = (return_statement(current_index, tokens)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - ret = (return_statement(current_index, tokens)); [INFO] [stdout] 103 + ret = return_statement(current_index, tokens); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | ret = (print_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - ret = (print_statement(current_index, tokens)) [INFO] [stdout] 107 + ret = print_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | ret = (function_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - ret = (function_statement(current_index, tokens)) [INFO] [stdout] 111 + ret = function_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | ret = (do_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - ret = (do_statement(current_index, tokens)) [INFO] [stdout] 115 + ret = do_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | ret = (if_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - ret = (if_statement(current_index, tokens)) [INFO] [stdout] 119 + ret = if_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | ret = (while_statement(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - ret = (while_statement(current_index, tokens)) [INFO] [stdout] 123 + ret = while_statement(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/parser.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | ret = (declaration(current_index, tokens)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - ret = (declaration(current_index, tokens)) [INFO] [stdout] 127 + ret = declaration(current_index, tokens) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:81:66 [INFO] [stdout] | [INFO] [stdout] 81 | Statement::Overload { operator, operands, operation, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | Statement::Return { expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | line [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | Statement::Block { statements, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | line [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | Statement::While { condition, block, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:188:44 [INFO] [stdout] | [INFO] [stdout] 188 | Statement::Print { expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | Statement::Do { expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | Statement::Variable { name, expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/eval.rs:662:35 [INFO] [stdout] | [INFO] [stdout] 662 | ValueType::Number(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/eval.rs:667:34 [INFO] [stdout] | [INFO] [stdout] 667 | ValueType::Array(arr) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_value` [INFO] [stdout] --> src/native_functions.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let init_value = Some(Box::new(init)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/native_functions.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut fields = HashMap::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut token = &consume_token(current_index, tokens).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | token = consume_token(current_index, tokens).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:81:66 [INFO] [stdout] | [INFO] [stdout] 81 | Statement::Overload { operator, operands, operation, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | Statement::Return { expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | line [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | Statement::Block { statements, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | line [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | Statement::While { condition, block, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:188:44 [INFO] [stdout] | [INFO] [stdout] 188 | Statement::Print { expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | Statement::Do { expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/eval.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | Statement::Variable { name, expression, line } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [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/eval.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(enclosing: Option>>) -> Rc> { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Rc::new(RefCell::new(Environment { [INFO] [stdout] | _________________^ [INFO] [stdout] 39 | | values: RefCell::new(HashMap::new()), [INFO] [stdout] 40 | | enclosing, [INFO] [stdout] 41 | | })) [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/eval.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn eval_statement(stmts: Vec, enclosing: Rc>, overloadings : &mut Overloadings) -> 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/eval.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn array(value: Vec) -> Value { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | Value { [INFO] [stdout] 297 | value: ValueType::Array(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/eval.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn array(value: Vec) -> Value { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | ..Value::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/eval.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 339 | body: Arc) -> Result>, [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | self_value: Option>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | value: ValueType::Function(Function::NativeFunction { [INFO] [stdout] | ____________________^ [INFO] [stdout] 344 | | self_value, [INFO] [stdout] 345 | | needed_arguments: arguments.iter().map(|x| x.to_string()).collect(), [INFO] [stdout] 346 | | body, [INFO] [stdout] 347 | | }), [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/eval.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 339 | body: Arc) -> Result>, [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | self_value: Option>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | ..Value::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/eval.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 354 | body: Vec, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | closure: Rc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 358 | value: ValueType::Function(Function::ThorFunction { [INFO] [stdout] | ____________________^ [INFO] [stdout] 359 | | needed_arguments: arguments, [INFO] [stdout] 360 | | body, [INFO] [stdout] 361 | | closure, [INFO] [stdout] 362 | | }), [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/eval.rs:363:15 [INFO] [stdout] | [INFO] [stdout] 354 | body: Vec, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | closure: Rc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | ..Value::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] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval.rs:794:17 [INFO] [stdout] | [INFO] [stdout] 794 | / enclosing.borrow_mut().set( [INFO] [stdout] 795 | | order.get(0).unwrap().get_string().unwrap(), [INFO] [stdout] 796 | | eval_value.clone(), [INFO] [stdout] 797 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 794 | let _ = enclosing.borrow_mut().set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | / enclosing.borrow_mut().set( [INFO] [stdout] 846 | | order.get(0).unwrap().get_string().unwrap().to_string(), [INFO] [stdout] 847 | | value.clone(), [INFO] [stdout] 848 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 845 | let _ = enclosing.borrow_mut().set( [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/native_functions.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 109 | Arc::new(|values| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Value::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/native_functions.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | Arc::new(|_values| Ok(Value::number(69420.0))), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/native_functions.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | / enclosing [INFO] [stdout] 226 | | .borrow_mut() [INFO] [stdout] 227 | | .set(var_name.clone(), Value::array(newarr.clone())); [INFO] [stdout] | |________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 225 | let _ = enclosing [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/parser.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 227 | let operation = statement(current_index, tokens)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | Ok(Statement::Overload{ [INFO] [stdout] | ________^ [INFO] [stdout] 231 | | operator, [INFO] [stdout] 232 | | operands, [INFO] [stdout] 233 | | operation, [INFO] [stdout] 234 | | line [INFO] [stdout] 235 | | }) [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/parser.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 349 | let block = statement(current_index, tokens); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | [INFO] [stdout] 351 | Ok(Statement::Function { [INFO] [stdout] | ________^ [INFO] [stdout] 352 | | arguments: args, [INFO] [stdout] 353 | | name: function_name, [INFO] [stdout] 354 | | body: Box::new(block?), [INFO] [stdout] 355 | | line [INFO] [stdout] 356 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/eval.rs:662:35 [INFO] [stdout] | [INFO] [stdout] 662 | ValueType::Number(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/eval.rs:667:34 [INFO] [stdout] | [INFO] [stdout] 667 | ValueType::Array(arr) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thorlang` (bin "thorlang") due to 13 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `init_value` [INFO] [stdout] --> src/native_functions.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let init_value = Some(Box::new(init)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/native_functions.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut fields = HashMap::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut token = &consume_token(current_index, tokens).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | token = consume_token(current_index, tokens).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/eval.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(enclosing: Option>>) -> Rc> { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Rc::new(RefCell::new(Environment { [INFO] [stdout] | _________________^ [INFO] [stdout] 39 | | values: RefCell::new(HashMap::new()), [INFO] [stdout] 40 | | enclosing, [INFO] [stdout] 41 | | })) [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/eval.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn eval_statement(stmts: Vec, enclosing: Rc>, overloadings : &mut Overloadings) -> 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/eval.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn array(value: Vec) -> Value { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | Value { [INFO] [stdout] 297 | value: ValueType::Array(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/eval.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn array(value: Vec) -> Value { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | ..Value::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/eval.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 339 | body: Arc) -> Result>, [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | self_value: Option>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | value: ValueType::Function(Function::NativeFunction { [INFO] [stdout] | ____________________^ [INFO] [stdout] 344 | | self_value, [INFO] [stdout] 345 | | needed_arguments: arguments.iter().map(|x| x.to_string()).collect(), [INFO] [stdout] 346 | | body, [INFO] [stdout] 347 | | }), [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/eval.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 339 | body: Arc) -> Result>, [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | self_value: Option>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | ..Value::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/eval.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 354 | body: Vec, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | closure: Rc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 358 | value: ValueType::Function(Function::ThorFunction { [INFO] [stdout] | ____________________^ [INFO] [stdout] 359 | | needed_arguments: arguments, [INFO] [stdout] 360 | | body, [INFO] [stdout] 361 | | closure, [INFO] [stdout] 362 | | }), [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/eval.rs:363:15 [INFO] [stdout] | [INFO] [stdout] 354 | body: Vec, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | closure: Rc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | ..Value::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] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval.rs:794:17 [INFO] [stdout] | [INFO] [stdout] 794 | / enclosing.borrow_mut().set( [INFO] [stdout] 795 | | order.get(0).unwrap().get_string().unwrap(), [INFO] [stdout] 796 | | eval_value.clone(), [INFO] [stdout] 797 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 794 | let _ = enclosing.borrow_mut().set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | / enclosing.borrow_mut().set( [INFO] [stdout] 846 | | order.get(0).unwrap().get_string().unwrap().to_string(), [INFO] [stdout] 847 | | value.clone(), [INFO] [stdout] 848 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 845 | let _ = enclosing.borrow_mut().set( [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/native_functions.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 109 | Arc::new(|values| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Value::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/native_functions.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | Arc::new(|_values| Ok(Value::number(69420.0))), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/native_functions.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | / enclosing [INFO] [stdout] 226 | | .borrow_mut() [INFO] [stdout] 227 | | .set(var_name.clone(), Value::array(newarr.clone())); [INFO] [stdout] | |________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 225 | let _ = enclosing [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/parser.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 227 | let operation = statement(current_index, tokens)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | Ok(Statement::Overload{ [INFO] [stdout] | ________^ [INFO] [stdout] 231 | | operator, [INFO] [stdout] 232 | | operands, [INFO] [stdout] 233 | | operation, [INFO] [stdout] 234 | | line [INFO] [stdout] 235 | | }) [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/parser.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 349 | let block = statement(current_index, tokens); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | [INFO] [stdout] 351 | Ok(Statement::Function { [INFO] [stdout] | ________^ [INFO] [stdout] 352 | | arguments: args, [INFO] [stdout] 353 | | name: function_name, [INFO] [stdout] 354 | | body: Box::new(block?), [INFO] [stdout] 355 | | line [INFO] [stdout] 356 | | }) [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 12 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thorlang` (bin "thorlang" test) due to 13 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7078caaa72dfd463f239b66a99e36770302b5d251ea9992a54c425adcda6d39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7078caaa72dfd463f239b66a99e36770302b5d251ea9992a54c425adcda6d39a", kill_on_drop: false }` [INFO] [stdout] 7078caaa72dfd463f239b66a99e36770302b5d251ea9992a54c425adcda6d39a