[INFO] cloning repository https://github.com/rgodha24/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rgodha24/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgodha24%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgodha24%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 677f00749113508e9ac89fab380f7c2f68b1f9fd [INFO] checking rgodha24/rlox against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgodha24%2Frlox" "/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/rgodha24/rlox 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/rgodha24/rlox [INFO] finished tweaking git repo https://github.com/rgodha24/rlox [INFO] tweaked toml for git repo https://github.com/rgodha24/rlox written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rgodha24/rlox 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] 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] d10be8ce4417682fa1dfe6c43eb79ecf248929f5cc2bbd888b23111e845ceed4 [INFO] running `Command { std: "docker" "start" "-a" "d10be8ce4417682fa1dfe6c43eb79ecf248929f5cc2bbd888b23111e845ceed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d10be8ce4417682fa1dfe6c43eb79ecf248929f5cc2bbd888b23111e845ceed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10be8ce4417682fa1dfe6c43eb79ecf248929f5cc2bbd888b23111e845ceed4", kill_on_drop: false }` [INFO] [stdout] d10be8ce4417682fa1dfe6c43eb79ecf248929f5cc2bbd888b23111e845ceed4 [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] 468e00f104eda1fbd8d1d105c4717c071c43435c05dab4fcad8630cc0d35a862 [INFO] running `Command { std: "docker" "start" "-a" "468e00f104eda1fbd8d1d105c4717c071c43435c05dab4fcad8630cc0d35a862", kill_on_drop: false }` [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/eval.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/eval.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/expr.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | tokens::{Token, TokenType}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/expr.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | tokens::{Token, TokenType}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/eval.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let value = expr.evaluate(self)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/eval.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let value = expr.evaluate(self)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub enum ParserErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 487 | UnclosedParenthesis, [INFO] [stdout] 488 | UnexpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub enum ParserErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 487 | UnclosedParenthesis, [INFO] [stdout] 488 | UnexpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "468e00f104eda1fbd8d1d105c4717c071c43435c05dab4fcad8630cc0d35a862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468e00f104eda1fbd8d1d105c4717c071c43435c05dab4fcad8630cc0d35a862", kill_on_drop: false }` [INFO] [stdout] 468e00f104eda1fbd8d1d105c4717c071c43435c05dab4fcad8630cc0d35a862 [INFO] checking rgodha24/rlox 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%2Frgodha24%2Frlox" "/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/rgodha24/rlox 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/rgodha24/rlox [INFO] finished tweaking git repo https://github.com/rgodha24/rlox [INFO] tweaked toml for git repo https://github.com/rgodha24/rlox written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rgodha24/rlox 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] cc2309259f978141169c541d15605bd70204d850e1839bfdfe00680e0fa60bdf [INFO] running `Command { std: "docker" "start" "-a" "cc2309259f978141169c541d15605bd70204d850e1839bfdfe00680e0fa60bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2309259f978141169c541d15605bd70204d850e1839bfdfe00680e0fa60bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2309259f978141169c541d15605bd70204d850e1839bfdfe00680e0fa60bdf", kill_on_drop: false }` [INFO] [stdout] cc2309259f978141169c541d15605bd70204d850e1839bfdfe00680e0fa60bdf [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] c18bb275e6ba3ba1ccee5660f7d512816c5cd6db8cfc26f9902122a9242430d3 [INFO] running `Command { std: "docker" "start" "-a" "c18bb275e6ba3ba1ccee5660f7d512816c5cd6db8cfc26f9902122a9242430d3", kill_on_drop: false }` [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/eval.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/eval.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/expr.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | tokens::{Token, TokenType}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/expr.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | tokens::{Token, TokenType}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/eval.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let value = expr.evaluate(self)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/eval.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let value = expr.evaluate(self)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | ... = convert!(BinaryOperator; TokenType; self; Slash,Star,BangEqual,Equal,EqualEqual,Greater,GreaterEqual,Less,LessEqual,Minus,Plus,;); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let token = convert!(UnaryOperator; TokenType; self; Minus,Bang,;); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let token = convert!(Literal; TokenType; self; Nil,True,False,;Identifier,Number,String,); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/macros.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 5 | $($from::$variant => Ok($to::$variant),)* [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 6 | $($from::$variable_variant(s) => Ok($to::$variable_variant(s.clone())),)* [INFO] [stdout] 7 | _ => Err(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let token = convert!(LogicalOperator; TokenType; self; And,Or,;); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub enum ParserErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 487 | UnclosedParenthesis, [INFO] [stdout] 488 | UnexpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/expr.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn binary(left: Expr, operator: BinaryOperator, right: Expr) -> Self { [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] 41 | Self::Binary { [INFO] [stdout] 42 | left: Box::new(left), [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/expr.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn binary(left: Expr, operator: BinaryOperator, right: Expr) -> Self { [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] ... [INFO] [stdout] 44 | right: Box::new(right), [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/expr.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn unary(operator: UnaryOperator, right: Expr) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | right: Box::new(right), [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/expr.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn grouping(expression: Expr) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Self::Grouping { [INFO] [stdout] 58 | expression: Box::new(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/expr.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn logical(left: Expr, operator: LogicalOperator, right: Expr) -> Self { [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] 65 | Self::Logical { [INFO] [stdout] 66 | left: Box::new(left), [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/expr.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn logical(left: Expr, operator: LogicalOperator, right: Expr) -> Self { [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] ... [INFO] [stdout] 68 | right: Box::new(right), [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/environment.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|p| p.borrow().get(name).ok()) [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/environment.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|p| p.borrow_mut().assign(name, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/environment.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new_enclosed(parent: Rc>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Self { [INFO] [stdout] 43 | values: HashMap::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/environment.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new_enclosed(parent: Rc>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | parent: Some(parent.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 85 | let initializer = if self.next_is(vec![T::Equal]) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Stmt::Var { name, initializer }) [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/parser.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 160 | let condition = self.expresssion()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | self.consume(T::RightParen, PET::UnclosedParenthesis)?; [INFO] [stdout] 162 | let body = self.statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | [INFO] [stdout] 164 | Ok(Stmt::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | condition, [INFO] [stdout] 166 | | body: Box::new(body), [INFO] [stdout] 167 | | }) [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] | [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 `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub enum ParserErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 487 | UnclosedParenthesis, [INFO] [stdout] 488 | UnexpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/parser.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 173 | let condition = self.expresssion()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let then_branch = Box::new(self.statement()?); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let else_branch = if self.next_is(vec![T::Else]) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(Stmt::If { [INFO] [stdout] | ____________^ [INFO] [stdout] 184 | | condition, [INFO] [stdout] 185 | | then_branch, [INFO] [stdout] 186 | | else_branch, [INFO] [stdout] 187 | | }) [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] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 191 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Stmt::Block( [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | statements.into_iter().filter_map(|s| s).collect(), [INFO] [stdout] 202 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 207 | let value = self.expresssion()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | self.consume(T::Semicolon, PET::MissingSemicolon)?; [INFO] [stdout] 209 | Ok(Stmt::Print(value)) [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/parser.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 213 | let value = self.expresssion()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | self.consume(T::Semicolon, PET::MissingSemicolon)?; [INFO] [stdout] 215 | Ok(Stmt::Expr(value)) [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/expr.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn binary(left: Expr, operator: BinaryOperator, right: Expr) -> Self { [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] 41 | Self::Binary { [INFO] [stdout] 42 | left: Box::new(left), [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/expr.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn binary(left: Expr, operator: BinaryOperator, right: Expr) -> Self { [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] ... [INFO] [stdout] 44 | right: Box::new(right), [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/expr.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn unary(operator: UnaryOperator, right: Expr) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | right: Box::new(right), [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/expr.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn grouping(expression: Expr) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Self::Grouping { [INFO] [stdout] 58 | expression: Box::new(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/expr.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn logical(left: Expr, operator: LogicalOperator, right: Expr) -> Self { [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] 65 | Self::Logical { [INFO] [stdout] 66 | left: Box::new(left), [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/expr.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn logical(left: Expr, operator: LogicalOperator, right: Expr) -> Self { [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] ... [INFO] [stdout] 68 | right: Box::new(right), [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/environment.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|p| p.borrow().get(name).ok()) [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/environment.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|p| p.borrow_mut().assign(name, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/environment.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new_enclosed(parent: Rc>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Self { [INFO] [stdout] 43 | values: HashMap::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/environment.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new_enclosed(parent: Rc>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | parent: Some(parent.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 85 | let initializer = if self.next_is(vec![T::Equal]) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Stmt::Var { name, initializer }) [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/parser.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 160 | let condition = self.expresssion()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | self.consume(T::RightParen, PET::UnclosedParenthesis)?; [INFO] [stdout] 162 | let body = self.statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | [INFO] [stdout] 164 | Ok(Stmt::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | condition, [INFO] [stdout] 166 | | body: Box::new(body), [INFO] [stdout] 167 | | }) [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] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 173 | let condition = self.expresssion()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let then_branch = Box::new(self.statement()?); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let else_branch = if self.next_is(vec![T::Else]) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(Stmt::If { [INFO] [stdout] | ____________^ [INFO] [stdout] 184 | | condition, [INFO] [stdout] 185 | | then_branch, [INFO] [stdout] 186 | | else_branch, [INFO] [stdout] 187 | | }) [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] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 191 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Stmt::Block( [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | statements.into_iter().filter_map(|s| s).collect(), [INFO] [stdout] 202 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 207 | let value = self.expresssion()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | self.consume(T::Semicolon, PET::MissingSemicolon)?; [INFO] [stdout] 209 | Ok(Stmt::Print(value)) [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/parser.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 213 | let value = self.expresssion()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | self.consume(T::Semicolon, PET::MissingSemicolon)?; [INFO] [stdout] 215 | Ok(Stmt::Expr(value)) [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 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox` (bin "lox") due to 17 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lox` (bin "lox" test) due to 17 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c18bb275e6ba3ba1ccee5660f7d512816c5cd6db8cfc26f9902122a9242430d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18bb275e6ba3ba1ccee5660f7d512816c5cd6db8cfc26f9902122a9242430d3", kill_on_drop: false }` [INFO] [stdout] c18bb275e6ba3ba1ccee5660f7d512816c5cd6db8cfc26f9902122a9242430d3