[INFO] cloning repository https://github.com/LPEdwin/simple_rust_numerics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LPEdwin/simple_rust_numerics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPEdwin%2Fsimple_rust_numerics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPEdwin%2Fsimple_rust_numerics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c45175a0f43ccdac62d1ba068c92dab8f7de6a5 [INFO] checking LPEdwin/simple_rust_numerics against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPEdwin%2Fsimple_rust_numerics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LPEdwin/simple_rust_numerics [INFO] finished tweaking git repo https://github.com/LPEdwin/simple_rust_numerics [INFO] tweaked toml for git repo https://github.com/LPEdwin/simple_rust_numerics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LPEdwin/simple_rust_numerics on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LPEdwin/simple_rust_numerics 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v1.0.3 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.101 [INFO] [stderr] Downloaded syn v2.0.106 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded unicode-ident v1.0.19 [INFO] [stderr] Downloaded rand_pcg v0.9.0 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f [INFO] running `Command { std: "docker" "start" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking calculate_pi v0.1.0 (/opt/rustwide/workdir/calculate_pi) [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking collision_simulation v0.1.0 (/opt/rustwide/workdir/collision_simulation) [INFO] [stdout] warning: value assigned to `sim_speed` is never read [INFO] [stdout] --> collision_simulation/src/render.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut sim_speed = 0.0; [INFO] [stdout] | ^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 31 | sim_speed = simulated_time / real_time_elapsed; [INFO] [stdout] | ---------------------------------------------- `sim_speed` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sim_speed` is never read [INFO] [stdout] --> collision_simulation/src/render.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut sim_speed = 0.0; [INFO] [stdout] | ^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 31 | sim_speed = simulated_time / real_time_elapsed; [INFO] [stdout] | ---------------------------------------------- `sim_speed` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> collision_simulation/src/core.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn contains(&self, point: Vector2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> collision_simulation/src/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct StaticCollision { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_realtime` is never used [INFO] [stdout] --> collision_simulation/src/render.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn run_realtime(sim: &mut Simulation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn collision_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mixing_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn mixing_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimal_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn minimal_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> collision_simulation/src/uniform_grid.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl UniformGrid { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(boundary: Rectangle, particles: &[Particle]) -> UniformGrid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> collision_simulation/src/core.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn contains(&self, point: Vector2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> collision_simulation/src/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct StaticCollision { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_realtime` is never used [INFO] [stdout] --> collision_simulation/src/render.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn run_realtime(sim: &mut Simulation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn collision_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mixing_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn mixing_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimal_sim` is never used [INFO] [stdout] --> collision_simulation/src/simulation_factory.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn minimal_sim() -> Simulation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> collision_simulation/src/uniform_grid.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl UniformGrid { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(boundary: Rectangle, particles: &[Particle]) -> UniformGrid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.01s [INFO] running `Command { std: "docker" "inspect" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f", kill_on_drop: false }` [INFO] [stdout] c43cf70f02837f0d6d4b655df72449e904a2313ec4c739afb64c9de204437b4f