[INFO] cloning repository https://github.com/adrianncovaci/rakiu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrianncovaci/rakiu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianncovaci%2Frakiu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianncovaci%2Frakiu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bee1be6e321074ee9162975968ca4e7854c5992 [INFO] checking adrianncovaci/rakiu/1bee1be6e321074ee9162975968ca4e7854c5992 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%2Fadrianncovaci%2Frakiu" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrianncovaci/rakiu 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/adrianncovaci/rakiu [INFO] finished tweaking git repo https://github.com/adrianncovaci/rakiu [INFO] tweaked toml for git repo https://github.com/adrianncovaci/rakiu written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adrianncovaci/rakiu 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4001658449c07f7dd303cc6fd11eb751296cc82ccebda3bce77027da0c09f910 [INFO] running `Command { std: "docker" "start" "-a" "4001658449c07f7dd303cc6fd11eb751296cc82ccebda3bce77027da0c09f910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4001658449c07f7dd303cc6fd11eb751296cc82ccebda3bce77027da0c09f910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4001658449c07f7dd303cc6fd11eb751296cc82ccebda3bce77027da0c09f910", kill_on_drop: false }` [INFO] [stdout] 4001658449c07f7dd303cc6fd11eb751296cc82ccebda3bce77027da0c09f910 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6f146d9bf8d4546cd008eb27964225fcb31f47e7fad0eab2c7c429e298060d92 [INFO] running `Command { std: "docker" "start" "-a" "6f146d9bf8d4546cd008eb27964225fcb31f47e7fad0eab2c7c429e298060d92", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling llvm-sys v100.0.1 [INFO] [stderr] Checking rakiu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Prefix` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser_mod::ParseItem::{Expression, Infix, Prefix, Statement}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer::Lexer` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser_mod::Parser::Parser` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parser_mod::Parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | ... if (*num < min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - if (*num < min) { [INFO] [stdout] 344 + if *num < min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | for col in (0..els[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 431 - for col in (0..els[0].len()) { [INFO] [stdout] 431 + for col in 0..els[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | if (arr[index].len() != arr[index + 1].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - if (arr[index].len() != arr[index + 1].len()) { [INFO] [stdout] 542 + if arr[index].len() != arr[index + 1].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::token::Token` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer_mod::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer` [INFO] [stdout] --> src/parser_mod/Parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::evaluation_mod::codegen::generate_code` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::evaluation_mod::codegen::generate_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Prefix` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser_mod::ParseItem::{Expression, Infix, Prefix, Statement}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer::Lexer` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser_mod::Parser::Parser` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parser_mod::Parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | ... if (*num < min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - if (*num < min) { [INFO] [stdout] 344 + if *num < min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | for col in (0..els[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 431 - for col in (0..els[0].len()) { [INFO] [stdout] 431 + for col in 0..els[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | if (arr[index].len() != arr[index + 1].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - if (arr[index].len() != arr[index + 1].len()) { [INFO] [stdout] 542 + if arr[index].len() != arr[index + 1].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::token::Token` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer_mod::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer` [INFO] [stdout] --> src/parser_mod/Parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::evaluation_mod::codegen::generate_code` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::evaluation_mod::codegen::generate_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut names = 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: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut built_ins: HashMap<&'static str, *mut llvm::LLVMValue>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut built_ins: &HashMap<&'static str, *mut llvm::LLVMValue>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let value = env [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | Object::Integer(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut names = 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: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut built_ins: HashMap<&'static str, *mut llvm::LLVMValue>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | for i in 0..first_arr.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | for j in 0..second_arr[0].len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut built_ins: &HashMap<&'static str, *mut llvm::LLVMValue>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let value = env [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | Object::Integer(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | for i in 0..first_arr.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | for j in 0..second_arr[0].len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let mut lexer = Lexer::new(input); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | let mut output = parser.parse(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Object` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_code` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn generate_code(input: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn codegen( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_allocations` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn insert_allocations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_function` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn call_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointer_type` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn pointer_type() -> *mut llvm::LLVMType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_printf` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn create_printf(module: *mut llvm::LLVMModule) -> *mut llvm::LLVMValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen_expr` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn codegen_expr( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_by_ref` is never used [INFO] [stdout] --> src/evaluation_mod/env.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_by_ref(&mut self, key: &str) -> Option<&Object> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Extern` is never constructed [INFO] [stdout] --> src/lexer_mod/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Extern, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/parser_mod/ParseItem.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser_mod/ParseItem.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_integer_literal` is never used [INFO] [stdout] --> src/parser_mod/Parser.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | fn parse_integer_literal(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | CString::new(name).unwrap().as_ptr(), [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | CString::new("printf").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ParseItem` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ParseItem; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Parser` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Parser; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/parser_mod/ParseItem.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | if *index2 != Box::new(None) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_mod/Parser.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 269 | left: ParseItem::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | match self.parse_expression(order) { [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/parser_mod/Parser.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 304 | left: ParseItem::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let index = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 314 | let index2; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | Some(ParseItem::Expression::Index( [INFO] [stdout] | ______________^ [INFO] [stdout] 336 | | Box::new(left), [INFO] [stdout] 337 | | Box::new(index), [INFO] [stdout] 338 | | Box::new(index2), [INFO] [stdout] 339 | | )) [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_mod/Parser.rs:418:14 [INFO] [stdout] | [INFO] [stdout] 403 | let mut arr: Vec> = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | Some(ParseItem::Expression::Array(arr)) [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_mod/Parser.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 470 | let body = self.parse_block_statements(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | Some(ParseItem::Expression::Function(ident, params, body)) [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_mod/Parser.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 530 | let eval = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | Some(ParseItem::Statement::Let(ident, eval)) [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_mod/Parser.rs:551:14 [INFO] [stdout] | [INFO] [stdout] 542 | let expression = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | Some(ParseItem::Statement::Return(expression)) [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_mod/Parser.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 561 | let predicate = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 562 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 572 | let body = self.parse_block_statements(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 573 | let mut else_body = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | Some(ParseItem::Expression::If( [INFO] [stdout] | ______________^ [INFO] [stdout] 586 | | Box::new(predicate), [INFO] [stdout] 587 | | body, [INFO] [stdout] 588 | | else_body, [INFO] [stdout] 589 | | )) [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_mod/Parser.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 594 | expr: ParseItem::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 595 | ) -> Option { [INFO] [stdout] 596 | let args = match self.parse_expression_list(Token::RightParanthesis) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | Some(args) => args, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 601 | Some(ParseItem::Expression::Call { [INFO] [stdout] | ______________^ [INFO] [stdout] 602 | | func: Box::new(expr), [INFO] [stdout] 603 | | args, [INFO] [stdout] 604 | | }) [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 8 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rakiu` (bin "rakiu") due to 9 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `Object` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_code` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn generate_code(input: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn codegen( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_allocations` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn insert_allocations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_function` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn call_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointer_type` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn pointer_type() -> *mut llvm::LLVMType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_printf` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn create_printf(module: *mut llvm::LLVMModule) -> *mut llvm::LLVMValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen_expr` is never used [INFO] [stdout] --> src/evaluation_mod/codegen.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn codegen_expr( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_by_ref` is never used [INFO] [stdout] --> src/evaluation_mod/env.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_by_ref(&mut self, key: &str) -> Option<&Object> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Extern` is never constructed [INFO] [stdout] --> src/lexer_mod/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Extern, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/parser_mod/ParseItem.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser_mod/ParseItem.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_integer_literal` is never used [INFO] [stdout] --> src/parser_mod/Parser.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | fn parse_integer_literal(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | CString::new(name).unwrap().as_ptr(), [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | CString::new("printf").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ParseItem` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ParseItem; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Parser` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Parser; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/parser_mod/ParseItem.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | if *index2 != Box::new(None) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_mod/Parser.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 269 | left: ParseItem::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | match self.parse_expression(order) { [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/parser_mod/Parser.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 304 | left: ParseItem::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let index = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 314 | let index2; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | Some(ParseItem::Expression::Index( [INFO] [stdout] | ______________^ [INFO] [stdout] 336 | | Box::new(left), [INFO] [stdout] 337 | | Box::new(index), [INFO] [stdout] 338 | | Box::new(index2), [INFO] [stdout] 339 | | )) [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_mod/Parser.rs:418:14 [INFO] [stdout] | [INFO] [stdout] 403 | let mut arr: Vec> = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | Some(ParseItem::Expression::Array(arr)) [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_mod/Parser.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 470 | let body = self.parse_block_statements(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | Some(ParseItem::Expression::Function(ident, params, body)) [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_mod/Parser.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 530 | let eval = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | Some(ParseItem::Statement::Let(ident, eval)) [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_mod/Parser.rs:551:14 [INFO] [stdout] | [INFO] [stdout] 542 | let expression = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | Some(ParseItem::Statement::Return(expression)) [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_mod/Parser.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 561 | let predicate = match self.parse_expression(Order::Lowest) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 562 | Some(expr) => expr, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 572 | let body = self.parse_block_statements(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 573 | let mut else_body = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | Some(ParseItem::Expression::If( [INFO] [stdout] | ______________^ [INFO] [stdout] 586 | | Box::new(predicate), [INFO] [stdout] 587 | | body, [INFO] [stdout] 588 | | else_body, [INFO] [stdout] 589 | | )) [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_mod/Parser.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 594 | expr: ParseItem::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 595 | ) -> Option { [INFO] [stdout] 596 | let args = match self.parse_expression_list(Token::RightParanthesis) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | Some(args) => args, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 601 | Some(ParseItem::Expression::Call { [INFO] [stdout] | ______________^ [INFO] [stdout] 602 | | func: Box::new(expr), [INFO] [stdout] 603 | | args, [INFO] [stdout] 604 | | }) [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 8 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rakiu` (bin "rakiu" test) due to 9 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f146d9bf8d4546cd008eb27964225fcb31f47e7fad0eab2c7c429e298060d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f146d9bf8d4546cd008eb27964225fcb31f47e7fad0eab2c7c429e298060d92", kill_on_drop: false }` [INFO] [stdout] 6f146d9bf8d4546cd008eb27964225fcb31f47e7fad0eab2c7c429e298060d92