[INFO] cloning repository https://github.com/Grinshpon/Maroon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grinshpon/Maroon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2FMaroon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2FMaroon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fd53382138354c9127b23585312e73bd0d7fc50 [INFO] checking Grinshpon/Maroon/9fd53382138354c9127b23585312e73bd0d7fc50 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%2FGrinshpon%2FMaroon" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grinshpon/Maroon 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/Grinshpon/Maroon [INFO] finished tweaking git repo https://github.com/Grinshpon/Maroon [INFO] tweaked toml for git repo https://github.com/Grinshpon/Maroon written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Grinshpon/Maroon 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 221d669e6519b83e5b49ef1ca73bf275dd6bcc8b5affbfe6e6aae46aeab1a5a2 [INFO] running `Command { std: "docker" "start" "-a" "221d669e6519b83e5b49ef1ca73bf275dd6bcc8b5affbfe6e6aae46aeab1a5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "221d669e6519b83e5b49ef1ca73bf275dd6bcc8b5affbfe6e6aae46aeab1a5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221d669e6519b83e5b49ef1ca73bf275dd6bcc8b5affbfe6e6aae46aeab1a5a2", kill_on_drop: false }` [INFO] [stdout] 221d669e6519b83e5b49ef1ca73bf275dd6bcc8b5affbfe6e6aae46aeab1a5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 660376feb06bf7214f34e7e9da9e9bc435df00e13cde50ff96e14f9844c76a1b [INFO] running `Command { std: "docker" "start" "-a" "660376feb06bf7214f34e7e9da9e9bc435df00e13cde50ff96e14f9844c76a1b", kill_on_drop: false }` [INFO] [stderr] Checking maroon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 190 | / loop { [INFO] [stdout] 191 | | match tokens.peek() { [INFO] [stdout] 192 | | Some(Token::CBRACKET(line)) => { [INFO] [stdout] 193 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 201 | | }; [INFO] [stdout] 202 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 203 | Err(ParseError::Unknown(2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 209 | / loop { [INFO] [stdout] 210 | | match tokens.peek() { [INFO] [stdout] 211 | | Some(Token::CPAREN(line)) => { [INFO] [stdout] 212 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 222 | Err(ParseError::Unknown(3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 190 | / loop { [INFO] [stdout] 191 | | match tokens.peek() { [INFO] [stdout] 192 | | Some(Token::CBRACKET(line)) => { [INFO] [stdout] 193 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 201 | | }; [INFO] [stdout] 202 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 203 | Err(ParseError::Unknown(2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 209 | / loop { [INFO] [stdout] 210 | | match tokens.peek() { [INFO] [stdout] 211 | | Some(Token::CPAREN(line)) => { [INFO] [stdout] 212 | | tokens.next(); [INFO] [stdout] ... | [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 222 | Err(ParseError::Unknown(3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | SExpr::Main(sexprs) => Err(UnimplementedFeature(0,1)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | SExpr::Int(line, i) => Ok(LuaExpr(Expr::Lit(Literal::Int(i)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | SExpr::Float(line, f) => Ok(LuaExpr(Expr::Lit(Literal::Float(f)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | SExpr::Bool(line, b) => Ok(LuaExpr(Expr::Lit(Literal::Bool(b)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | SExpr::Str(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | SExpr::Char(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:413:18 [INFO] [stdout] | [INFO] [stdout] 413 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | SExpr::List(line, sexprs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | SExpr::Func(line, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | SExpr::Int(line, i) => Ok(LuaLiteral(Literal::Int(i))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | SExpr::Float(line, f) => Ok(LuaLiteral(Literal::Float(f))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | SExpr::Bool(line, b) => Ok(LuaLiteral(Literal::Bool(b))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 473 | SExpr::Str(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | SExpr::Char(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/genlua.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:477:23 [INFO] [stdout] | [INFO] [stdout] 477 | SExpr::List(line, sexprs) => Err(UnimplementedFeature(line,6)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | SExpr::Stmt(line, sexprs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:482:29 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/genlua.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | SExpr::Builtin(line, std) => Err(UnimplementedFeature(line,9)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUILTINS` is never used [INFO] [stdout] --> src/parser.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const BUILTINS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/genlua.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 54 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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:160:6 [INFO] [stdout] | [INFO] [stdout] 150 | let mut sexprs: Vec> = vec![]; // top-level s-expressions [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | Ok(Module(sexprs)) [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.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 166 | let sexpr = {match tokens.next() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(first_analysis(sexpr)?) [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] error: aborting due to 2 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maroon` (bin "maroon" test) due to 3 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | SExpr::Main(sexprs) => Err(UnimplementedFeature(0,1)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(*line,4)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | SExpr::Int(line, i) => Ok(LuaExpr(Expr::Lit(Literal::Int(i)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | SExpr::Float(line, f) => Ok(LuaExpr(Expr::Lit(Literal::Float(f)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | SExpr::Bool(line, b) => Ok(LuaExpr(Expr::Lit(Literal::Bool(b)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | SExpr::Str(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | SExpr::Char(line, s) => Ok(LuaExpr(Expr::Lit(Literal::Str(s)))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:413:18 [INFO] [stdout] | [INFO] [stdout] 413 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | SExpr::List(line, sexprs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | SExpr::Ident(line1, id) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> src/genlua.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | SExpr::Symbol(line1, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | SExpr::Func(line, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | SExpr::Int(line, i) => Ok(LuaLiteral(Literal::Int(i))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | SExpr::Float(line, f) => Ok(LuaLiteral(Literal::Float(f))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | SExpr::Bool(line, b) => Ok(LuaLiteral(Literal::Bool(b))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 473 | SExpr::Str(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | SExpr::Char(line, s) => Ok(LuaLiteral(Literal::Str(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | SExpr::Ident(line, s) => Ok(LuaExpr(Expr::Ident(s))), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/genlua.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/genlua.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | SExpr::Symbol(line, s) => Err(Unknown(6)), //todo [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:477:23 [INFO] [stdout] | [INFO] [stdout] 477 | SExpr::List(line, sexprs) => Err(UnimplementedFeature(line,6)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexprs` [INFO] [stdout] --> src/genlua.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | SExpr::Stmt(line, sexprs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sexprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/genlua.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/genlua.rs:482:29 [INFO] [stdout] | [INFO] [stdout] 482 | SExpr::Func(line, args, body) => Err(UnimplementedFeature(line,8)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/genlua.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | SExpr::Builtin(line, std) => Err(UnimplementedFeature(line,9)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUILTINS` is never used [INFO] [stdout] --> src/parser.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const BUILTINS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/genlua.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 54 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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:160:6 [INFO] [stdout] | [INFO] [stdout] 150 | let mut sexprs: Vec> = vec![]; // top-level s-expressions [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | Ok(Module(sexprs)) [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.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 166 | let sexpr = {match tokens.next() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(first_analysis(sexpr)?) [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] error: aborting due to 2 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maroon` (bin "maroon") due to 3 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "660376feb06bf7214f34e7e9da9e9bc435df00e13cde50ff96e14f9844c76a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660376feb06bf7214f34e7e9da9e9bc435df00e13cde50ff96e14f9844c76a1b", kill_on_drop: false }` [INFO] [stdout] 660376feb06bf7214f34e7e9da9e9bc435df00e13cde50ff96e14f9844c76a1b