[INFO] cloning repository https://github.com/yjhmelody/lua-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yjhmelody/lua-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjhmelody%2Flua-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjhmelody%2Flua-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9375d005994ec8f99e5dc5184fe3d637aab2bfd9 [INFO] checking yjhmelody/lua-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjhmelody%2Flua-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yjhmelody/lua-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yjhmelody/lua-rs [INFO] finished tweaking git repo https://github.com/yjhmelody/lua-rs [INFO] tweaked toml for git repo https://github.com/yjhmelody/lua-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yjhmelody/lua-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f5f22dc1f4e8300966908f797743d909283f7c05f62903295275c612b1c523c [INFO] running `Command { std: "docker" "start" "-a" "4f5f22dc1f4e8300966908f797743d909283f7c05f62903295275c612b1c523c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f5f22dc1f4e8300966908f797743d909283f7c05f62903295275c612b1c523c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5f22dc1f4e8300966908f797743d909283f7c05f62903295275c612b1c523c", kill_on_drop: false }` [INFO] [stdout] 4f5f22dc1f4e8300966908f797743d909283f7c05f62903295275c612b1c523c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b867d291810bffeb7fd759c870bd9f3d78f33fa72f6f4f9c6ac6b151074d8983 [INFO] running `Command { std: "docker" "start" "-a" "b867d291810bffeb7fd759c870bd9f3d78f33fa72f6f4f9c6ac6b151074d8983", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking lua-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/compiler/codegen.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 881 - self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] 881 + self.emit_jmp(block.last_line, a, pc_before_block as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:909:43 [INFO] [stdout] | [INFO] [stdout] 909 | self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 909 - self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] 909 + self.emit_jmp(block.last_line, 0, pc_before_exp as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/codegen.rs:1498:9 [INFO] [stdout] | [INFO] [stdout] 1498 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::binary::encode` [INFO] [stdout] --> src/compiler/codegen.rs:1500:9 [INFO] [stdout] | [INFO] [stdout] 1500 | use crate::binary::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::lexer::*` [INFO] [stdout] --> src/compiler/codegen.rs:1501:9 [INFO] [stdout] | [INFO] [stdout] 1501 | use crate::compiler::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parser::*` [INFO] [stdout] --> src/compiler/codegen.rs:1502:9 [INFO] [stdout] | [INFO] [stdout] 1502 | use crate::compiler::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/compiler/codegen.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/compiler/codegen.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 881 - self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] 881 + self.emit_jmp(block.last_line, a, pc_before_block as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:909:43 [INFO] [stdout] | [INFO] [stdout] 909 | self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 909 - self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] 909 + self.emit_jmp(block.last_line, 0, pc_before_exp as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/parser.rs:993:13 [INFO] [stdout] | [INFO] [stdout] 993 | let block = parse_block(&mut lexer).expect("parse error"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_encode` is never used [INFO] [stdout] --> src/binary/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_encode() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/binary/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fs::write("./tests/test.out", s); [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] 48 | let _ = fs::write("./tests/test.out", s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/binary/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let proto = decode(s); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_encode` is never used [INFO] [stdout] --> src/binary/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_encode() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/compiler/codegen.rs:1583:9 [INFO] [stdout] | [INFO] [stdout] 1583 | fs::write("./tests/test.out", bytes); [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] 1583 | let _ = fs::write("./tests/test.out", bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/binary/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fs::write("./tests/test.out", s); [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] 48 | let _ = fs::write("./tests/test.out", s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "b867d291810bffeb7fd759c870bd9f3d78f33fa72f6f4f9c6ac6b151074d8983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b867d291810bffeb7fd759c870bd9f3d78f33fa72f6f4f9c6ac6b151074d8983", kill_on_drop: false }` [INFO] [stdout] b867d291810bffeb7fd759c870bd9f3d78f33fa72f6f4f9c6ac6b151074d8983 [INFO] checking yjhmelody/lua-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjhmelody%2Flua-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yjhmelody/lua-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yjhmelody/lua-rs [INFO] finished tweaking git repo https://github.com/yjhmelody/lua-rs [INFO] tweaked toml for git repo https://github.com/yjhmelody/lua-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yjhmelody/lua-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0637dabf5c90e9752d9c4510c84a92abb6ac44b1c80acea951502607e3466c9d [INFO] running `Command { std: "docker" "start" "-a" "0637dabf5c90e9752d9c4510c84a92abb6ac44b1c80acea951502607e3466c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0637dabf5c90e9752d9c4510c84a92abb6ac44b1c80acea951502607e3466c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0637dabf5c90e9752d9c4510c84a92abb6ac44b1c80acea951502607e3466c9d", kill_on_drop: false }` [INFO] [stdout] 0637dabf5c90e9752d9c4510c84a92abb6ac44b1c80acea951502607e3466c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa7dc59f9d89321efee0a7923a6ac0486a778cef7f1f93d28427b5e39f32e7e [INFO] running `Command { std: "docker" "start" "-a" "9fa7dc59f9d89321efee0a7923a6ac0486a778cef7f1f93d28427b5e39f32e7e", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking lua-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/compiler/codegen.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 881 - self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] 881 + self.emit_jmp(block.last_line, a, pc_before_block as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:909:43 [INFO] [stdout] | [INFO] [stdout] 909 | self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 909 - self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] 909 + self.emit_jmp(block.last_line, 0, pc_before_exp as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/codegen.rs:1498:9 [INFO] [stdout] | [INFO] [stdout] 1498 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::binary::encode` [INFO] [stdout] --> src/compiler/codegen.rs:1500:9 [INFO] [stdout] | [INFO] [stdout] 1500 | use crate::binary::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::lexer::*` [INFO] [stdout] --> src/compiler/codegen.rs:1501:9 [INFO] [stdout] | [INFO] [stdout] 1501 | use crate::compiler::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parser::*` [INFO] [stdout] --> src/compiler/codegen.rs:1502:9 [INFO] [stdout] | [INFO] [stdout] 1502 | use crate::compiler::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/compiler/codegen.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/compiler/codegen.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 881 - self.emit_jmp(block.last_line, a, (pc_before_block as isize - self.pc() as isize - 1)); [INFO] [stdout] 881 + self.emit_jmp(block.last_line, a, pc_before_block as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/compiler/codegen.rs:909:43 [INFO] [stdout] | [INFO] [stdout] 909 | self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 909 - self.emit_jmp(block.last_line, 0, (pc_before_exp as isize - self.pc() as isize - 1)); [INFO] [stdout] 909 + self.emit_jmp(block.last_line, 0, pc_before_exp as isize - self.pc() as isize - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/parser.rs:993:13 [INFO] [stdout] | [INFO] [stdout] 993 | let block = parse_block(&mut lexer).expect("parse error"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/binary/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let proto = decode(s); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_encode` is never used [INFO] [stdout] --> src/binary/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_encode() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/compiler/ast.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(name: String, init: Exp, limit: Exp, step: Exp, block: Box, line_of_for: Line, line_of_do: Line) -> Box { [INFO] [stdout] | --------- ---------- --------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 113 | | name, [INFO] [stdout] 114 | | init, [INFO] [stdout] 115 | | limit, [INFO] [stdout] ... | [INFO] [stdout] 119 | | line_of_do, [INFO] [stdout] 120 | | }) [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/compiler/ast.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(name_list: Vec, exp_list: Vec, block: Box) -> Box { [INFO] [stdout] | ------------------ ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 135 | | name_list, [INFO] [stdout] 136 | | exp_list, [INFO] [stdout] 137 | | block, [INFO] [stdout] 138 | | }) [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/compiler/parser.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 13 | let stats = parse_stats(lexer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let res = parse_ret_exps(lexer); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let ret_exps; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Block::new( [INFO] [stdout] | ________^ [INFO] [stdout] 34 | | stats, [INFO] [stdout] 35 | | ret_exps, [INFO] [stdout] 36 | | last_line, [INFO] [stdout] 37 | | )) [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/compiler/parser.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 180 | let mut exps = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let mut blocks = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Stat::Condition(exps, blocks)) [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/compiler/parser.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 225 | let init_exp = parse_exp(lexer)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | let limit_exp = match lexer.look_ahead() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let step_exp = match lexer.look_ahead() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let block = Box::new(parse_block(lexer)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | Ok(Stat::ForNum(ForNum::new(var_name, init_exp, limit_exp, step_exp, block, line_of_for, line_of_do))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/compiler/parser.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 304 | let exp_list = if let Ok(Token::OpAssign) = lexer.look_ahead() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Stat::LocalVarDecl( [INFO] [stdout] | ________^ [INFO] [stdout] 312 | | name_list, [INFO] [stdout] 313 | | exp_list, [INFO] [stdout] 314 | | last_line, [INFO] [stdout] 315 | | )) [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/compiler/parser.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 654 | let fields = _parse_field_list(lexer)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 661 | Ok(Exp::TableConstructor(fields, line)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/parser.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 680 | let block = Box::new(parse_block(lexer)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | Ok(Exp::FnDef(FnDef::new(ParList::new(par_list, is_vararg), block, line, last_line))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/parser.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 763 | fn _parse_fn_call_exp(lexer: &mut impl Lex, prefix_exp: Box) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 764 | // [`:` Name] [INFO] [stdout] 765 | let name_exp = _parse_fn_name_exp(lexer).ok(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 768 | let args = _parse_fn_call_args(lexer)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 769 | let last_line = lexer.current_line(); [INFO] [stdout] 770 | Ok(Exp::FnCall(FnCall::new(prefix_exp, name_exp, args, line, last_line))) [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: function `test_encode` is never used [INFO] [stdout] --> src/binary/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn test_encode() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/compiler/codegen.rs:1583:9 [INFO] [stdout] | [INFO] [stdout] 1583 | fs::write("./tests/test.out", bytes); [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] 1583 | let _ = fs::write("./tests/test.out", bytes); [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/compiler/ast.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(name: String, init: Exp, limit: Exp, step: Exp, block: Box, line_of_for: Line, line_of_do: Line) -> Box { [INFO] [stdout] | --------- ---------- --------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 113 | | name, [INFO] [stdout] 114 | | init, [INFO] [stdout] 115 | | limit, [INFO] [stdout] ... | [INFO] [stdout] 119 | | line_of_do, [INFO] [stdout] 120 | | }) [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/compiler/ast.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(name_list: Vec, exp_list: Vec, block: Box) -> Box { [INFO] [stdout] | ------------------ ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 135 | | name_list, [INFO] [stdout] 136 | | exp_list, [INFO] [stdout] 137 | | block, [INFO] [stdout] 138 | | }) [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 `std::result::Result` that must be used [INFO] [stdout] --> src/binary/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fs::write("./tests/test.out", s); [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] 48 | let _ = fs::write("./tests/test.out", s); [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/compiler/parser.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 13 | let stats = parse_stats(lexer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let res = parse_ret_exps(lexer); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let ret_exps; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Block::new( [INFO] [stdout] | ________^ [INFO] [stdout] 34 | | stats, [INFO] [stdout] 35 | | ret_exps, [INFO] [stdout] 36 | | last_line, [INFO] [stdout] 37 | | )) [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/compiler/parser.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 180 | let mut exps = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let mut blocks = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Stat::Condition(exps, blocks)) [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/compiler/parser.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 225 | let init_exp = parse_exp(lexer)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | let limit_exp = match lexer.look_ahead() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let step_exp = match lexer.look_ahead() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let block = Box::new(parse_block(lexer)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | Ok(Stat::ForNum(ForNum::new(var_name, init_exp, limit_exp, step_exp, block, line_of_for, line_of_do))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/compiler/parser.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 304 | let exp_list = if let Ok(Token::OpAssign) = lexer.look_ahead() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Stat::LocalVarDecl( [INFO] [stdout] | ________^ [INFO] [stdout] 312 | | name_list, [INFO] [stdout] 313 | | exp_list, [INFO] [stdout] 314 | | last_line, [INFO] [stdout] 315 | | )) [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/compiler/parser.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 654 | let fields = _parse_field_list(lexer)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 661 | Ok(Exp::TableConstructor(fields, line)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/parser.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 680 | let block = Box::new(parse_block(lexer)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | Ok(Exp::FnDef(FnDef::new(ParList::new(par_list, is_vararg), block, line, last_line))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/parser.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 763 | fn _parse_fn_call_exp(lexer: &mut impl Lex, prefix_exp: Box) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 764 | // [`:` Name] [INFO] [stdout] 765 | let name_exp = _parse_fn_name_exp(lexer).ok(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 768 | let args = _parse_fn_call_args(lexer)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 769 | let last_line = lexer.current_line(); [INFO] [stdout] 770 | Ok(Exp::FnCall(FnCall::new(prefix_exp, name_exp, args, line, last_line))) [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 `std::result::Result` that must be used [INFO] [stdout] --> src/binary/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fs::write("./tests/test.out", s); [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] 48 | let _ = fs::write("./tests/test.out", s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lua-rs` (lib test) due to 10 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lua-rs` (lib) due to 10 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9fa7dc59f9d89321efee0a7923a6ac0486a778cef7f1f93d28427b5e39f32e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa7dc59f9d89321efee0a7923a6ac0486a778cef7f1f93d28427b5e39f32e7e", kill_on_drop: false }` [INFO] [stdout] 9fa7dc59f9d89321efee0a7923a6ac0486a778cef7f1f93d28427b5e39f32e7e