[INFO] cloning repository https://github.com/HuM4NoiD/corroding-locks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HuM4NoiD/corroding-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuM4NoiD%2Fcorroding-locks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuM4NoiD%2Fcorroding-locks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1952d9ad851f07138a66c4294cc3c24ebc2c72bd [INFO] checking HuM4NoiD/corroding-locks/1952d9ad851f07138a66c4294cc3c24ebc2c72bd 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%2FHuM4NoiD%2Fcorroding-locks" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuM4NoiD/corroding-locks 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/HuM4NoiD/corroding-locks [INFO] finished tweaking git repo https://github.com/HuM4NoiD/corroding-locks [INFO] tweaked toml for git repo https://github.com/HuM4NoiD/corroding-locks written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HuM4NoiD/corroding-locks 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e1ee64396bad440879ab93b2750a6c1b11a6cf4eec25919350adc375fc3509b5 [INFO] running `Command { std: "docker" "start" "-a" "e1ee64396bad440879ab93b2750a6c1b11a6cf4eec25919350adc375fc3509b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1ee64396bad440879ab93b2750a6c1b11a6cf4eec25919350adc375fc3509b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ee64396bad440879ab93b2750a6c1b11a6cf4eec25919350adc375fc3509b5", kill_on_drop: false }` [INFO] [stdout] e1ee64396bad440879ab93b2750a6c1b11a6cf4eec25919350adc375fc3509b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b198ceadd5258b2e3bbb19c74efd8d34a512b13fd5da9d0d8b2d856048905625 [INFO] running `Command { std: "docker" "start" "-a" "b198ceadd5258b2e3bbb19c74efd8d34a512b13fd5da9d0d8b2d856048905625", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.7.0 [INFO] [stderr] Checking num_enum v0.7.0 [INFO] [stderr] Checking lox-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TokenType::*` [INFO] [stdout] --> src/ast.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | token::{Token, TokenType::*}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `report_err`, and `value::Value` [INFO] [stdout] --> src/scanner.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | error::{error_line, report_err, Error}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 3 | token::{Token, TokenType}, [INFO] [stdout] 4 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::Value` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `OpCode::*`, `debug::disassemble_chunk`, and `value::VmValue` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | chunk::{Chunk, OpCode::*}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 26 | debug::disassemble_chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | value::VmValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType::*` [INFO] [stdout] --> src/ast.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | token::{Token, TokenType::*}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `report_err`, and `value::Value` [INFO] [stdout] --> src/scanner.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | error::{error_line, report_err, Error}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 3 | token::{Token, TokenType}, [INFO] [stdout] 4 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::TokenType` [INFO] [stdout] --> src/scanner.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | use crate::token::TokenType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::Value` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `OpCode::*`, `debug::disassemble_chunk`, and `value::VmValue` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | chunk::{Chunk, OpCode::*}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 26 | debug::disassemble_chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | value::VmValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/compiler.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, collections::HashMap, io::Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:539:26 [INFO] [stdout] | [INFO] [stdout] 539 | fn number(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:544:23 [INFO] [stdout] | [INFO] [stdout] 544 | fn or_(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | fn string(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:585:28 [INFO] [stdout] | [INFO] [stdout] 585 | fn grouping(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:590:25 [INFO] [stdout] | [INFO] [stdout] 590 | fn unary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:653:24 [INFO] [stdout] | [INFO] [stdout] 653 | fn and_(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `could_create_local` [INFO] [stdout] --> src/compiler.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | let could_create_local = parser_state.current.add_local( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_could_create_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:714:26 [INFO] [stdout] | [INFO] [stdout] 714 | fn binary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:740:27 [INFO] [stdout] | [INFO] [stdout] 740 | fn literal(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/compiler.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, collections::HashMap, io::Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:539:26 [INFO] [stdout] | [INFO] [stdout] 539 | fn number(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:544:23 [INFO] [stdout] | [INFO] [stdout] 544 | fn or_(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | fn string(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:585:28 [INFO] [stdout] | [INFO] [stdout] 585 | fn grouping(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:590:25 [INFO] [stdout] | [INFO] [stdout] 590 | fn unary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:653:24 [INFO] [stdout] | [INFO] [stdout] 653 | fn and_(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `could_create_local` [INFO] [stdout] --> src/compiler.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | let could_create_local = parser_state.current.add_local( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_could_create_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:714:26 [INFO] [stdout] | [INFO] [stdout] 714 | fn binary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:740:27 [INFO] [stdout] | [INFO] [stdout] 740 | fn literal(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 18 | (Obj::Str(p), Obj::Str(q)) => { [INFO] [stdout] | -------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 24 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 209 | OC::OpAdd => binary_op!(self, +), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | ... $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] | | --------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [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] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn [<$nodetype:snake>] ($($attr: $attrtype),*) -> $node { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | ... $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] 15 | | Unary { operator: Token, expr: Box }, [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | ... $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] ... | [INFO] [stdout] 20 | | VarDec { name: Token, initializer: Option> } [INFO] [stdout] | | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 18 | (Obj::Str(p), Obj::Str(q)) => { [INFO] [stdout] | -------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 24 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 209 | OC::OpAdd => binary_op!(self, +), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 18 warnings emitted [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | ... $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] | | --------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [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] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn [<$nodetype:snake>] ($($attr: $attrtype),*) -> $node { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | ... $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] 15 | | Unary { operator: Token, expr: Box }, [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ast_macros.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | ... $node :: $nodetype ([<$nodetype $node>]::new($($attr),*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_ast! { [INFO] [stdout] 12 | | Expr { [INFO] [stdout] 13 | | Binary { left: Box, operator: Token, right: Box }, [INFO] [stdout] 14 | | Grouping { expr: Box }, [INFO] [stdout] ... | [INFO] [stdout] 20 | | VarDec { name: Token, initializer: Option> } [INFO] [stdout] | | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox-rust` (bin "lox-rust") due to 5 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox-rust` (bin "lox-rust" test) due to 5 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b198ceadd5258b2e3bbb19c74efd8d34a512b13fd5da9d0d8b2d856048905625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b198ceadd5258b2e3bbb19c74efd8d34a512b13fd5da9d0d8b2d856048905625", kill_on_drop: false }` [INFO] [stdout] b198ceadd5258b2e3bbb19c74efd8d34a512b13fd5da9d0d8b2d856048905625