[INFO] cloning repository https://github.com/bmehdi777/interpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bmehdi777/interpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmehdi777%2Finterpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmehdi777%2Finterpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5888440143681b7063b329345e44c7a3be2c4f1c [INFO] checking bmehdi777/interpreters/5888440143681b7063b329345e44c7a3be2c4f1c against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmehdi777%2Finterpreters" "/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/bmehdi777/interpreters on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bmehdi777/interpreters [INFO] finished tweaking git repo https://github.com/bmehdi777/interpreters [INFO] tweaked toml for git repo https://github.com/bmehdi777/interpreters written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bmehdi777/interpreters already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c8b6931afd9daad4dab4231d39637973c99dba22cd4d02ce6b5904fb0d0813b [INFO] running `Command { std: "docker" "start" "-a" "4c8b6931afd9daad4dab4231d39637973c99dba22cd4d02ce6b5904fb0d0813b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c8b6931afd9daad4dab4231d39637973c99dba22cd4d02ce6b5904fb0d0813b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8b6931afd9daad4dab4231d39637973c99dba22cd4d02ce6b5904fb0d0813b", kill_on_drop: false }` [INFO] [stdout] 4c8b6931afd9daad4dab4231d39637973c99dba22cd4d02ce6b5904fb0d0813b [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4241ce01efb6421c8717608f7a519355d10c2a35a85ea913cb6b487faa5eaa83 [INFO] running `Command { std: "docker" "start" "-a" "4241ce01efb6421c8717608f7a519355d10c2a35a85ea913cb6b487faa5eaa83", kill_on_drop: false }` [INFO] [stderr] Checking r_interpreter 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/parser/parser.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 189 | let condition: Box = Box::new(self.parse_expression(Precedence::LOWEST).expect("should not be none.")); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let consequence: BlockStatement = self.parse_block_statement(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | [INFO] [stdout] 200 | let alternative: Option; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Expression::If(IfExpression { [INFO] [stdout] | ________________________^ [INFO] [stdout] 212 | | token: tok, [INFO] [stdout] 213 | | condition, [INFO] [stdout] 214 | | consequence, [INFO] [stdout] 215 | | alternative, [INFO] [stdout] 216 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 227 | let body = self.parse_block_statement(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | Expression::Function(Function { token, parameters, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:283:27 [INFO] [stdout] | [INFO] [stdout] 279 | fn parse_infix_expression(&mut self, left_exp: Expression) -> Expression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | Expression::Infix(Infix { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 284 | | token: cur_tok.clone(), [INFO] [stdout] 285 | | operator: cur_tok.literal, [INFO] [stdout] 286 | | left: Box::new(left_exp), [INFO] [stdout] ... | [INFO] [stdout] 290 | | ), [INFO] [stdout] 291 | | }) [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/parser.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 301 | fn parse_call_expression(&mut self, function: Expression) -> Expression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | Expression::Call(Call { token: self.current_token.clone(), function: Box::new(function), arguments: self.parse_call_arguments()}) [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: function `start_RLPL` should have a snake case name [INFO] [stdout] --> src/repl.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn start_RLPL() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `start_rlpl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r_interpreter` (lib) due to 5 previous errors; 1 warning emitted [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/parser/parser.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 189 | let condition: Box = Box::new(self.parse_expression(Precedence::LOWEST).expect("should not be none.")); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let consequence: BlockStatement = self.parse_block_statement(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | [INFO] [stdout] 200 | let alternative: Option; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Expression::If(IfExpression { [INFO] [stdout] | ________________________^ [INFO] [stdout] 212 | | token: tok, [INFO] [stdout] 213 | | condition, [INFO] [stdout] 214 | | consequence, [INFO] [stdout] 215 | | alternative, [INFO] [stdout] 216 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 227 | let body = self.parse_block_statement(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | Expression::Function(Function { token, parameters, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:283:27 [INFO] [stdout] | [INFO] [stdout] 279 | fn parse_infix_expression(&mut self, left_exp: Expression) -> Expression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | Expression::Infix(Infix { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 284 | | token: cur_tok.clone(), [INFO] [stdout] 285 | | operator: cur_tok.literal, [INFO] [stdout] 286 | | left: Box::new(left_exp), [INFO] [stdout] ... | [INFO] [stdout] 290 | | ), [INFO] [stdout] 291 | | }) [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/parser.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 301 | fn parse_call_expression(&mut self, function: Expression) -> Expression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | Expression::Call(Call { token: self.current_token.clone(), function: Box::new(function), arguments: self.parse_call_arguments()}) [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: function `start_RLPL` should have a snake case name [INFO] [stdout] --> src/repl.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn start_RLPL() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `start_rlpl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r_interpreter` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4241ce01efb6421c8717608f7a519355d10c2a35a85ea913cb6b487faa5eaa83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4241ce01efb6421c8717608f7a519355d10c2a35a85ea913cb6b487faa5eaa83", kill_on_drop: false }` [INFO] [stdout] 4241ce01efb6421c8717608f7a519355d10c2a35a85ea913cb6b487faa5eaa83