[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 master#ab869e094a907cc5d19b4080f22eccaf347f1f95 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThePerkinrex/compiler-backend-elf on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e32602eb6aefc31cea8c49da73fb4e455608d4277b9c431f3be1c9b6d3bd98b6 [INFO] running `Command { std: "docker" "start" "-a" "e32602eb6aefc31cea8c49da73fb4e455608d4277b9c431f3be1c9b6d3bd98b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e32602eb6aefc31cea8c49da73fb4e455608d4277b9c431f3be1c9b6d3bd98b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32602eb6aefc31cea8c49da73fb4e455608d4277b9c431f3be1c9b6d3bd98b6", kill_on_drop: false }` [INFO] [stdout] e32602eb6aefc31cea8c49da73fb4e455608d4277b9c431f3be1c9b6d3bd98b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e806e51df499e338ac8531d3a3b06706db27e464b949dd8e3651e3c9f24315da [INFO] running `Command { std: "docker" "start" "-a" "e806e51df499e338ac8531d3a3b06706db27e464b949dd8e3651e3c9f24315da", 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 itoa v1.0.10 [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: 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: 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: 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] 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: 17 warnings emitted [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] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.58s [INFO] running `Command { std: "docker" "inspect" "e806e51df499e338ac8531d3a3b06706db27e464b949dd8e3651e3c9f24315da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e806e51df499e338ac8531d3a3b06706db27e464b949dd8e3651e3c9f24315da", kill_on_drop: false }` [INFO] [stdout] e806e51df499e338ac8531d3a3b06706db27e464b949dd8e3651e3c9f24315da