[INFO] cloning repository https://github.com/crackhex/flying-sim-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crackhex/flying-sim-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrackhex%2Fflying-sim-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrackhex%2Fflying-sim-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19fb7fc78ededa810353b3cabe2cbc3e3c24f433
[INFO] testing crackhex/flying-sim-rs against nightly-2025-01-18 for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrackhex%2Fflying-sim-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/crackhex/flying-sim-rs on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/crackhex/flying-sim-rs
[INFO] finished tweaking git repo https://github.com/crackhex/flying-sim-rs
[INFO] tweaked toml for git repo https://github.com/crackhex/flying-sim-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/crackhex/flying-sim-rs 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror v2.0.9
[INFO] [stderr]   Downloaded thiserror-impl v2.0.9
[INFO] [stderr]   Downloaded syn v2.0.94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 61de6849fe65a553daa2d1df096059f452881951f028a31d60fffe55f5385fb8
[INFO] running `Command { std: "docker" "start" "-a" "61de6849fe65a553daa2d1df096059f452881951f028a31d60fffe55f5385fb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61de6849fe65a553daa2d1df096059f452881951f028a31d60fffe55f5385fb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61de6849fe65a553daa2d1df096059f452881951f028a31d60fffe55f5385fb8", kill_on_drop: false }`
[INFO] [stdout] 61de6849fe65a553daa2d1df096059f452881951f028a31d60fffe55f5385fb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2f229e858889674b34f020f0b2fab7f97d6fe8876e975b2a8903a79eb9241ff
[INFO] running `Command { std: "docker" "start" "-a" "d2f229e858889674b34f020f0b2fab7f97d6fe8876e975b2a8903a79eb9241ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling zerocopy v0.8.14
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling thiserror v2.0.9
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.94
[INFO] [stderr]    Compiling getrandom v0.3.0-rc.0
[INFO] [stderr]    Compiling rand_core v0.9.0-beta.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v2.0.9
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.9.0-beta.1
[INFO] [stderr]    Compiling rand v0.9.0-beta.1
[INFO] [stderr]    Compiling flying-sim-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let x = targets.cylinder.iter();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cylinders`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let cylinders: Vec<CylinderHitbox> = vec![];
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cylinders`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_state`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     initial_state: &mut MarioState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .for_each(|(frame, input)| if (frame as u32) < length {});
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `intended_d_yaw` is never read
[INFO] [stdout]  --> src/simulations/air_sim.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut intended_d_yaw: i16 = 0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `intended_mag` is never read
[INFO] [stdout]  --> src/simulations/air_sim.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut intended_mag: f32 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mario_pos`
[INFO] [stdout]   --> src/simulations/target_interaction.rs:41:38
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn vertical_dist_to_mario(&self, mario_pos: [f32; 3]) -> f32 {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mario_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mario_pos`
[INFO] [stdout]   --> src/simulations/target_interaction.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn vertical_dist_to_mario(&self, mario_pos: [f32; 3]) -> f32 {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mario_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/utils/file_handling.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut file = File::create(path)?;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/file_handling.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut file = File::create(path)?;
[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: fields `inputs`, `initial_state`, `targets`, and `fitness` are never read
[INFO] [stdout]   --> src/bruteforce/fitness.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Segment {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 6  |     // Dymamic dispatch for targets? Probably not a good idea for performance.
[INFO] [stdout] 7  |     pub inputs: Vec<i16>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 8  |     pub initial_state: MarioState,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 9  |     pub targets: Targets,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub fitness: f32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Segment` has derived impls for the traits `Clone` and `Debug`, 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: function `final_target` is never used
[INFO] [stdout]   --> src/bruteforce/fitness.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn final_target(targets: &Targets) -> Option<&CylinderHitbox> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_targets` is never used
[INFO] [stdout]   --> src/bruteforce/fitness.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn generate_targets(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_segments` is never used
[INFO] [stdout]   --> src/bruteforce/fitness.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn generate_segments(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_input_u8` is never used
[INFO] [stdout]  --> src/includes/mario_state.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const fn pack_input_u8(input: [u8; 2]) -> i16 {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_mario_in_bounds` is never used
[INFO] [stdout]    --> src/includes/mario_state.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 70  | impl MarioState {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn is_mario_in_bounds(&self, mario_pos: [f32; 3]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approach_f32` is never used
[INFO] [stdout]   --> src/includes/trig_table.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub const fn approach_f32(mut curr: f32, target: f32, inc: f32, dec: f32) -> f32 {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARCTAN_TABLE` is never used
[INFO] [stdout]     --> src/includes/trig_table.rs:1089:7
[INFO] [stdout]      |
[INFO] [stdout] 1089 | const ARCTAN_TABLE: [i16; 0x401] = [
[INFO] [stdout]      |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_air_without_turn` is never used
[INFO] [stdout]  --> src/simulations/air_sim.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const fn update_air_without_turn(m: &mut MarioState) {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEVEL_BOUNDARY_MAX` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const LEVEL_BOUNDARY_MAX: i32 = 8192;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_SIZE` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const CELL_SIZE: i32 = 0x400;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_HEIGHT_LIMIT` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const CELL_HEIGHT_LIMIT: i32 = 20000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLOOR_LOWER_LIMIT` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const FLOOR_LOWER_LIMIT: i32 = -11000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SpacialPartition` is never used
[INFO] [stdout]   --> src/simulations/surface_collision.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum SpacialPartition {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WallCollisionData` is never constructed
[INFO] [stdout]   --> src/simulations/surface_collision.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct WallCollisionData {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vertical_dist_to_mario` is never used
[INFO] [stdout]   --> src/simulations/target_interaction.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub trait Interact {
[INFO] [stdout]    |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn vertical_dist_to_mario(&self, _: [f32; 3]) -> f32;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save_file` and `list_inactive` are never used
[INFO] [stdout]    --> src/simulations/target_interaction.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout] 85  | impl Targets {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91  |     pub fn save_file(&self, path: &Path) -> Result<(), InputFileError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn list_inactive(&self) -> Targets {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_file` and `write_to_m64` are never used
[INFO] [stdout]   --> src/utils/file_handling.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl InputFile {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 17 |     pub fn read_file(&self, path: &Path) -> Result<InputFile, InputFileError> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn write_to_m64(&self, path: &Path) -> Result<(), InputFileError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_file` is never used
[INFO] [stdout]   --> src/utils/file_handling.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl DumpFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn write_file(&self, path: &Path) -> Result<usize, InputFileError> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_inputs` and `add_inputs` are never used
[INFO] [stdout]    --> src/utils/m64_handling.rs:290:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | impl M64File {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub fn remove_inputs(&mut self, range: &Range<usize>) -> Result<&mut M64File, M64Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub fn add_inputs(&mut self, range: &Range<usize>) -> Result<&mut M64File, M64Error> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.72s
[INFO] running `Command { std: "docker" "inspect" "d2f229e858889674b34f020f0b2fab7f97d6fe8876e975b2a8903a79eb9241ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2f229e858889674b34f020f0b2fab7f97d6fe8876e975b2a8903a79eb9241ff", kill_on_drop: false }`
[INFO] [stdout] d2f229e858889674b34f020f0b2fab7f97d6fe8876e975b2a8903a79eb9241ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4a88201e8796c2515cf0cebc4c5bb813ccfe74466355ce658580c120ccc8857
[INFO] running `Command { std: "docker" "start" "-a" "d4a88201e8796c2515cf0cebc4c5bb813ccfe74466355ce658580c120ccc8857", kill_on_drop: false }`
[INFO] [stderr]    Compiling flying-sim-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let x = targets.cylinder.iter();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cylinders`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let cylinders: Vec<CylinderHitbox> = vec![];
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cylinders`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_state`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     initial_state: &mut MarioState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bruteforce/fitness.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .for_each(|(frame, input)| if (frame as u32) < length {});
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `intended_d_yaw` is never read
[INFO] [stdout]  --> src/simulations/air_sim.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut intended_d_yaw: i16 = 0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `intended_mag` is never read
[INFO] [stdout]  --> src/simulations/air_sim.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut intended_mag: f32 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mario_pos`
[INFO] [stdout]   --> src/simulations/target_interaction.rs:41:38
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn vertical_dist_to_mario(&self, mario_pos: [f32; 3]) -> f32 {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mario_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mario_pos`
[INFO] [stdout]   --> src/simulations/target_interaction.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn vertical_dist_to_mario(&self, mario_pos: [f32; 3]) -> f32 {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mario_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]   --> src/tests/tests.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let time = Instant::now();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/utils/file_handling.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut file = File::create(path)?;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/file_handling.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut file = File::create(path)?;
[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: fields `inputs`, `initial_state`, `targets`, and `fitness` are never read
[INFO] [stdout]   --> src/bruteforce/fitness.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Segment {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 6  |     // Dymamic dispatch for targets? Probably not a good idea for performance.
[INFO] [stdout] 7  |     pub inputs: Vec<i16>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 8  |     pub initial_state: MarioState,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 9  |     pub targets: Targets,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub fitness: f32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Segment` has derived impls for the traits `Clone` and `Debug`, 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: function `final_target` is never used
[INFO] [stdout]   --> src/bruteforce/fitness.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn final_target(targets: &Targets) -> Option<&CylinderHitbox> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_targets` is never used
[INFO] [stdout]   --> src/bruteforce/fitness.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn generate_targets(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_segments` is never used
[INFO] [stdout]   --> src/bruteforce/fitness.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn generate_segments(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_input_u8` is never used
[INFO] [stdout]  --> src/includes/mario_state.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const fn pack_input_u8(input: [u8; 2]) -> i16 {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_mario_in_bounds` is never used
[INFO] [stdout]    --> src/includes/mario_state.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 70  | impl MarioState {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn is_mario_in_bounds(&self, mario_pos: [f32; 3]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approach_f32` is never used
[INFO] [stdout]   --> src/includes/trig_table.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub const fn approach_f32(mut curr: f32, target: f32, inc: f32, dec: f32) -> f32 {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARCTAN_TABLE` is never used
[INFO] [stdout]     --> src/includes/trig_table.rs:1089:7
[INFO] [stdout]      |
[INFO] [stdout] 1089 | const ARCTAN_TABLE: [i16; 0x401] = [
[INFO] [stdout]      |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_air_without_turn` is never used
[INFO] [stdout]  --> src/simulations/air_sim.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const fn update_air_without_turn(m: &mut MarioState) {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEVEL_BOUNDARY_MAX` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const LEVEL_BOUNDARY_MAX: i32 = 8192;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_SIZE` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const CELL_SIZE: i32 = 0x400;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_HEIGHT_LIMIT` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const CELL_HEIGHT_LIMIT: i32 = 20000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLOOR_LOWER_LIMIT` is never used
[INFO] [stdout]  --> src/simulations/surface_collision.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const FLOOR_LOWER_LIMIT: i32 = -11000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SpacialPartition` is never used
[INFO] [stdout]   --> src/simulations/surface_collision.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum SpacialPartition {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WallCollisionData` is never constructed
[INFO] [stdout]   --> src/simulations/surface_collision.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct WallCollisionData {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vertical_dist_to_mario` is never used
[INFO] [stdout]   --> src/simulations/target_interaction.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub trait Interact {
[INFO] [stdout]    |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn vertical_dist_to_mario(&self, _: [f32; 3]) -> f32;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save_file` and `list_inactive` are never used
[INFO] [stdout]    --> src/simulations/target_interaction.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout] 85  | impl Targets {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91  |     pub fn save_file(&self, path: &Path) -> Result<(), InputFileError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn list_inactive(&self) -> Targets {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_file` and `write_to_m64` are never used
[INFO] [stdout]   --> src/utils/file_handling.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl InputFile {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 17 |     pub fn read_file(&self, path: &Path) -> Result<InputFile, InputFileError> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn write_to_m64(&self, path: &Path) -> Result<(), InputFileError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_file` is never used
[INFO] [stdout]   --> src/utils/file_handling.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl DumpFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn write_file(&self, path: &Path) -> Result<usize, InputFileError> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_inputs` and `add_inputs` are never used
[INFO] [stdout]    --> src/utils/m64_handling.rs:290:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | impl M64File {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub fn remove_inputs(&mut self, range: &Range<usize>) -> Result<&mut M64File, M64Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub fn add_inputs(&mut self, range: &Range<usize>) -> Result<&mut M64File, M64Error> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "d4a88201e8796c2515cf0cebc4c5bb813ccfe74466355ce658580c120ccc8857", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4a88201e8796c2515cf0cebc4c5bb813ccfe74466355ce658580c120ccc8857", kill_on_drop: false }`
[INFO] [stdout] d4a88201e8796c2515cf0cebc4c5bb813ccfe74466355ce658580c120ccc8857
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2bb200c74dbb4f65cca77124d5e4a830ee3058d16470f7d706d7bcac3020e947
[INFO] running `Command { std: "docker" "start" "-a" "2bb200c74dbb4f65cca77124d5e4a830ee3058d16470f7d706d7bcac3020e947", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/bruteforce/fitness.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |     let x = targets.cylinder.iter();
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cylinders`
[INFO] [stderr]   --> src/bruteforce/fitness.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let cylinders: Vec<CylinderHitbox> = vec![];
[INFO] [stderr]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cylinders`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `initial_state`
[INFO] [stderr]   --> src/bruteforce/fitness.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 |     initial_state: &mut MarioState,
[INFO] [stderr]    |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `input`
[INFO] [stderr]   --> src/bruteforce/fitness.rs:66:28
[INFO] [stderr]    |
[INFO] [stderr] 66 |         .for_each(|(frame, input)| if (frame as u32) < length {});
[INFO] [stderr]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `intended_d_yaw` is never read
[INFO] [stderr]  --> src/simulations/air_sim.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let mut intended_d_yaw: i16 = 0;
[INFO] [stderr]   |             ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: maybe it is overwritten before being read?
[INFO] [stderr]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `intended_mag` is never read
[INFO] [stderr]  --> src/simulations/air_sim.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let mut intended_mag: f32 = 0.0;
[INFO] [stderr]   |             ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mario_pos`
[INFO] [stderr]   --> src/simulations/target_interaction.rs:41:38
[INFO] [stderr]    |
[INFO] [stderr] 41 |     fn vertical_dist_to_mario(&self, mario_pos: [f32; 3]) -> f32 {
[INFO] [stderr]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mario_pos`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mario_pos`
[INFO] [stderr]   --> src/simulations/target_interaction.rs:75:38
[INFO] [stderr]    |
[INFO] [stderr] 75 |     fn vertical_dist_to_mario(&self, mario_pos: [f32; 3]) -> f32 {
[INFO] [stderr]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mario_pos`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `time`
[INFO] [stderr]   --> src/tests/tests.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let time = Instant::now();
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `file`
[INFO] [stderr]   --> src/utils/file_handling.rs:29:17
[INFO] [stderr]    |
[INFO] [stderr] 29 |         let mut file = File::create(path)?;
[INFO] [stderr]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/utils/file_handling.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |         let mut file = File::create(path)?;
[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: fields `inputs`, `initial_state`, `targets`, and `fitness` are never read
[INFO] [stderr]   --> src/bruteforce/fitness.rs:7:9
[INFO] [stderr]    |
[INFO] [stderr] 5  | pub struct Segment {
[INFO] [stderr]    |            ------- fields in this struct
[INFO] [stderr] 6  |     // Dymamic dispatch for targets? Probably not a good idea for performance.
[INFO] [stderr] 7  |     pub inputs: Vec<i16>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 8  |     pub initial_state: MarioState,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 9  |     pub targets: Targets,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 10 |     pub fitness: f32,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `final_target` is never used
[INFO] [stderr]   --> src/bruteforce/fitness.rs:32:8
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn final_target(targets: &Targets) -> Option<&CylinderHitbox> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_targets` is never used
[INFO] [stderr]   --> src/bruteforce/fitness.rs:55:8
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub fn generate_targets(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_segments` is never used
[INFO] [stderr]   --> src/bruteforce/fitness.rs:73:8
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn generate_segments(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `pack_input_u8` is never used
[INFO] [stderr]  --> src/includes/mario_state.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub const fn pack_input_u8(input: [u8; 2]) -> i16 {
[INFO] [stderr]   |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_mario_in_bounds` is never used
[INFO] [stderr]    --> src/includes/mario_state.rs:109:8
[INFO] [stderr]     |
[INFO] [stderr] 70  | impl MarioState {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 109 |     fn is_mario_in_bounds(&self, mario_pos: [f32; 3]) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `approach_f32` is never used
[INFO] [stderr]   --> src/includes/trig_table.rs:45:14
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub const fn approach_f32(mut curr: f32, target: f32, inc: f32, dec: f32) -> f32 {
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ARCTAN_TABLE` is never used
[INFO] [stderr]     --> src/includes/trig_table.rs:1089:7
[INFO] [stderr]      |
[INFO] [stderr] 1089 | const ARCTAN_TABLE: [i16; 0x401] = [
[INFO] [stderr]      |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_air_without_turn` is never used
[INFO] [stderr]  --> src/simulations/air_sim.rs:4:14
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub const fn update_air_without_turn(m: &mut MarioState) {
[INFO] [stderr]   |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LEVEL_BOUNDARY_MAX` is never used
[INFO] [stderr]  --> src/simulations/surface_collision.rs:3:7
[INFO] [stderr]   |
[INFO] [stderr] 3 | const LEVEL_BOUNDARY_MAX: i32 = 8192;
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CELL_SIZE` is never used
[INFO] [stderr]  --> src/simulations/surface_collision.rs:4:7
[INFO] [stderr]   |
[INFO] [stderr] 4 | const CELL_SIZE: i32 = 0x400;
[INFO] [stderr]   |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CELL_HEIGHT_LIMIT` is never used
[INFO] [stderr]  --> src/simulations/surface_collision.rs:5:7
[INFO] [stderr]   |
[INFO] [stderr] 5 | const CELL_HEIGHT_LIMIT: i32 = 20000;
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FLOOR_LOWER_LIMIT` is never used
[INFO] [stderr]  --> src/simulations/surface_collision.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const FLOOR_LOWER_LIMIT: i32 = -11000;
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `SpacialPartition` is never used
[INFO] [stderr]   --> src/simulations/surface_collision.rs:31:10
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub enum SpacialPartition {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WallCollisionData` is never constructed
[INFO] [stderr]   --> src/simulations/surface_collision.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct WallCollisionData {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `vertical_dist_to_mario` is never used
[INFO] [stderr]   --> src/simulations/target_interaction.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 7  | pub trait Interact {
[INFO] [stderr]    |           -------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 11 |     fn vertical_dist_to_mario(&self, _: [f32; 3]) -> f32;
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `save_file` and `list_inactive` are never used
[INFO] [stderr]    --> src/simulations/target_interaction.rs:91:12
[INFO] [stderr]     |
[INFO] [stderr] 85  | impl Targets {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 91  |     pub fn save_file(&self, path: &Path) -> Result<(), InputFileError> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 108 |     pub fn list_inactive(&self) -> Targets {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `read_file` and `write_to_m64` are never used
[INFO] [stderr]   --> src/utils/file_handling.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl InputFile {
[INFO] [stderr]    | -------------- methods in this implementation
[INFO] [stderr] 17 |     pub fn read_file(&self, path: &Path) -> Result<InputFile, InputFileError> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 28 |     pub fn write_to_m64(&self, path: &Path) -> Result<(), InputFileError> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_file` is never used
[INFO] [stderr]   --> src/utils/file_handling.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 81 | impl DumpFile {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 87 |     pub fn write_file(&self, path: &Path) -> Result<usize, InputFileError> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `remove_inputs` and `add_inputs` are never used
[INFO] [stderr]    --> src/utils/m64_handling.rs:290:12
[INFO] [stderr]     |
[INFO] [stderr] 211 | impl M64File {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 290 |     pub fn remove_inputs(&mut self, range: &Range<usize>) -> Result<&mut M64File, M64Error> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 297 |     pub fn add_inputs(&mut self, range: &Range<usize>) -> Result<&mut M64File, M64Error> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `flying-sim-rs` (bin "flying-sim-rs" test) generated 31 warnings (run `cargo fix --bin "flying-sim-rs" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/flying_sim_rs-fab3e46dbee04011)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::tests::tests::test_trig ... ok
[INFO] [stdout] test tests::tests::tests::test_m64 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::tests::tests::test_m64 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::tests::tests::test_m64' panicked at src/tests/tests.rs:25:32:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: File(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4e601f4eba - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5c4e601f4eba - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5c4e601f4eba - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c4e601f4eba - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c4e6021c463 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5c4e6021c463 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x5c4e601f1a13 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x5c4e601f4d02 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5c4e601f62df - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x5c4e601f60f8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x5c4e601bb033 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x5c4e601bb033 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5c4e601f6dd3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x5c4e601f6dd3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x5c4e601f6a8a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x5c4e601f53b9 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x5c4e601f671d - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x5c4e6021aee0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5c4e6021b2b6 - core::result::unwrap_failed::h7979f09313fe1849
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1704:5
[INFO] [stdout]   19:     0x5c4e6017ad1c - core::result::Result<T,E>::unwrap::hfd447233a6dca497
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1109:23
[INFO] [stdout]   20:     0x5c4e6017ad1c - flying_sim_rs::tests::tests::tests::test_m64::h5e574352d11aad3c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/tests.rs:25:9
[INFO] [stdout]   21:     0x5c4e6017aaa7 - flying_sim_rs::tests::tests::tests::test_m64::{{closure}}::h367753a37633e191
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/tests.rs:21:18
[INFO] [stdout]   22:     0x5c4e60177076 - core::ops::function::FnOnce::call_once::hf647a8550ac59650
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5c4e601c078b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5c4e601c078b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x5c4e601bf6c3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x5c4e601bf6c3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5c4e601bf6c3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x5c4e601bf6c3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x5c4e601bf6c3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x5c4e601bf6c3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x5c4e601bf6c3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x5c4e601827a5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x5c4e601827a5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x5c4e6018608a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5c4e6018608a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5c4e6018608a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   37:     0x5c4e6018608a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   38:     0x5c4e6018608a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x5c4e6018608a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5c4e6018608a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5c4e601fad1b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   42:     0x5c4e601fad1b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x5c4e601fad1b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   44:     0x71bff9209ac3 - <unknown>
[INFO] [stdout]   45:     0x71bff929aa04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::tests::tests::test_m64
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin flying-sim-rs`
[INFO] running `Command { std: "docker" "inspect" "2bb200c74dbb4f65cca77124d5e4a830ee3058d16470f7d706d7bcac3020e947", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bb200c74dbb4f65cca77124d5e4a830ee3058d16470f7d706d7bcac3020e947", kill_on_drop: false }`
[INFO] [stdout] 2bb200c74dbb4f65cca77124d5e4a830ee3058d16470f7d706d7bcac3020e947
