[INFO] cloning repository https://github.com/leximainw/lox_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leximainw/lox_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleximainw%2Flox_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleximainw%2Flox_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db9ffe990a3be0267a075dd5e6b4772fb7f36294 [INFO] checking leximainw/lox_rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleximainw%2Flox_rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leximainw/lox_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/leximainw/lox_rs [INFO] finished tweaking git repo https://github.com/leximainw/lox_rs [INFO] tweaked toml for git repo https://github.com/leximainw/lox_rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/leximainw/lox_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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d8874120ae3145cb8e985b047c3deb491fe77783d7b471df620a157f16921fdf [INFO] running `Command { std: "docker" "start" "-a" "d8874120ae3145cb8e985b047c3deb491fe77783d7b471df620a157f16921fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8874120ae3145cb8e985b047c3deb491fe77783d7b471df620a157f16921fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8874120ae3145cb8e985b047c3deb491fe77783d7b471df620a157f16921fdf", kill_on_drop: false }` [INFO] [stdout] d8874120ae3145cb8e985b047c3deb491fe77783d7b471df620a157f16921fdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c2c2b267e10e317b5f9723d6c208b9fe15acd2a880a1d60d6d0971cfd5db9f60 [INFO] running `Command { std: "docker" "start" "-a" "c2c2b267e10e317b5f9723d6c208b9fe15acd2a880a1d60d6d0971cfd5db9f60", kill_on_drop: false }` [INFO] [stderr] Checking lox_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::expr::Expr` [INFO] [stdout] --> src/lox_rs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::lexer::Lexer` [INFO] [stdout] --> src/lox_rs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::expr::Expr` [INFO] [stdout] --> src/lox_rs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::lexer::Lexer` [INFO] [stdout] --> src/lox_rs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lox_rs/closure.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn call(&mut self, args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lox_rs/closure.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn call(&mut self, args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/lox_rs/parser.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 822 | if let Some(token) = self.lexer.next_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/lox_rs/parser.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | ... if let Some(comma) = self.lexer.peek_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lox_rs.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | LoxValue::Fn(value) => formatter.write_str(""), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/lox_rs/parser.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 822 | if let Some(token) = self.lexer.next_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/lox_rs/parser.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | ... if let Some(comma) = self.lexer.peek_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fn` is never constructed [INFO] [stdout] --> src/lox_rs.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum LoxValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Fn(LoxClosure), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox_rs/backtrace.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Backtrace { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(error: String) -> Backtrace { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Critical`, `Warning`, and `Info` are never constructed [INFO] [stdout] --> src/lox_rs/errors.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 69 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | Error, [INFO] [stdout] 71 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lox_rs.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | LoxValue::Fn(value) => formatter.write_str(""), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fn` is never constructed [INFO] [stdout] --> src/lox_rs.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum LoxValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Fn(LoxClosure), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox_rs/backtrace.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Backtrace { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(error: String) -> Backtrace { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Critical`, `Warning`, and `Info` are never constructed [INFO] [stdout] --> src/lox_rs/errors.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 69 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | Error, [INFO] [stdout] 71 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "c2c2b267e10e317b5f9723d6c208b9fe15acd2a880a1d60d6d0971cfd5db9f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c2b267e10e317b5f9723d6c208b9fe15acd2a880a1d60d6d0971cfd5db9f60", kill_on_drop: false }` [INFO] [stdout] c2c2b267e10e317b5f9723d6c208b9fe15acd2a880a1d60d6d0971cfd5db9f60 [INFO] checking leximainw/lox_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%2Fleximainw%2Flox_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leximainw/lox_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/leximainw/lox_rs [INFO] finished tweaking git repo https://github.com/leximainw/lox_rs [INFO] tweaked toml for git repo https://github.com/leximainw/lox_rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leximainw/lox_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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9f5609ee98da68c086d8e422e2626f73c93ac9b62ddba891daa2ef5e1b03aeb [INFO] running `Command { std: "docker" "start" "-a" "f9f5609ee98da68c086d8e422e2626f73c93ac9b62ddba891daa2ef5e1b03aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f5609ee98da68c086d8e422e2626f73c93ac9b62ddba891daa2ef5e1b03aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f5609ee98da68c086d8e422e2626f73c93ac9b62ddba891daa2ef5e1b03aeb", kill_on_drop: false }` [INFO] [stdout] f9f5609ee98da68c086d8e422e2626f73c93ac9b62ddba891daa2ef5e1b03aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf23974d85318a0c7c2aea0995da24881e5c5d9569118db6a7d0c12d72deb85 [INFO] running `Command { std: "docker" "start" "-a" "0cf23974d85318a0c7c2aea0995da24881e5c5d9569118db6a7d0c12d72deb85", kill_on_drop: false }` [INFO] [stderr] Checking lox_rs v0.1.0 (/opt/rustwide/workdir) [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/bin/eof_newline.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | .for_each(|arg| match fs::read_dir(&arg) { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox_rs` (bin "eof_newline") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/bin/eof_newline.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | .for_each(|arg| match fs::read_dir(&arg) { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::expr::Expr` [INFO] [stdout] --> src/lox_rs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::lexer::Lexer` [INFO] [stdout] --> src/lox_rs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox_rs` (bin "eof_newline" test) due to 2 previous errors [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/bin/generate_ast.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | env::args().skip(1).for_each(|arg| match fs::read(&arg) { [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] warning: unused import: `self::expr::Expr` [INFO] [stdout] --> src/lox_rs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::lexer::Lexer` [INFO] [stdout] --> src/lox_rs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox_rs` (bin "generate_ast") due to 2 previous errors [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/bin/generate_ast.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | env::args().skip(1).for_each(|arg| match fs::read(&arg) { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox_rs` (bin "generate_ast" test) due to 2 previous errors [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lox_rs/closure.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn call(&mut self, args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lox_rs/closure.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn call(&mut self, args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/lox_rs/parser.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 822 | if let Some(token) = self.lexer.next_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/lox_rs/parser.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | ... if let Some(comma) = self.lexer.peek_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/lox_rs/parser.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 822 | if let Some(token) = self.lexer.next_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/lox_rs/parser.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | ... if let Some(comma) = self.lexer.peek_if(|token| match token.kind { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lox_rs.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | LoxValue::Fn(value) => formatter.write_str(""), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lox_rs.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | LoxValue::Fn(value) => formatter.write_str(""), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fn` is never constructed [INFO] [stdout] --> src/lox_rs.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum LoxValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Fn(LoxClosure), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox_rs/backtrace.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Backtrace { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(error: String) -> Backtrace { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Critical`, `Warning`, and `Info` are never constructed [INFO] [stdout] --> src/lox_rs/errors.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 69 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | Error, [INFO] [stdout] 71 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has a derived impl for the trait `Debug`, 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/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_file(mut vm: VM, file_name: &String) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | match fs::read(file_name) { [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/lox_rs/npeekable.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 8 | fn npeekable(self) -> NPeekable { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | view: VecDeque::new(), [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: variant `Fn` is never constructed [INFO] [stdout] --> src/lox_rs.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum LoxValue { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Fn(LoxClosure), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox_rs/backtrace.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Backtrace { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(error: String) -> Backtrace { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Critical`, `Warning`, and `Info` are never constructed [INFO] [stdout] --> src/lox_rs/errors.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 69 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | Error, [INFO] [stdout] 71 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has a derived impl for the trait `Debug`, 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/lox_rs/parser.rs:230:64 [INFO] [stdout] | [INFO] [stdout] 230 | ... Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | Box::new(|parser| pattern_expr(parser.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/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_file(mut vm: VM, file_name: &String) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | match fs::read(file_name) { [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/lox_rs/parser.rs:380:48 [INFO] [stdout] | [INFO] [stdout] 380 | Box::new(|parser| pattern_stmt(parser.block_statement())), [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/lox_rs/parser.rs:425:48 [INFO] [stdout] | [INFO] [stdout] 425 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:429:48 [INFO] [stdout] | [INFO] [stdout] 429 | Box::new(|parser| pattern_stmt(parser.block_statement())), [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/lox_rs/parser.rs:490:48 [INFO] [stdout] | [INFO] [stdout] 490 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:522:48 [INFO] [stdout] | [INFO] [stdout] 522 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:526:48 [INFO] [stdout] | [INFO] [stdout] 526 | Box::new(|parser| pattern_stmt(parser.block_statement())), [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/lox_rs/npeekable.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 8 | fn npeekable(self) -> NPeekable { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | view: VecDeque::new(), [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/lox_rs/vm.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new_inner(outer: Scope) -> Scope { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | outer: Some(Box::new(outer)), [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/lox_rs/parser.rs:230:64 [INFO] [stdout] | [INFO] [stdout] 230 | ... Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:380:48 [INFO] [stdout] | [INFO] [stdout] 380 | Box::new(|parser| pattern_stmt(parser.block_statement())), [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/lox_rs/parser.rs:425:48 [INFO] [stdout] | [INFO] [stdout] 425 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:429:48 [INFO] [stdout] | [INFO] [stdout] 429 | Box::new(|parser| pattern_stmt(parser.block_statement())), [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/lox_rs/parser.rs:490:48 [INFO] [stdout] | [INFO] [stdout] 490 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:522:48 [INFO] [stdout] | [INFO] [stdout] 522 | Box::new(|parser| pattern_expr(parser.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/lox_rs/parser.rs:526:48 [INFO] [stdout] | [INFO] [stdout] 526 | Box::new(|parser| pattern_stmt(parser.block_statement())), [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/lox_rs/vm.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new_inner(outer: Scope) -> Scope { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | outer: Some(Box::new(outer)), [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 11 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox_rs` (bin "lox_rs") due to 12 previous errors; 9 warnings emitted [INFO] [stderr] error: could not compile `lox_rs` (bin "lox_rs" test) due to 12 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0cf23974d85318a0c7c2aea0995da24881e5c5d9569118db6a7d0c12d72deb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf23974d85318a0c7c2aea0995da24881e5c5d9569118db6a7d0c12d72deb85", kill_on_drop: false }` [INFO] [stdout] 0cf23974d85318a0c7c2aea0995da24881e5c5d9569118db6a7d0c12d72deb85