[INFO] cloning repository https://github.com/Syriusz-2005/particle-simulation-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Syriusz-2005/particle-simulation-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyriusz-2005%2Fparticle-simulation-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyriusz-2005%2Fparticle-simulation-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9fb642702c3f9f5b0a7ba332c13c3b251cfa156 [INFO] checking Syriusz-2005/particle-simulation-rust against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyriusz-2005%2Fparticle-simulation-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Syriusz-2005/particle-simulation-rust [INFO] finished tweaking git repo https://github.com/Syriusz-2005/particle-simulation-rust [INFO] tweaked toml for git repo https://github.com/Syriusz-2005/particle-simulation-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Syriusz-2005/particle-simulation-rust on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Syriusz-2005/particle-simulation-rust 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f74dd1f228817dd7ff9064ddc17c93a7db6af530ef0f90292eaa114af310e9 [INFO] running `Command { std: "docker" "start" "-a" "07f74dd1f228817dd7ff9064ddc17c93a7db6af530ef0f90292eaa114af310e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f74dd1f228817dd7ff9064ddc17c93a7db6af530ef0f90292eaa114af310e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f74dd1f228817dd7ff9064ddc17c93a7db6af530ef0f90292eaa114af310e9", kill_on_drop: false }` [INFO] [stdout] 07f74dd1f228817dd7ff9064ddc17c93a7db6af530ef0f90292eaa114af310e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0fc4830c6cdb29e37028ae682407f6650d6741c867806292f0070a5992dcccc [INFO] running `Command { std: "docker" "start" "-a" "f0fc4830c6cdb29e37028ae682407f6650d6741c867806292f0070a5992dcccc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking piston-graphics_api_version v1.0.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking interpolation v0.3.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking spin_sleep v1.3.3 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking piston-texture v0.9.0 [INFO] [stderr] Checking typewit v1.14.2 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking piston2d-graphics v0.44.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking const_panic v0.2.15 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling encase_derive_impl v0.12.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling encase_derive v0.12.0 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking encase v0.12.0 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking pistoncore-window v1.0.0 [INFO] [stderr] Checking pistoncore-event_loop v1.0.0 [INFO] [stderr] Checking piston v1.0.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking piston2d-opengl_graphics v0.85.1 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking pistoncore-glutin_window v0.72.0 [INFO] [stderr] Checking particle_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `impl_vector` [INFO] [stdout] --> src/wgpu_scene.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use encase::{impl_vector, ShaderType, UniformBuffer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_vector` [INFO] [stdout] --> src/wgpu_scene.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use encase::{impl_vector, ShaderType, UniformBuffer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vel` is never read [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Particle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 30 | pos: Vec2d, [INFO] [stdout] 31 | vel: Vec2d, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 36 | fn new() -> Particle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREAD_COUNT` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const THREAD_COUNT: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultithreadedScene` is never constructed [INFO] [stdout] --> src/multithreaded_scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MultithreadedScene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultithreadedSceneV2` is never constructed [INFO] [stdout] --> src/multithreaded_scene_v2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MultithreadedSceneV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_particle_drag`, `get_particle_mass`, `get_min_distance`, `get_forces`, and `get_radii` are never used [INFO] [stdout] --> src/particle_type.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParticleTypeManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_particle_drag(&self, type_index: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_particle_mass(&self, type_index: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_min_distance(&self, type_a: usize, type_b: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_forces(&self, type_a: usize, type_b: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_radii(&self, type_a: usize, type_b: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/vector.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sub<'a>(v1: &'a mut Vec2d, v2: &Vec2d) -> &'a mut Vec2d { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `len` is never used [INFO] [stdout] --> src/vector.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn len(v: &Vec2d) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/vector.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn normalize(v: &mut Vec2d) -> &mut Vec2d { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_scalar` is never used [INFO] [stdout] --> src/vector.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn mul_scalar(v: &mut Vec2d, a: f64) -> &mut Vec2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div_scalar` is never used [INFO] [stdout] --> src/vector.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn div_scalar(v: &mut Vec2d, a: f64) -> &mut Vec2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/vector.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remap(x: f64, a: f64, b: f64, c: f64, d: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vel` is never read [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Particle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 30 | pos: Vec2d, [INFO] [stdout] 31 | vel: Vec2d, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 36 | fn new() -> Particle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREAD_COUNT` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const THREAD_COUNT: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultithreadedScene` is never constructed [INFO] [stdout] --> src/multithreaded_scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MultithreadedScene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultithreadedSceneV2` is never constructed [INFO] [stdout] --> src/multithreaded_scene_v2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MultithreadedSceneV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_particle_drag`, `get_particle_mass`, `get_min_distance`, `get_forces`, and `get_radii` are never used [INFO] [stdout] --> src/particle_type.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParticleTypeManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_particle_drag(&self, type_index: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_particle_mass(&self, type_index: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_min_distance(&self, type_a: usize, type_b: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_forces(&self, type_a: usize, type_b: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_radii(&self, type_a: usize, type_b: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/vector.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sub<'a>(v1: &'a mut Vec2d, v2: &Vec2d) -> &'a mut Vec2d { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `len` is never used [INFO] [stdout] --> src/vector.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn len(v: &Vec2d) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/vector.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn normalize(v: &mut Vec2d) -> &mut Vec2d { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_scalar` is never used [INFO] [stdout] --> src/vector.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn mul_scalar(v: &mut Vec2d, a: f64) -> &mut Vec2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div_scalar` is never used [INFO] [stdout] --> src/vector.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn div_scalar(v: &mut Vec2d, a: f64) -> &mut Vec2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/vector.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remap(x: f64, a: f64, b: f64, c: f64, d: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "f0fc4830c6cdb29e37028ae682407f6650d6741c867806292f0070a5992dcccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0fc4830c6cdb29e37028ae682407f6650d6741c867806292f0070a5992dcccc", kill_on_drop: false }` [INFO] [stdout] f0fc4830c6cdb29e37028ae682407f6650d6741c867806292f0070a5992dcccc