[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#d98a5da813da67eb189387b8ccfb73cf481275d8+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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/l-Luna/omsim-rs on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a79a5aa58b61790edce8ccb4376d56c25ce7c3a5941995ac3bd0c8a8c3fcfd6 [INFO] running `Command { std: "docker" "start" "-a" "4a79a5aa58b61790edce8ccb4376d56c25ce7c3a5941995ac3bd0c8a8c3fcfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a79a5aa58b61790edce8ccb4376d56c25ce7c3a5941995ac3bd0c8a8c3fcfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a79a5aa58b61790edce8ccb4376d56c25ce7c3a5941995ac3bd0c8a8c3fcfd6", kill_on_drop: false }` [INFO] [stdout] 4a79a5aa58b61790edce8ccb4376d56c25ce7c3a5941995ac3bd0c8a8c3fcfd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81c9e7f4f2420a31e8507bc96bb760a72f3fbd6033bb6e9b997c1f7cea137281 [INFO] running `Command { std: "docker" "start" "-a" "81c9e7f4f2420a31e8507bc96bb760a72f3fbd6033bb6e9b997c1f7cea137281", kill_on_drop: false }` [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling bitflags v2.4.2 [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.19s [INFO] running `Command { std: "docker" "inspect" "81c9e7f4f2420a31e8507bc96bb760a72f3fbd6033bb6e9b997c1f7cea137281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c9e7f4f2420a31e8507bc96bb760a72f3fbd6033bb6e9b997c1f7cea137281", kill_on_drop: false }` [INFO] [stdout] 81c9e7f4f2420a31e8507bc96bb760a72f3fbd6033bb6e9b997c1f7cea137281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22264164b1068cdad4ed945b6cdef56fbabcefbfd731dfd6e1df12b76503eb98 [INFO] running `Command { std: "docker" "start" "-a" "22264164b1068cdad4ed945b6cdef56fbabcefbfd731dfd6e1df12b76503eb98", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "22264164b1068cdad4ed945b6cdef56fbabcefbfd731dfd6e1df12b76503eb98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22264164b1068cdad4ed945b6cdef56fbabcefbfd731dfd6e1df12b76503eb98", kill_on_drop: false }` [INFO] [stdout] 22264164b1068cdad4ed945b6cdef56fbabcefbfd731dfd6e1df12b76503eb98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c153cf72981f6b53ec3b6a87f85c7d658b75b058eeb07342d09f14386adaabe4 [INFO] running `Command { std: "docker" "start" "-a" "c153cf72981f6b53ec3b6a87f85c7d658b75b058eeb07342d09f14386adaabe4", 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.06s [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" "c153cf72981f6b53ec3b6a87f85c7d658b75b058eeb07342d09f14386adaabe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c153cf72981f6b53ec3b6a87f85c7d658b75b058eeb07342d09f14386adaabe4", kill_on_drop: false }` [INFO] [stdout] c153cf72981f6b53ec3b6a87f85c7d658b75b058eeb07342d09f14386adaabe4