[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] testing ThePerkinrex/compiler-backend-elf against 1.75.0 for beta-1.76-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2Fcompiler-backend-elf" "/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/ThePerkinrex/compiler-backend-elf on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-1-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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing ThePerkinrex/compiler-backend-elf against beta-2023-12-22 for beta-1.76-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2Fcompiler-backend-elf" "/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/ThePerkinrex/compiler-backend-elf on toolchain beta-2023-12-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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-1-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" "+beta-2023-12-22" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0865b36d2937395623ea6f1dbf7e9ef911aa28d1452814cadb37347e215828e [INFO] running `Command { std: "docker" "start" "-a" "f0865b36d2937395623ea6f1dbf7e9ef911aa28d1452814cadb37347e215828e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0865b36d2937395623ea6f1dbf7e9ef911aa28d1452814cadb37347e215828e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0865b36d2937395623ea6f1dbf7e9ef911aa28d1452814cadb37347e215828e", kill_on_drop: false }` [INFO] [stdout] f0865b36d2937395623ea6f1dbf7e9ef911aa28d1452814cadb37347e215828e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f119e662f5faf44221bc01d5d6b99b9296bc45a78bff9138e54ec0e08d010f0 [INFO] running `Command { std: "docker" "start" "-a" "4f119e662f5faf44221bc01d5d6b99b9296bc45a78bff9138e54ec0e08d010f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling 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] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling compiler-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File`, `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`, `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] 32 | _ => None, [INFO] [stdout] | ^ [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: 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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.41s [INFO] running `Command { std: "docker" "inspect" "4f119e662f5faf44221bc01d5d6b99b9296bc45a78bff9138e54ec0e08d010f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f119e662f5faf44221bc01d5d6b99b9296bc45a78bff9138e54ec0e08d010f0", kill_on_drop: false }` [INFO] [stdout] 4f119e662f5faf44221bc01d5d6b99b9296bc45a78bff9138e54ec0e08d010f0 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e12e4ae65b76187ec724a9be8f8e30b34832e751b552a02fe5783f77b84a7fd [INFO] running `Command { std: "docker" "start" "-a" "1e12e4ae65b76187ec724a9be8f8e30b34832e751b552a02fe5783f77b84a7fd", kill_on_drop: false }` [INFO] [stderr] Compiling compiler-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File`, `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`, `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] 32 | _ => None, [INFO] [stdout] | ^ [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: 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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "1e12e4ae65b76187ec724a9be8f8e30b34832e751b552a02fe5783f77b84a7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e12e4ae65b76187ec724a9be8f8e30b34832e751b552a02fe5783f77b84a7fd", kill_on_drop: false }` [INFO] [stdout] 1e12e4ae65b76187ec724a9be8f8e30b34832e751b552a02fe5783f77b84a7fd [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2db5db5332ef1ca57f648d60cf6e3218d2a1a059336e0e8421536bb6663ab14f [INFO] running `Command { std: "docker" "start" "-a" "2db5db5332ef1ca57f648d60cf6e3218d2a1a059336e0e8421536bb6663ab14f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `fs::File`, `io::Write` [INFO] [stderr] --> src/main.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fs::File, io::Write}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Elf64EHdr`, `ElfFileBuilder` [INFO] [stderr] --> src/main.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | elf::{Elf64EHdr, ElfFileBuilder}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/codegen/x64_linux_elf/elf.rs:295:14 [INFO] [stderr] | [INFO] [stderr] 295 | for (i, segment) in self.segments.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/codegen/x64_linux_elf/elf.rs:287:35 [INFO] [stderr] | [INFO] [stderr] 287 | pub fn build(mut self, buf: &mut W) -> Result<(), std::io::Error> { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/data.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | _ => None, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `interp` is never used [INFO] [stderr] --> src/codegen/x64_linux_elf/elf.rs:184:18 [INFO] [stderr] | [INFO] [stderr] 163 | impl PhEntry { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 184 | pub const fn interp( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `add_data_segment` and `add_unint_segment` are never used [INFO] [stderr] --> src/codegen/x64_linux_elf/elf.rs:263:12 [INFO] [stderr] | [INFO] [stderr] 235 | impl ElfFileBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 263 | pub fn add_data_segment(&mut self, data: Vec, vaddr: Elf64Addr, align: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 273 | pub fn add_unint_segment(&mut self, vaddr: Elf64Addr, memsz: u64, align: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: method `repr` is never used [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/codegen/x64_linux_elf/ir.rs:17:18 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 16 | impl RegAllocation { [INFO] [stdout] [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 17 | pub const fn repr(&self) -> &'static str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RETURN_REGISTERS` is never used [INFO] [stderr] --> src/codegen/x64_linux_elf/ir/syscall.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const RETURN_REGISTERS: [RegisterRequest; 2] = reg_list![0, 1]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RETURN_REG` is never used [INFO] [stderr] --> src/codegen/x64_linux_elf/ir/syscall.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | pub const RETURN_REG: RegisterRequest = RegisterRequest(0); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `unwrap_function` is never used [INFO] [stderr] --> src/data.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 28 | impl StEntryKind { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 29 | pub const fn unwrap_function(&self) -> Option<&FunctionStEntry> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `compiler-backend` (bin "compiler-backend" test) generated 11 warnings (run `cargo fix --bin "compiler-backend" --tests` to apply 4 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/compiler_backend-cbd4d26bb1896108) [INFO] running `Command { std: "docker" "inspect" "2db5db5332ef1ca57f648d60cf6e3218d2a1a059336e0e8421536bb6663ab14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db5db5332ef1ca57f648d60cf6e3218d2a1a059336e0e8421536bb6663ab14f", kill_on_drop: false }` [INFO] [stdout] 2db5db5332ef1ca57f648d60cf6e3218d2a1a059336e0e8421536bb6663ab14f