[INFO] cloning repository https://github.com/cottrellashley/rust-demon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cottrellashley/rust-demon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottrellashley%2Frust-demon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottrellashley%2Frust-demon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da864a59bffbde94b25e675fb9b659f258124ea1
[INFO] checking cottrellashley/rust-demon against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottrellashley%2Frust-demon" "/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/cottrellashley/rust-demon
[INFO] finished tweaking git repo https://github.com/cottrellashley/rust-demon
[INFO] tweaked toml for git repo https://github.com/cottrellashley/rust-demon written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cottrellashley/rust-demon on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cottrellashley/rust-demon 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ggez v0.7.1
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 527ef713bc7106c3c149473508f8dea15c2d049030012d93014329e8897e972c
[INFO] running `Command { std: "docker" "start" "-a" "527ef713bc7106c3c149473508f8dea15c2d049030012d93014329e8897e972c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "527ef713bc7106c3c149473508f8dea15c2d049030012d93014329e8897e972c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "527ef713bc7106c3c149473508f8dea15c2d049030012d93014329e8897e972c", kill_on_drop: false }`
[INFO] [stdout] 527ef713bc7106c3c149473508f8dea15c2d049030012d93014329e8897e972c
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6784ce8dfee98c9e247b40ea6e0f4ab4e259707f1a15a7fc0a6d670694bfb58b
[INFO] running `Command { std: "docker" "start" "-a" "6784ce8dfee98c9e247b40ea6e0f4ab4e259707f1a15a7fc0a6d670694bfb58b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling xml-rs v0.8.25
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking libloading v0.8.6
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling camino v1.1.9
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking xdg v2.5.2
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling pulldown-cmark v0.9.6
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking xcursor v0.3.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking owned_ttf_parser v0.15.2
[INFO] [stderr]     Checking euclid v0.22.11
[INFO] [stderr]     Checking rusttype v0.9.3
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling winit v0.25.0
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]    Compiling cpal v0.14.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling minimp3-sys v0.3.2
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]     Checking lyon_geom v0.17.7
[INFO] [stderr]    Compiling bytecount v0.6.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]     Checking lyon_path v0.17.7
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]     Checking mio-misc v1.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking slice-deque v0.3.0
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]     Checking ogg v0.8.0
[INFO] [stderr]     Checking sid v0.6.1
[INFO] [stderr]     Checking float_next_after v0.1.5
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking xi-unicode v0.3.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking glyph_brush_layout v0.2.4
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking lyon_algorithms v0.17.7
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking gilrs-core v0.4.1
[INFO] [stderr]     Checking lyon_tessellation v0.17.10
[INFO] [stderr]     Checking twox-hash v2.1.0
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking ordered-float v5.0.0
[INFO] [stderr]     Checking claxon v0.4.3
[INFO] [stderr]     Checking lewton v0.10.2
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking mint v0.5.9
[INFO] [stderr]     Checking glyph_brush_draw_cache v0.1.6
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking lyon v0.17.10
[INFO] [stderr]     Checking gilrs v0.9.0
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]     Checking directories v3.0.2
[INFO] [stderr]     Checking gfx v0.18.3
[INFO] [stderr]     Checking glam v0.20.5
[INFO] [stderr]     Checking glyph_brush v0.7.12
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking alsa v0.6.0
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]     Checking wayland-egl v0.28.6
[INFO] [stderr]     Checking minimp3 v0.5.1
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking rodio v0.16.0
[INFO] [stderr]    Compiling smart-default v0.6.0
[INFO] [stderr]    Compiling cargo-platform v0.1.9
[INFO] [stderr]    Compiling cargo_metadata v0.14.2
[INFO] [stderr]    Compiling skeptic v0.13.7
[INFO] [stderr]    Compiling ggez v0.7.1
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking glutin v0.27.0
[INFO] [stderr]     Checking old_school_gfx_glutin_ext v0.27.0
[INFO] [stderr]     Checking rusticles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/rendering/events.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `charge` and `mass` are never read
[INFO] [stdout]   --> src/physics/particles.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Particle {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub charge: f32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 15 |     pub mass: f32
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Particle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `restitution`, `correction_factor`, and `penetration_slop` are never read
[INFO] [stdout]    --> src/physics/laws.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct ImpulseCollision {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub restitution: f32,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub correction_factor: f32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub penetration_slop: f32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ImpulseCollision` 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: variant `CoulombLaw` is never constructed
[INFO] [stdout]    --> src/physics/laws.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub enum InteractionLawType {
[INFO] [stdout]     |          ------------------ variant in this enum
[INFO] [stdout] 234 |     CoulombLaw,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InteractionLawType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MainState` is never constructed
[INFO] [stdout]  --> src/rendering/example.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MainState {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rendering/example.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl MainState {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 18 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rendering/example.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn main() -> GameResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/rendering/events.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         mb.rectangle(DrawMode::stroke(2.0), simulation_rect, Color::WHITE);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let _ = mb.rectangle(DrawMode::stroke(2.0), simulation_rect, Color::WHITE);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/rendering/events.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 | /             mb.circle(
[INFO] [stdout] 73 | |                 DrawMode::fill(),
[INFO] [stdout] 74 | |                 particle.position,
[INFO] [stdout] 75 | |                 particle.radius,
[INFO] [stdout] 76 | |                 0.1,
[INFO] [stdout] 77 | |                 particle.color(&avg),
[INFO] [stdout] 78 | |             );
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let _ = mb.circle(
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/rendering/events.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 |             KeyCode::Right => { self.update_state(_ctx); },
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |             KeyCode::Right => { let _ = self.update_state(_ctx); },
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/rendering/events.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) {
[INFO] [stdout]     |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `charge` and `mass` are never read
[INFO] [stdout]   --> src/physics/particles.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Particle {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub charge: f32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 15 |     pub mass: f32
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Particle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `restitution`, `correction_factor`, and `penetration_slop` are never read
[INFO] [stdout]    --> src/physics/laws.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct ImpulseCollision {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub restitution: f32,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub correction_factor: f32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub penetration_slop: f32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ImpulseCollision` 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: variant `CoulombLaw` is never constructed
[INFO] [stdout]    --> src/physics/laws.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub enum InteractionLawType {
[INFO] [stdout]     |          ------------------ variant in this enum
[INFO] [stdout] 234 |     CoulombLaw,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InteractionLawType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MainState` is never constructed
[INFO] [stdout]  --> src/rendering/example.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MainState {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rendering/example.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl MainState {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 18 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rendering/example.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn main() -> GameResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/rendering/events.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         mb.rectangle(DrawMode::stroke(2.0), simulation_rect, Color::WHITE);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let _ = mb.rectangle(DrawMode::stroke(2.0), simulation_rect, Color::WHITE);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/rendering/events.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 | /             mb.circle(
[INFO] [stdout] 73 | |                 DrawMode::fill(),
[INFO] [stdout] 74 | |                 particle.position,
[INFO] [stdout] 75 | |                 particle.radius,
[INFO] [stdout] 76 | |                 0.1,
[INFO] [stdout] 77 | |                 particle.color(&avg),
[INFO] [stdout] 78 | |             );
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let _ = mb.circle(
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/rendering/events.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 |             KeyCode::Right => { self.update_state(_ctx); },
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |             KeyCode::Right => { let _ = self.update_state(_ctx); },
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.66s
[INFO] running `Command { std: "docker" "inspect" "6784ce8dfee98c9e247b40ea6e0f4ab4e259707f1a15a7fc0a6d670694bfb58b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6784ce8dfee98c9e247b40ea6e0f4ab4e259707f1a15a7fc0a6d670694bfb58b", kill_on_drop: false }`
[INFO] [stdout] 6784ce8dfee98c9e247b40ea6e0f4ab4e259707f1a15a7fc0a6d670694bfb58b
