[INFO] cloning repository https://github.com/l-Luna/omsim-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l-Luna/omsim-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0147a1cf90f6f2dec3a8ead85261d09dcb6a217 [INFO] testing l-Luna/omsim-rs against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/l-Luna/omsim-rs [INFO] finished tweaking git repo https://github.com/l-Luna/omsim-rs [INFO] tweaked toml for git repo https://github.com/l-Luna/omsim-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/l-Luna/omsim-rs on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/l-Luna/omsim-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" "+beta-2025-09-21" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d700b1dd8cd576b73ed03d335bfdc7f4810030aaaaca91f22a3ad590f80e177f [INFO] running `Command { std: "docker" "start" "-a" "d700b1dd8cd576b73ed03d335bfdc7f4810030aaaaca91f22a3ad590f80e177f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d700b1dd8cd576b73ed03d335bfdc7f4810030aaaaca91f22a3ad590f80e177f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d700b1dd8cd576b73ed03d335bfdc7f4810030aaaaca91f22a3ad590f80e177f", kill_on_drop: false }` [INFO] [stdout] d700b1dd8cd576b73ed03d335bfdc7f4810030aaaaca91f22a3ad590f80e177f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4b7b8a223ddfdcc72266826a2485b6e46e32987766146a10e599ddaececc59c [INFO] running `Command { std: "docker" "start" "-a" "a4b7b8a223ddfdcc72266826a2485b6e46e32987766146a10e599ddaececc59c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling omsim-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_WIDTH` is never used [INFO] [stdout] --> src/sim/collision.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEX_WIDTH: f32 = 82.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_HEIGHT` is never used [INFO] [stdout] --> src/sim/collision.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const HEX_HEIGHT: f32 = 71.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2` is never constructed [INFO] [stdout] --> src/sim/collision.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vector2{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_hex_index`, `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: f32, y: f32) -> Vector2{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_hex_index(h: HexIndex) -> Vector2{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColliderType` is never used [INFO] [stdout] --> src/sim/collision.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Movement` is never used [INFO] [stdout] --> src/sim/collision.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collider` is never constructed [INFO] [stdout] --> src/sim/collision.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Collider{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "a4b7b8a223ddfdcc72266826a2485b6e46e32987766146a10e599ddaececc59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b7b8a223ddfdcc72266826a2485b6e46e32987766146a10e599ddaececc59c", kill_on_drop: false }` [INFO] [stdout] a4b7b8a223ddfdcc72266826a2485b6e46e32987766146a10e599ddaececc59c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b7302aa6494ca577b90b7e723b251976a608fab7d97f1484d0364013ef1765b [INFO] running `Command { std: "docker" "start" "-a" "1b7302aa6494ca577b90b7e723b251976a608fab7d97f1484d0364013ef1765b", kill_on_drop: false }` [INFO] [stderr] Compiling omsim-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_WIDTH` is never used [INFO] [stdout] --> src/sim/collision.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEX_WIDTH: f32 = 82.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_HEIGHT` is never used [INFO] [stdout] --> src/sim/collision.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const HEX_HEIGHT: f32 = 71.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2` is never constructed [INFO] [stdout] --> src/sim/collision.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vector2{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_hex_index`, `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: f32, y: f32) -> Vector2{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_hex_index(h: HexIndex) -> Vector2{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColliderType` is never used [INFO] [stdout] --> src/sim/collision.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Movement` is never used [INFO] [stdout] --> src/sim/collision.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collider` is never constructed [INFO] [stdout] --> src/sim/collision.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Collider{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_a` [INFO] [stdout] --> src/sim/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_b` [INFO] [stdout] --> src/sim/mod.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/sim/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | SimPartType::Input(m) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/sim/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | SimPartType::Output(m, outputs) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/sim/mod.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_long` is never used [INFO] [stdout] --> src/parse.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a> BaseParser<'a>{ [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_WIDTH` is never used [INFO] [stdout] --> src/sim/collision.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEX_WIDTH: f32 = 82.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_HEIGHT` is never used [INFO] [stdout] --> src/sim/collision.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const HEX_HEIGHT: f32 = 71.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2` is never constructed [INFO] [stdout] --> src/sim/collision.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vector2{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_hex_index`, `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: f32, y: f32) -> Vector2{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_hex_index(h: HexIndex) -> Vector2{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn length2(self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn length(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColliderType` is never used [INFO] [stdout] --> src/sim/collision.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum ColliderType{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `radius` and `radius_with` are never used [INFO] [stdout] --> src/sim/collision.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ColliderType{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 96 | pub fn radius(self) -> f32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Movement` is never used [INFO] [stdout] --> src/sim/collision.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Movement{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos_at` is never used [INFO] [stdout] --> src/sim/collision.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Movement{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collider` is never constructed [INFO] [stdout] --> src/sim/collision.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Collider{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collides` is never used [INFO] [stdout] --> src/sim/collision.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "1b7302aa6494ca577b90b7e723b251976a608fab7d97f1484d0364013ef1765b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7302aa6494ca577b90b7e723b251976a608fab7d97f1484d0364013ef1765b", kill_on_drop: false }` [INFO] [stdout] 1b7302aa6494ca577b90b7e723b251976a608fab7d97f1484d0364013ef1765b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c254ea80fd2d1dd084dd7c176dff589d7712eb524321562cab3f638414838f7 [INFO] running `Command { std: "docker" "start" "-a" "3c254ea80fd2d1dd084dd7c176dff589d7712eb524321562cab3f638414838f7", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `pos_a` [INFO] [stderr] --> src/sim/mod.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos_b` [INFO] [stderr] --> src/sim/mod.rs:32:44 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn bond_at(&self, pos_a: HexIndex, pos_b: HexIndex) -> Option{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/sim/mod.rs:119:32 [INFO] [stderr] | [INFO] [stderr] 119 | SimPartType::Input(m) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `outputs` [INFO] [stderr] --> src/sim/mod.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | SimPartType::Output(m, outputs) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `solution` [INFO] [stderr] --> src/sim/mod.rs:136:61 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn from_solution_part(part: &Part, puzzle: &Puzzle, solution: &Solution) -> Result{ [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stderr] [INFO] [stderr] warning: method `parse_long` is never used [INFO] [stderr] --> src/parse.rs:150:8 [INFO] [stderr] | [INFO] [stderr] 109 | impl<'a> BaseParser<'a>{ [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 150 | fn parse_long(&mut self) -> Result{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `HEX_WIDTH` is never used [INFO] [stderr] --> src/sim/collision.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const HEX_WIDTH: f32 = 82.0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HEX_HEIGHT` is never used [INFO] [stderr] --> src/sim/collision.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const HEX_HEIGHT: f32 = 71.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vector2` is never constructed [INFO] [stderr] --> src/sim/collision.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Vector2{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `from_hex_index`, `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stderr] --> src/sim/collision.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Vector2{ [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 15 | pub fn new(x: f32, y: f32) -> Vector2{ [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn from_hex_index(h: HexIndex) -> Vector2{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn length2(self) -> f32{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn length(self) -> f32{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn dist2(self, other: Vector2) -> f32{ [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn dist(self, other: Vector2) -> f32{ [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ColliderType` is never used [INFO] [stderr] --> src/sim/collision.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | pub enum ColliderType{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `radius` and `radius_with` are never used [INFO] [stderr] --> src/sim/collision.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 95 | impl ColliderType{ [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 96 | pub fn radius(self) -> f32{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn radius_with(self, other: ColliderType) -> Option{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Movement` is never used [INFO] [stderr] --> src/sim/collision.rs:117:10 [INFO] [stderr] | [INFO] [stderr] 117 | pub enum Movement{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `pos_at` is never used [INFO] [stderr] --> src/sim/collision.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 123 | impl Movement{ [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 124 | pub fn pos_at(self, time: f32) -> Vector2{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Collider` is never constructed [INFO] [stderr] --> src/sim/collision.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | pub struct Collider{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `collides` is never used [INFO] [stderr] --> src/sim/collision.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn collides(colliders: &Vec, steps: u32) -> bool{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `omsim-rs` (lib) generated 16 warnings [INFO] [stderr] warning: `omsim-rs` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/omsim_rs-e6c443674672d036) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/omsim_rs-92966b8f537d6b57) [INFO] [stdout] [INFO] [stderr] Doc-tests omsim_rs [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c254ea80fd2d1dd084dd7c176dff589d7712eb524321562cab3f638414838f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c254ea80fd2d1dd084dd7c176dff589d7712eb524321562cab3f638414838f7", kill_on_drop: false }` [INFO] [stdout] 3c254ea80fd2d1dd084dd7c176dff589d7712eb524321562cab3f638414838f7