[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl-Luna%2Fomsim-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/l-Luna/omsim-rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acfb444824e3b0567281f7100207796242b20c154c8cde1c4b5717b3c4792c37 [INFO] running `Command { std: "docker" "start" "-a" "acfb444824e3b0567281f7100207796242b20c154c8cde1c4b5717b3c4792c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acfb444824e3b0567281f7100207796242b20c154c8cde1c4b5717b3c4792c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfb444824e3b0567281f7100207796242b20c154c8cde1c4b5717b3c4792c37", kill_on_drop: false }` [INFO] [stdout] acfb444824e3b0567281f7100207796242b20c154c8cde1c4b5717b3c4792c37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4bde557b09d0813d0ba23aa22596fd1fe036187cd42d1323420ee750528a98ba [INFO] running `Command { std: "docker" "start" "-a" "4bde557b09d0813d0ba23aa22596fd1fe036187cd42d1323420ee750528a98ba", 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] = note: `ColliderType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Movement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Collider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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.49s [INFO] running `Command { std: "docker" "inspect" "4bde557b09d0813d0ba23aa22596fd1fe036187cd42d1323420ee750528a98ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bde557b09d0813d0ba23aa22596fd1fe036187cd42d1323420ee750528a98ba", kill_on_drop: false }` [INFO] [stdout] 4bde557b09d0813d0ba23aa22596fd1fe036187cd42d1323420ee750528a98ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bf35a89a7e8f5a37df1035b32b4b9ae4c50e19c4b413508d5ffa9108226a224b [INFO] running `Command { std: "docker" "start" "-a" "bf35a89a7e8f5a37df1035b32b4b9ae4c50e19c4b413508d5ffa9108226a224b", 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)]` 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] = note: `ColliderType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Movement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Collider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ColliderType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Movement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Collider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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.81s [INFO] running `Command { std: "docker" "inspect" "bf35a89a7e8f5a37df1035b32b4b9ae4c50e19c4b413508d5ffa9108226a224b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf35a89a7e8f5a37df1035b32b4b9ae4c50e19c4b413508d5ffa9108226a224b", kill_on_drop: false }` [INFO] [stdout] bf35a89a7e8f5a37df1035b32b4b9ae4c50e19c4b413508d5ffa9108226a224b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 93591147844fc94fff31b8123a8716212cf95aa64c21ff040c267f35e3a8a349 [INFO] running `Command { std: "docker" "start" "-a" "93591147844fc94fff31b8123a8716212cf95aa64c21ff040c267f35e3a8a349", 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] = note: `ColliderType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Movement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Collider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/omsim_rs-efec17eb198a5e76) [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/x86_64-unknown-linux-musl/debug/deps/omsim_rs-84b74460b4995908) [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" "93591147844fc94fff31b8123a8716212cf95aa64c21ff040c267f35e3a8a349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93591147844fc94fff31b8123a8716212cf95aa64c21ff040c267f35e3a8a349", kill_on_drop: false }` [INFO] [stdout] 93591147844fc94fff31b8123a8716212cf95aa64c21ff040c267f35e3a8a349