[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 master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/l-Luna/omsim-rs on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaf89182ea4543b792ecd0f8a0df014028faaee1c317b5723654325a4a60cb40 [INFO] running `Command { std: "docker" "start" "-a" "aaf89182ea4543b792ecd0f8a0df014028faaee1c317b5723654325a4a60cb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaf89182ea4543b792ecd0f8a0df014028faaee1c317b5723654325a4a60cb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf89182ea4543b792ecd0f8a0df014028faaee1c317b5723654325a4a60cb40", kill_on_drop: false }` [INFO] [stdout] aaf89182ea4543b792ecd0f8a0df014028faaee1c317b5723654325a4a60cb40 [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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0707843981b556e4688a421f4652b58fdda4d0c3496ec9501febfcd7abb06ce9 [INFO] running `Command { std: "docker" "start" "-a" "0707843981b556e4688a421f4652b58fdda4d0c3496ec9501febfcd7abb06ce9", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [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 3.26s [INFO] running `Command { std: "docker" "inspect" "0707843981b556e4688a421f4652b58fdda4d0c3496ec9501febfcd7abb06ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0707843981b556e4688a421f4652b58fdda4d0c3496ec9501febfcd7abb06ce9", kill_on_drop: false }` [INFO] [stdout] 0707843981b556e4688a421f4652b58fdda4d0c3496ec9501febfcd7abb06ce9 [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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46e7b55b2aeb9cf1a8320bdf4b7f7975e65a6a062a32d9dbb877fb6858223f6b [INFO] running `Command { std: "docker" "start" "-a" "46e7b55b2aeb9cf1a8320bdf4b7f7975e65a6a062a32d9dbb877fb6858223f6b", kill_on_drop: false }` [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling omsim-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stdout] --> src/sim/collision.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector2{ [INFO] [stdout] | ------------ methods in this implementation [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.64s [INFO] running `Command { std: "docker" "inspect" "46e7b55b2aeb9cf1a8320bdf4b7f7975e65a6a062a32d9dbb877fb6858223f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e7b55b2aeb9cf1a8320bdf4b7f7975e65a6a062a32d9dbb877fb6858223f6b", kill_on_drop: false }` [INFO] [stdout] 46e7b55b2aeb9cf1a8320bdf4b7f7975e65a6a062a32d9dbb877fb6858223f6b [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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40dfec51eaf389e8890289f2a44dfa203f20383b7c378917c57eef65696a822c [INFO] running `Command { std: "docker" "start" "-a" "40dfec51eaf389e8890289f2a44dfa203f20383b7c378917c57eef65696a822c", 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)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `length2`, `length`, `dist2`, and `dist` are never used [INFO] [stderr] --> src/sim/collision.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Vector2{ [INFO] [stderr] | ------------ methods in this implementation [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 13 warnings [INFO] [stderr] warning: `omsim-rs` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/omsim_rs-98ccdbf444e6074c) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/omsim_rs-76bc6a2db5680200) [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] [stderr] Doc-tests omsim_rs [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" "40dfec51eaf389e8890289f2a44dfa203f20383b7c378917c57eef65696a822c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40dfec51eaf389e8890289f2a44dfa203f20383b7c378917c57eef65696a822c", kill_on_drop: false }` [INFO] [stdout] 40dfec51eaf389e8890289f2a44dfa203f20383b7c378917c57eef65696a822c