[INFO] cloning repository https://github.com/ThePerkinrex/compiler-backend-elf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePerkinrex/compiler-backend-elf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2Fcompiler-backend-elf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2Fcompiler-backend-elf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78e2935535630387e7d6d74b8fbd38d99a30fd9b [INFO] checking ThePerkinrex/compiler-backend-elf/78e2935535630387e7d6d74b8fbd38d99a30fd9b 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%2FThePerkinrex%2Fcompiler-backend-elf" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThePerkinrex/compiler-backend-elf 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/ThePerkinrex/compiler-backend-elf [INFO] finished tweaking git repo https://github.com/ThePerkinrex/compiler-backend-elf [INFO] tweaked toml for git repo https://github.com/ThePerkinrex/compiler-backend-elf written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThePerkinrex/compiler-backend-elf 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4033d2a85e9065f2ff78a9dc730046537838405f153e18d0e301272569023c96 [INFO] running `Command { std: "docker" "start" "-a" "4033d2a85e9065f2ff78a9dc730046537838405f153e18d0e301272569023c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4033d2a85e9065f2ff78a9dc730046537838405f153e18d0e301272569023c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4033d2a85e9065f2ff78a9dc730046537838405f153e18d0e301272569023c96", kill_on_drop: false }` [INFO] [stdout] 4033d2a85e9065f2ff78a9dc730046537838405f153e18d0e301272569023c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eacd749a4bda0a63701c6a5eac4b2e5df3136576c85002aeac6fca1d0d590913 [INFO] running `Command { std: "docker" "start" "-a" "eacd749a4bda0a63701c6a5eac4b2e5df3136576c85002aeac6fca1d0d590913", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking compiler-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File` and `io::Write` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Write}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Elf64EHdr` and `ElfFileBuilder` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | elf::{Elf64EHdr, ElfFileBuilder}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::Write` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Write}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Elf64EHdr` and `ElfFileBuilder` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | elf::{Elf64EHdr, ElfFileBuilder}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | for (i, segment) in self.segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn build(mut self, buf: &mut W) -> Result<(), std::io::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | for (i, segment) in self.segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn build(mut self, buf: &mut W) -> Result<(), std::io::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | Self::Function(s) => Some(s), [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] 32 | _ => None, [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: associated function `interp` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl PhEntry { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub const fn interp( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_data_segment` and `add_unint_segment` are never used [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl ElfFileBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn add_data_segment(&mut self, data: Vec, vaddr: Elf64Addr, align: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn add_unint_segment(&mut self, vaddr: Elf64Addr, memsz: u64, align: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `repr` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl RegAllocation { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 17 | pub const fn repr(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | Push(Register), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is 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] 141 | Push(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Pop(Register), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is 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] 142 | Pop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | FreeRegister(Register), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is 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] 143 | FreeRegister(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_REGISTERS` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/ir/syscall.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RETURN_REGISTERS: [RegisterRequest; 2] = reg_list![0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_REG` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/ir/syscall.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const RETURN_REG: RegisterRequest = RegisterRequest(0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/data.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StEntry { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub kind: StEntryKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Function(FunctionStEntry), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StEntryKind` has a derived impl for the trait `Debug`, but this is 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] 18 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args`, `ret`, and `inner_st` are never read [INFO] [stdout] --> src/data.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FunctionStEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 23 | pub args: Vec, // TODO Type [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub ret: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | pub inner_st: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionStEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_function` is never used [INFO] [stdout] --> src/data.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl StEntryKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 29 | pub const fn unwrap_function(&self) -> Option<&FunctionStEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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/codegen/x64_linux_elf/ir_gen.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(st: S) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | opt: Optimizer::new(0x10000), [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/codegen/x64_linux_elf/ir_gen.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(st: S) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | main: None, [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 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | Self::Function(s) => Some(s), [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] 32 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler-backend` (bin "compiler-backend") due to 3 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `interp` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl PhEntry { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub const fn interp( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_data_segment` and `add_unint_segment` are never used [INFO] [stdout] --> src/codegen/x64_linux_elf/elf.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl ElfFileBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn add_data_segment(&mut self, data: Vec, vaddr: Elf64Addr, align: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn add_unint_segment(&mut self, vaddr: Elf64Addr, memsz: u64, align: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `repr` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl RegAllocation { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 17 | pub const fn repr(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | Push(Register), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is 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] 141 | Push(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Pop(Register), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is 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] 142 | Pop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/x64_linux_elf/ir.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | FreeRegister(Register), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is 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] 143 | FreeRegister(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_REGISTERS` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/ir/syscall.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RETURN_REGISTERS: [RegisterRequest; 2] = reg_list![0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_REG` is never used [INFO] [stdout] --> src/codegen/x64_linux_elf/ir/syscall.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const RETURN_REG: RegisterRequest = RegisterRequest(0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/data.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StEntry { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub kind: StEntryKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Function(FunctionStEntry), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StEntryKind` has a derived impl for the trait `Debug`, but this is 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] 18 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args`, `ret`, and `inner_st` are never read [INFO] [stdout] --> src/data.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FunctionStEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 23 | pub args: Vec, // TODO Type [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub ret: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | pub inner_st: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionStEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_function` is never used [INFO] [stdout] --> src/data.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl StEntryKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 29 | pub const fn unwrap_function(&self) -> Option<&FunctionStEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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/codegen/x64_linux_elf/ir_gen.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(st: S) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | opt: Optimizer::new(0x10000), [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/codegen/x64_linux_elf/ir_gen.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(st: S) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | main: None, [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 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler-backend` (bin "compiler-backend" test) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eacd749a4bda0a63701c6a5eac4b2e5df3136576c85002aeac6fca1d0d590913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacd749a4bda0a63701c6a5eac4b2e5df3136576c85002aeac6fca1d0d590913", kill_on_drop: false }` [INFO] [stdout] eacd749a4bda0a63701c6a5eac4b2e5df3136576c85002aeac6fca1d0d590913