[INFO] cloning repository https://github.com/joshleveck/crust-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshleveck/crust-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshleveck%2Fcrust-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshleveck%2Fcrust-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba7a459a5663796df34f43905179e7dcacd3c289 [INFO] checking joshleveck/crust-compiler against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshleveck%2Fcrust-compiler" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshleveck/crust-compiler 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/joshleveck/crust-compiler [INFO] finished tweaking git repo https://github.com/joshleveck/crust-compiler [INFO] tweaked toml for git repo https://github.com/joshleveck/crust-compiler written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joshleveck/crust-compiler 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dfd03e22b9ff486058e49643ee60be3ee9a46e55cb193ca247a3ce0c376c999f [INFO] running `Command { std: "docker" "start" "-a" "dfd03e22b9ff486058e49643ee60be3ee9a46e55cb193ca247a3ce0c376c999f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfd03e22b9ff486058e49643ee60be3ee9a46e55cb193ca247a3ce0c376c999f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd03e22b9ff486058e49643ee60be3ee9a46e55cb193ca247a3ce0c376c999f", kill_on_drop: false }` [INFO] [stdout] dfd03e22b9ff486058e49643ee60be3ee9a46e55cb193ca247a3ce0c376c999f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ff41b58c3a076f3a8b56950dcd8f008e57d1ab430a96b6abc5a66e9616088874 [INFO] running `Command { std: "docker" "start" "-a" "ff41b58c3a076f3a8b56950dcd8f008e57d1ab430a96b6abc5a66e9616088874", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking crust-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/preprocess.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/token/tokentype.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/preprocess.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/token/tokentype.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] 354 | SHR => gen_binop(IROp::SHR, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] 354 | SHR => gen_binop(IROp::SHR, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 355 | Mod => gen_binop(IROp::Mod, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 355 | Mod => gen_binop(IROp::Mod, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 356 | Comma => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 356 | Comma => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 302 | Equal => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | Plus => gen_binop(IROp::Add, lhs, rhs), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 310 | Minus => gen_binop(IROp::Sub, lhs, rhs), [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 311 | Logand => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 302 | Equal => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | Plus => gen_binop(IROp::Add, lhs, rhs), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 310 | Minus => gen_binop(IROp::Sub, lhs, rhs), [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 311 | Logand => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hat` [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hat` [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Imm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum IRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Imm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRType` has derived impls for the traits `Debug` and `Clone`, 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: variant `MulImm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum IROp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 63 | MulImm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IROp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CharType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Unknown(char), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Imm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum IRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Imm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRType` has derived impls for the traits `Debug` and `Clone`, 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: field `line` is never read [INFO] [stdout] --> src/token.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MulImm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum IROp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 63 | MulImm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IROp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/token/ctypes.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ctype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CharType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Unknown(char), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/token/ctypes.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, String, usize), // Variable reference, (name, data, len) [INFO] [stdout] | ---- ^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, (), ()), // Variable reference, (name, data, len) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CharLiteral` is never constructed [INFO] [stdout] --> src/token/tokentype.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | CharLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/token.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/token/ctypes.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ctype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hat` should have a snake case name [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/token/ctypes.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, String, usize), // Variable reference, (name, data, len) [INFO] [stdout] | ---- ^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, (), ()), // Variable reference, (name, data, len) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CharLiteral` is never constructed [INFO] [stdout] --> src/token/tokentype.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | CharLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hat` should have a snake case name [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "ff41b58c3a076f3a8b56950dcd8f008e57d1ab430a96b6abc5a66e9616088874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff41b58c3a076f3a8b56950dcd8f008e57d1ab430a96b6abc5a66e9616088874", kill_on_drop: false }` [INFO] [stdout] ff41b58c3a076f3a8b56950dcd8f008e57d1ab430a96b6abc5a66e9616088874 [INFO] checking joshleveck/crust-compiler 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%2Fjoshleveck%2Fcrust-compiler" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshleveck/crust-compiler 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/joshleveck/crust-compiler [INFO] finished tweaking git repo https://github.com/joshleveck/crust-compiler [INFO] tweaked toml for git repo https://github.com/joshleveck/crust-compiler written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joshleveck/crust-compiler 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 95101749fcca0b836897f8bb747563095c4ebeacee186b5a9641f8bb6f917e0c [INFO] running `Command { std: "docker" "start" "-a" "95101749fcca0b836897f8bb747563095c4ebeacee186b5a9641f8bb6f917e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95101749fcca0b836897f8bb747563095c4ebeacee186b5a9641f8bb6f917e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95101749fcca0b836897f8bb747563095c4ebeacee186b5a9641f8bb6f917e0c", kill_on_drop: false }` [INFO] [stdout] 95101749fcca0b836897f8bb747563095c4ebeacee186b5a9641f8bb6f917e0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 63a6177fe25e877f046514b60a27fc95b46952c3bb9ce412ca3d7303977b9a1c [INFO] running `Command { std: "docker" "start" "-a" "63a6177fe25e877f046514b60a27fc95b46952c3bb9ce412ca3d7303977b9a1c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking crust-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/preprocess.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/token/tokentype.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/preprocess.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/token/tokentype.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] 354 | SHR => gen_binop(IROp::SHR, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] 353 | SHL => gen_binop(IROp::SHL, lhs, rhs), [INFO] [stdout] 354 | SHR => gen_binop(IROp::SHR, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 355 | Mod => gen_binop(IROp::Mod, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 355 | Mod => gen_binop(IROp::Mod, lhs, rhs), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 356 | Comma => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 356 | Comma => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 302 | Equal => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | Plus => gen_binop(IROp::Add, lhs, rhs), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 310 | Minus => gen_binop(IROp::Sub, lhs, rhs), [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 311 | Logand => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gen_ir.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 302 | Equal => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | Plus => gen_binop(IROp::Add, lhs, rhs), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 310 | Minus => gen_binop(IROp::Sub, lhs, rhs), [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 311 | Logand => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 360 | _ => gen_binop(IROp::from(op), lhs, rhs), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hat` [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hat` [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Imm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum IRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Imm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRType` has derived impls for the traits `Debug` and `Clone`, 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: variant `MulImm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum IROp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 63 | MulImm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IROp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CharType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Unknown(char), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/token.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/token/ctypes.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ctype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/token/ctypes.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, String, usize), // Variable reference, (name, data, len) [INFO] [stdout] | ---- ^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, (), ()), // Variable reference, (name, data, len) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CharLiteral` is never constructed [INFO] [stdout] --> src/token/tokentype.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | CharLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hat` should have a snake case name [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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/parse.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 420 | let cond = self.logor(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | let then = self.expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | self.expect(TokenType::Colon); [INFO] [stdout] 426 | let els = self.conditional(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | Node::new(NodeType::Ternary( [INFO] [stdout] | ___________________^ [INFO] [stdout] 428 | | Box::new(cond), [INFO] [stdout] 429 | | Box::new(then), [INFO] [stdout] 430 | | Box::new(els), [INFO] [stdout] 431 | | )) [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/parse.rs:458:48 [INFO] [stdout] | [INFO] [stdout] 454 | let lhs = self.assign(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | Node::new_binop(TokenType::Comma, lhs, self.expr()) [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/parse.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 497 | fn array_init_rval(&mut self, ident: Node) -> Node { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 498 | let mut init = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | Node::new(NodeType::VecStmt(init)) [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/parse.rs:711:19 [INFO] [stdout] | [INFO] [stdout] 702 | let mut stmts = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 703 | [INFO] [stdout] 704 | let new_env = Env::new(Some(Box::new(self.env.clone()))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 709 | let next = self.env.next.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 710 | self.env = *next.unwrap(); [INFO] [stdout] 711 | Node::new(NodeType::CompStmt(stmts)) [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/parse/env.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | tags: 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/parse/env.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | typedefs: 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/preprocess.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(input: Vec, next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | ..Default::default() [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 `Imm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum IRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Imm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRType` has derived impls for the traits `Debug` and `Clone`, 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/sema.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ( [INFO] [stdout] 142 | walk(init, true), [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/sema.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | walk(cond, true), [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 `MulImm` is never constructed [INFO] [stdout] --> src/gen_ir.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum IROp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 63 | MulImm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IROp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | walk(inc, true), [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/sema.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | walk(body, true), [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/sema.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 300 | let f = |stmts: Vec| -> Vec { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | stmts.into_iter().map(|stmt| walk(stmt, true)).collect() [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 `Unknown` is never constructed [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CharType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Unknown(char), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/token.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn sema(nodes: Vec) -> (Vec, Vec) { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | let mut new_nodes = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | (new_nodes, GLOBALS.lock().unwrap().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/sema/env.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Env { [INFO] [stdout] 13 | vars: 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] warning: field `1` is never read [INFO] [stdout] --> src/token/ctypes.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ctype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Array(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/token/ctypes.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, String, usize), // Variable reference, (name, data, len) [INFO] [stdout] | ---- ^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 78 | Gvar(String, (), ()), // Variable reference, (name, data, len) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CharLiteral` is never constructed [INFO] [stdout] --> src/token/tokentype.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | CharLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token/ctypes.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(op: NodeType) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | ty: Box::new(Type::default()), [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/token/ctypes.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new_binop(ty: TokenType, lhs: Node, rhs: Node) -> 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] 132 | Node::new(NodeType::BinOp(ty, Box::new(lhs), Box::new(rhs))) [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/token/ctypes.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn ptr_to(base: Box) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | Type::new(Ctype::Ptr(base), 8) [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: variable `Hat` should have a snake case name [INFO] [stdout] --> src/gen_ir.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | Hat => gen_binop(IROp::XOR, lhs, rhs), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `hat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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/parse.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 420 | let cond = self.logor(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | let then = self.expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | self.expect(TokenType::Colon); [INFO] [stdout] 426 | let els = self.conditional(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | Node::new(NodeType::Ternary( [INFO] [stdout] | ___________________^ [INFO] [stdout] 428 | | Box::new(cond), [INFO] [stdout] 429 | | Box::new(then), [INFO] [stdout] 430 | | Box::new(els), [INFO] [stdout] 431 | | )) [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/parse.rs:458:48 [INFO] [stdout] | [INFO] [stdout] 454 | let lhs = self.assign(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | Node::new_binop(TokenType::Comma, lhs, self.expr()) [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/parse.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 497 | fn array_init_rval(&mut self, ident: Node) -> Node { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 498 | let mut init = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | Node::new(NodeType::VecStmt(init)) [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/parse.rs:711:19 [INFO] [stdout] | [INFO] [stdout] 702 | let mut stmts = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 703 | [INFO] [stdout] 704 | let new_env = Env::new(Some(Box::new(self.env.clone()))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 709 | let next = self.env.next.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 710 | self.env = *next.unwrap(); [INFO] [stdout] 711 | Node::new(NodeType::CompStmt(stmts)) [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/parse/env.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | tags: 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/parse/env.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | typedefs: 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/preprocess.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(input: Vec, next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | ..Default::default() [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/sema.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ( [INFO] [stdout] 142 | walk(init, true), [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/sema.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | walk(cond, true), [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/sema.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | walk(inc, true), [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/sema.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 140 | let f = |(init, cond, inc, body)| -> (Node, Node, Node, Node) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | walk(body, true), [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/sema.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 300 | let f = |stmts: Vec| -> Vec { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | stmts.into_iter().map(|stmt| walk(stmt, true)).collect() [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/sema.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn sema(nodes: Vec) -> (Vec, Vec) { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | let mut new_nodes = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | (new_nodes, GLOBALS.lock().unwrap().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/sema/env.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(next: Option>) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Env { [INFO] [stdout] 13 | vars: 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/token/ctypes.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(op: NodeType) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | ty: Box::new(Type::default()), [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/token/ctypes.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new_binop(ty: TokenType, lhs: Node, rhs: Node) -> 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] 132 | Node::new(NodeType::BinOp(ty, Box::new(lhs), Box::new(rhs))) [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/token/ctypes.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn ptr_to(base: Box) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | Type::new(Ctype::Ptr(base), 8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crust-compiler` (bin "crust-compiler" test) due to 18 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `crust-compiler` (bin "crust-compiler") due to 18 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63a6177fe25e877f046514b60a27fc95b46952c3bb9ce412ca3d7303977b9a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a6177fe25e877f046514b60a27fc95b46952c3bb9ce412ca3d7303977b9a1c", kill_on_drop: false }` [INFO] [stdout] 63a6177fe25e877f046514b60a27fc95b46952c3bb9ce412ca3d7303977b9a1c