[INFO] cloning repository https://github.com/AdamOlsson/wgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamOlsson/wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamOlsson%2Fwgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamOlsson%2Fwgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53e3f91fa09efd015476f5cea04965c259e37b35 [INFO] checking AdamOlsson/wgpu against master#e1ac0fa95ba15221ee195647cb12464df3164513 for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamOlsson%2Fwgpu" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdamOlsson/wgpu on toolchain e1ac0fa95ba15221ee195647cb12464df3164513 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1ac0fa95ba15221ee195647cb12464df3164513" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdamOlsson/wgpu [INFO] finished tweaking git repo https://github.com/AdamOlsson/wgpu [INFO] tweaked toml for git repo https://github.com/AdamOlsson/wgpu written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdamOlsson/wgpu 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" "+e1ac0fa95ba15221ee195647cb12464df3164513" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.image.deafault-features [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded half v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e1ac0fa95ba15221ee195647cb12464df3164513" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c6bed25dbe2d9d402fa542271466c220aa0d2b62f42eed315c4241e6adaa1cc [INFO] running `Command { std: "docker" "start" "-a" "9c6bed25dbe2d9d402fa542271466c220aa0d2b62f42eed315c4241e6adaa1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c6bed25dbe2d9d402fa542271466c220aa0d2b62f42eed315c4241e6adaa1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c6bed25dbe2d9d402fa542271466c220aa0d2b62f42eed315c4241e6adaa1cc", kill_on_drop: false }` [INFO] [stdout] 9c6bed25dbe2d9d402fa542271466c220aa0d2b62f42eed315c4241e6adaa1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e1ac0fa95ba15221ee195647cb12464df3164513" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42ba559d918c343b3e467b5c645786f9e2ce9be4b527e3576a0c0b0d21ddffb0 [INFO] running `Command { std: "docker" "start" "-a" "42ba559d918c343b3e467b5c645786f9e2ce9be4b527e3576a0c0b0d21ddffb0", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.image.deafault-features [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] error: could not compile `ash` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/e1ac0fa95ba15221ee195647cb12464df3164513/bin/rustc --crate-name ash --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.3+1.3.251/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="debug"' --cfg 'feature="default"' --cfg 'feature="libloading"' --cfg 'feature="loaded"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("debug", "default", "libloading", "linked", "loaded"))' -C metadata=a20fabdf37b436a7 -C extra-filename=-a20fabdf37b436a7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern libloading=/opt/rustwide/target/debug/deps/liblibloading-81adf139dc0e97f7.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `x11rb-protocol` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/e1ac0fa95ba15221ee195647cb12464df3164513/bin/rustc --crate-name x11rb_protocol --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/x11rb-protocol-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="randr"' --cfg 'feature="render"' --cfg 'feature="resource_manager"' --cfg 'feature="shape"' --cfg 'feature="std"' --cfg 'feature="xfixes"' --cfg 'feature="xinput"' --cfg 'feature="xkb"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-extensions", "composite", "damage", "dbe", "default", "dpms", "dri2", "dri3", "extra-traits", "glx", "present", "randr", "record", "render", "request-parsing", "res", "resource_manager", "screensaver", "serde", "shape", "shm", "std", "sync", "xevie", "xf86dri", "xf86vidmode", "xfixes", "xinerama", "xinput", "xkb", "xprint", "xselinux", "xtest", "xv", "xvmc"))' -C metadata=dbe665851a130408 -C extra-filename=-dbe665851a130408 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "42ba559d918c343b3e467b5c645786f9e2ce9be4b527e3576a0c0b0d21ddffb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ba559d918c343b3e467b5c645786f9e2ce9be4b527e3576a0c0b0d21ddffb0", kill_on_drop: false }` [INFO] [stdout] 42ba559d918c343b3e467b5c645786f9e2ce9be4b527e3576a0c0b0d21ddffb0 [INFO] checking AdamOlsson/wgpu against try#09fa13185567a1d9c37905d6a4a2ea56e7f44efc for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamOlsson%2Fwgpu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdamOlsson/wgpu on toolchain 09fa13185567a1d9c37905d6a4a2ea56e7f44efc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdamOlsson/wgpu [INFO] finished tweaking git repo https://github.com/AdamOlsson/wgpu [INFO] tweaked toml for git repo https://github.com/AdamOlsson/wgpu written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AdamOlsson/wgpu 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" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.image.deafault-features [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33d5287cc52effc581b9559336f419ed32bd78a2dfd2882bbcbdf6fc1c09b579 [INFO] running `Command { std: "docker" "start" "-a" "33d5287cc52effc581b9559336f419ed32bd78a2dfd2882bbcbdf6fc1c09b579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d5287cc52effc581b9559336f419ed32bd78a2dfd2882bbcbdf6fc1c09b579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d5287cc52effc581b9559336f419ed32bd78a2dfd2882bbcbdf6fc1c09b579", kill_on_drop: false }` [INFO] [stdout] 33d5287cc52effc581b9559336f419ed32bd78a2dfd2882bbcbdf6fc1c09b579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7548d58c5994b9a214aaec82083d19ba45d0e31ff1f371fae784fdd3cb566904 [INFO] running `Command { std: "docker" "start" "-a" "7548d58c5994b9a214aaec82083d19ba45d0e31ff1f371fae784fdd3cb566904", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.image.deafault-features [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking rust-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/renderer_backend/render_pass.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/shapes/triangle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collision_simulation::CollisionSimulation`, `gravity_simulation::GravitySimulation`, and `self` [INFO] [stdout] --> src/state.rs:3:132 [INFO] [stdout] | [INFO] [stdout] 3 | ...ss, Pass}, simulation::{self, collision_simulation::CollisionSimulation, gravity_simulation::GravitySimulation, verlet_integration::Ve... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InnerSpace` [INFO] [stdout] --> src/simulation/gravity_simulation.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{num_traits::Pow, ElementWise, InnerSpace, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{thread, time::Instant}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/renderer_backend/render_pass.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/shapes/triangle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collision_simulation::CollisionSimulation`, `gravity_simulation::GravitySimulation`, and `self` [INFO] [stdout] --> src/state.rs:3:132 [INFO] [stdout] | [INFO] [stdout] 3 | ...ss, Pass}, simulation::{self, collision_simulation::CollisionSimulation, gravity_simulation::GravitySimulation, verlet_integration::Ve... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InnerSpace` [INFO] [stdout] --> src/simulation/gravity_simulation.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{num_traits::Pow, ElementWise, InnerSpace, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{thread, time::Instant}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let duration = start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let duration = start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/gravity_simulation.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut positions = [Vector3::new(0.0,-0.6,0.0); MAX_INSTANCES]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` 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: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 12 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `build_vertex_grid`, and `build_index_grid` are never used [INFO] [stdout] --> src/world.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl World { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 18 | pub fn new(color: [f32;3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn build_vertex_grid(width: u32, height: u32, color: [f32;3]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn build_index_grid(width: u32, height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shapes/triangle.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translate`, and `get_vertices` are never used [INFO] [stdout] --> src/shapes/triangle.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(center: [f32;3], base: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn translate(&mut self, translation: [f32;3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get_vertices(center: [f32;3], base: f32, height: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `radius`, `indices`, `num_indices`, `vertices`, and `velocity` are never read [INFO] [stdout] --> src/shapes/circle.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub position: [f32;3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub num_indices: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub velocity: [f32;3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translate`, and `update` are never used [INFO] [stdout] --> src/shapes/circle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(position: [f32;3], radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn translate(&mut self, translation: [f32;3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_INSTANCES` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_INSTANCES: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Boundary` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Boundary { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionSimulation` is never constructed [INFO] [stdout] --> src/simulation/collision_simulation.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CollisionSimulation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_LEFT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const TOP_LEFT: Vector3 = Vector3::new(-1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_RIGHT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const TOP_RIGHT: Vector3 = Vector3::new(1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_LEFT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const BOTTOM_LEFT: Vector3 = Vector3::new(-1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_RIGHT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const BOTTOM_RIGHT: Vector3 = Vector3::new(1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl CollisionSimulation { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 42 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn create_bbox(pos: Vector3, vel: Vector3, radius: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn create_bounding_sphere(pos: Vector3, vel: Vector3, r: f32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn boundary_collision_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn vertical_boundary_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn horizontal_boundary_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPATIAL_SUBDIVISION_2D_CELL_OFFSET` is never used [INFO] [stdout] --> src/simulation/spatial_subdivision.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SPATIAL_SUBDIVISION_2D_CELL_OFFSET: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Object` is never constructed [INFO] [stdout] --> src/simulation/spatial_subdivision.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionCell` is never constructed [INFO] [stdout] --> src/simulation/spatial_subdivision.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct CollisionCell { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpatialSubdivision2D` is never constructed [INFO] [stdout] --> src/simulation/spatial_subdivision.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SpatialSubdivision2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/simulation/spatial_subdivision.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SpatialSubdivision2D { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(cell_size: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn point_to_cell_id(&self, point: Vector2) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_cell_id_center(cell_id: u32, cell_size: f32, num_cells: u32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn get_neighbor_cell_ids(cell_id: i32, num_cells: i32) -> [u32;8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn compute_phantom_cell_ids(&self, bounding_sphere: Vector3, cell_size: f32, num_cells: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn cell_id_to_cell_type(cell_id: u32, num_cells: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn construct_arrays(&self, bounding_spheres: &Vec>, cells: &mut Vec, objects: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn sort_arrays(cell_id_array: &mut Vec, object_id_array: &mut Vec, num_cells: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn create_collision_cell_list(&self, cell_id_array: &Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn skip_detailed_collision_check(a: &Object, b: &Object, pass_num: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn run_pass( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn run(&self, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const BOTTOM_IDX: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LEFT_IDX: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const RIGHT_IDX: u8 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TOP_IDX: u8 = 3; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X_AXIS` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const X_AXIS: u8 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Y_AXIS` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const Y_AXIS: u8 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_LEFT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const BOTTOM_LEFT_CORNER: Vector3 = Vector3::new(-1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_RIGHT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const BOTTOM_RIGHT_CORNER: Vector3 = Vector3::new(1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_RIGHT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TOP_RIGHT_CORNER: Vector3= Vector3::new(1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_LEFT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TOP_LEFT_CORNER: Vector3 = Vector3::new(-1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_VELOCITY_THRESHOLD` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const ZERO_VELOCITY_THRESHOLD: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GravitySimulation` is never constructed [INFO] [stdout] --> src/simulation/gravity_simulation.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct GravitySimulation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl GravitySimulation { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn nonlinear_crf(impact_velocity: f32, e_0: f32, k: f32, n:f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn round_to_3_decimals(value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn elastic_circle_border_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn elastic_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn circle_border_collision_detection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_initial_positions_square_grid` is never used [INFO] [stdout] --> src/simulation/util/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn generate_initial_positions_square_grid(num_instances: u32, radius: f32) -> [Vector3; MAX_INSTANCES]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_velocities` is never used [INFO] [stdout] --> src/simulation/util/mod.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn generate_random_velocities() -> [Vector3; MAX_INSTANCES] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle_line_collision_detection` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn circle_line_collision_detection(line_start: Vector3, line_stop: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle_line_segment_collision_detection` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn circle_line_segment_collision_detection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_lines_intersect` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn do_lines_intersect(start_a: [f32;3], end_a: [f32;3], start_b: [f32;3], end_b: [f32;3]) -> Option>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_line_segments_intersect` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) fn do_line_segments_intersect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_line` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) fn closest_point_on_line(line_start: Vector3, line_end: Vector3, p: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_line_segment` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn closest_point_on_line_segment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_collision_point` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | pub(crate) fn compute_collision_point( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `continous_circle_circle_collision_detection` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | pub(crate) fn continous_circle_circle_collision_detection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle_circle_collision_response` is never used [INFO] [stdout] --> src/simulation/util/collision_response.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn circle_circle_collision_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mass` is never read [INFO] [stdout] --> src/simulation/verlet_integration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VerletIntegration { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | mass: [f32; MAX_INSTANCES], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `spatial_subdivision` and `get_local_cell_ids` are never used [INFO] [stdout] --> src/simulation/verlet_integration.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl VerletIntegration { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn spatial_subdivision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn get_local_cell_ids(center_id: u32, grid_width: u32) -> [u32; 9] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/gravity_simulation.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut positions = [Vector3::new(0.0,-0.6,0.0); MAX_INSTANCES]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` 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: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 12 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/world.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `build_vertex_grid`, and `build_index_grid` are never used [INFO] [stdout] --> src/world.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl World { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 18 | pub fn new(color: [f32;3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn build_vertex_grid(width: u32, height: u32, color: [f32;3]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn build_index_grid(width: u32, height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shapes/triangle.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translate`, and `get_vertices` are never used [INFO] [stdout] --> src/shapes/triangle.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(center: [f32;3], base: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn translate(&mut self, translation: [f32;3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get_vertices(center: [f32;3], base: f32, height: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `radius`, `indices`, `num_indices`, `vertices`, and `velocity` are never read [INFO] [stdout] --> src/shapes/circle.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub position: [f32;3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub num_indices: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub velocity: [f32;3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translate`, and `update` are never used [INFO] [stdout] --> src/shapes/circle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(position: [f32;3], radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn translate(&mut self, translation: [f32;3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Boundary` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Boundary { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/simulation/collision_simulation.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CollisionSimulation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 23 | pub positions: [Vector3; MAX_INSTANCES], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub colors: [Vector3; MAX_INSTANCES], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub mass: [f32; MAX_INSTANCES], [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | velocities: [Vector3; MAX_INSTANCES], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub num_instances: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | pub vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub num_indices: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_LEFT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const TOP_LEFT: Vector3 = Vector3::new(-1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_RIGHT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const TOP_RIGHT: Vector3 = Vector3::new(1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_LEFT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const BOTTOM_LEFT: Vector3 = Vector3::new(-1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_RIGHT` is never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const BOTTOM_RIGHT: Vector3 = Vector3::new(1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_bbox`, `update`, `boundary_collision_response`, `vertical_boundary_collision`, and `horizontal_boundary_collision` are never used [INFO] [stdout] --> src/simulation/collision_simulation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl CollisionSimulation { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 42 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn create_bbox(pos: Vector3, vel: Vector3, radius: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn boundary_collision_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn vertical_boundary_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn horizontal_boundary_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run_pass` and `run` are never used [INFO] [stdout] --> src/simulation/spatial_subdivision.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl SpatialSubdivision2D { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 362 | fn run_pass( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn run(&self, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const BOTTOM_IDX: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LEFT_IDX: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const RIGHT_IDX: u8 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_IDX` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TOP_IDX: u8 = 3; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X_AXIS` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const X_AXIS: u8 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Y_AXIS` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const Y_AXIS: u8 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_LEFT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const BOTTOM_LEFT_CORNER: Vector3 = Vector3::new(-1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM_RIGHT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const BOTTOM_RIGHT_CORNER: Vector3 = Vector3::new(1.0, -1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_RIGHT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TOP_RIGHT_CORNER: Vector3= Vector3::new(1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP_LEFT_CORNER` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TOP_LEFT_CORNER: Vector3 = Vector3::new(-1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_VELOCITY_THRESHOLD` is never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const ZERO_VELOCITY_THRESHOLD: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GravitySimulation` is never constructed [INFO] [stdout] --> src/simulation/gravity_simulation.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct GravitySimulation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/simulation/gravity_simulation.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl GravitySimulation { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn nonlinear_crf(impact_velocity: f32, e_0: f32, k: f32, n:f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn round_to_3_decimals(value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn elastic_circle_border_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn elastic_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn circle_border_collision_detection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_initial_positions_square_grid` is never used [INFO] [stdout] --> src/simulation/util/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn generate_initial_positions_square_grid(num_instances: u32, radius: f32) -> [Vector3; MAX_INSTANCES]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_velocities` is never used [INFO] [stdout] --> src/simulation/util/mod.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn generate_random_velocities() -> [Vector3; MAX_INSTANCES] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle_line_collision_detection` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn circle_line_collision_detection(line_start: Vector3, line_stop: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_collision_point` is never used [INFO] [stdout] --> src/simulation/util/collision_detection.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | pub(crate) fn compute_collision_point( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mass` is never read [INFO] [stdout] --> src/simulation/verlet_integration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VerletIntegration { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | mass: [f32; MAX_INSTANCES], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `spatial_subdivision` and `get_local_cell_ids` are never used [INFO] [stdout] --> src/simulation/verlet_integration.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl VerletIntegration { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn spatial_subdivision( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn get_local_cell_ids(center_id: u32, grid_width: u32) -> [u32; 9] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.94s [INFO] running `Command { std: "docker" "inspect" "7548d58c5994b9a214aaec82083d19ba45d0e31ff1f371fae784fdd3cb566904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7548d58c5994b9a214aaec82083d19ba45d0e31ff1f371fae784fdd3cb566904", kill_on_drop: false }` [INFO] [stdout] 7548d58c5994b9a214aaec82083d19ba45d0e31ff1f371fae784fdd3cb566904