[INFO] cloning repository https://github.com/erwanvivien/gltf_preview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erwanvivien/gltf_preview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwanvivien%2Fgltf_preview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwanvivien%2Fgltf_preview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45128edb4eb895ccbca605988ee6871836511bd8 [INFO] testing erwanvivien/gltf_preview against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwanvivien%2Fgltf_preview" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erwanvivien/gltf_preview on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erwanvivien/gltf_preview [INFO] finished tweaking git repo https://github.com/erwanvivien/gltf_preview [INFO] tweaked toml for git repo https://github.com/erwanvivien/gltf_preview written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erwanvivien/gltf_preview 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mikktspace v0.3.0 [INFO] [stderr] Downloaded memchr v2.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0435387dce3ca85767d12e4b912d050b10a86f676cffc4b6d6ff7768b08a05a [INFO] running `Command { std: "docker" "start" "-a" "a0435387dce3ca85767d12e4b912d050b10a86f676cffc4b6d6ff7768b08a05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0435387dce3ca85767d12e4b912d050b10a86f676cffc4b6d6ff7768b08a05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0435387dce3ca85767d12e4b912d050b10a86f676cffc4b6d6ff7768b08a05a", kill_on_drop: false }` [INFO] [stdout] a0435387dce3ca85767d12e4b912d050b10a86f676cffc4b6d6ff7768b08a05a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 961edc9235e752169d09649298a431ecd801e4d348c0bc07c1f5fada1c2d85b0 [INFO] running `Command { std: "docker" "start" "-a" "961edc9235e752169d09649298a431ecd801e4d348c0bc07c1f5fada1c2d85b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ttf-parser v0.19.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling rustix v0.38.10 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling profiling v1.0.10 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling bevy_macro_utils v0.10.1 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling bevy_ptr v0.10.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.10.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bevy_reflect_derive v0.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.10.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling gltf-derive v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling bevy_tasks v0.10.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling glam v0.15.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling glam v0.24.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling mikktspace v0.3.0 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling bevy_utils v0.10.1 [INFO] [stderr] Compiling bevy_reflect v0.10.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling gltf-json v1.3.0 [INFO] [stderr] Compiling bevy_ecs v0.10.1 [INFO] [stderr] Compiling gltf v1.3.0 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling input_manager v0.1.0 (/opt/rustwide/workdir/src/input_manager) [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Analog` is never constructed [INFO] [stdout] --> src/input_manager/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum KeyState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Analog(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mario_skurt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NodeIndex` [INFO] [stdout] --> src/render/asset_store/mesh.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NodeIndex, NodeLayout, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::TextureInfo` [INFO] [stdout] --> src/render/asset_store/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use material::TextureInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `webgl` [INFO] [stdout] --> src/render/mod.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(not(feature = "webgl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stdout] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `webgl` [INFO] [stdout] --> src/render/mod.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "webgl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stdout] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/render/asset_store/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | path: P, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/render/asset_store/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/render/asset_store/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct PerPrimitive { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 234 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index_buffer`, `vertex_buffer`, and `aabb` are never read [INFO] [stdout] --> src/render/asset_store/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | struct PackedPrimitives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 267 | index_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 268 | vertex_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | aabb: Aabb, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MorphTargetWeights` is never constructed [INFO] [stdout] --> src/render/asset_store/animation.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum PropertyValue { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | MorphTargetWeights(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/render/asset_store/animation.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PropertyValue { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 33 | pub fn kind(&self) -> PropertyKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_nodes` is never read [INFO] [stdout] --> src/render/asset_store/animation.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct Animation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 214 | pub target_nodes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tex_index` is never read [INFO] [stdout] --> src/render/asset_store/material.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TextureInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | pub texture_index: usize, [INFO] [stdout] 33 | pub tex_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureInfo` 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: fields `metallic`, `roughness`, and `metallic_roughness_texture` are never read [INFO] [stdout] --> src/render/asset_store/material.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MetallicRoughness { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 38 | metallic: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | roughness: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | metallic_roughness_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetallicRoughness` 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: multiple fields are never read [INFO] [stdout] --> src/render/asset_store/material.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub emissive: [f32; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub occlusion: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub color_texture: Option, [INFO] [stdout] 51 | pub emissive_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub normals_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub occlusion_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub metallic_roughness: MetallicRoughness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub alpha_mode: AlphaMode, [INFO] [stdout] 56 | pub alpha_cutoff: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub double_sided: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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: associated items `unions` and `center` are never used [INFO] [stdout] --> src/render/asset_store/mesh.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Aabb { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn unions(aabbs: &[Self]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn center(&self) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DEFAULT_COLOR` is never used [INFO] [stdout] --> src/render/asset_store/mesh.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimitiveVertex { [INFO] [stdout] | -------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub const DEFAULT_COLOR: [f32; 4] = [1f32; 4]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aabb` is never read [INFO] [stdout] --> src/render/asset_store/mesh.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Primitive { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | pub aabb: Aabb, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transform_local` and `children_index` are never read [INFO] [stdout] --> src/render/asset_store/node_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct NodeData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | transform_local: glam::Mat4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | children_index: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_mesh` is never read [INFO] [stdout] --> src/render/asset_store/node_layout.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NodeLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | pub(super) mesh_nodes: HashMap>, [INFO] [stdout] 52 | pub(super) node_mesh: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transparent_models` is never read [INFO] [stdout] --> src/render/asset_store/world.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AssetRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 4 | pub opaque_models: Vec, [INFO] [stdout] 5 | pub transparent_models: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RenderPipeline` is never used [INFO] [stdout] --> src/render/render_pipeline/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait RenderPipeline {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all_flags`, `is_none`, `is_position`, `is_weight`, `is_joint`, and `is_color` are never used [INFO] [stdout] --> src/render/shaders/kind.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl ShaderKinds { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn all_flags() -> ShaderKinds { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_none(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn is_position(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_weight(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_joint(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_color(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/render/texture.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/asset_store/mod.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | index: unsafe { MODEL_INDEX.fetch_add(1, std::sync::atomic::Ordering::Relaxed) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/asset_store/mesh.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let index = unsafe { PRIMITIVE_COUNT.fetch_add(1, Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { GLOBAL_SHADERS.as_ref() }.expect("No shaders built")[name].clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | if unsafe { GLOBAL_SHADERS.as_ref() }.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let global_shaders = unsafe { GLOBAL_SHADERS.as_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if unsafe { &SAMPLER }.is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | if unsafe { &SAMPLER }.is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 114 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "961edc9235e752169d09649298a431ecd801e4d348c0bc07c1f5fada1c2d85b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961edc9235e752169d09649298a431ecd801e4d348c0bc07c1f5fada1c2d85b0", kill_on_drop: false }` [INFO] [stdout] 961edc9235e752169d09649298a431ecd801e4d348c0bc07c1f5fada1c2d85b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a3e50d2cf5b10e8315b5dbd16f282a63d0d4bd4f2a22c7c156f689e91a97b4 [INFO] running `Command { std: "docker" "start" "-a" "a9a3e50d2cf5b10e8315b5dbd16f282a63d0d4bd4f2a22c7c156f689e91a97b4", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stdout] --> src/input_manager/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature = "debug_input")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Analog` is never constructed [INFO] [stdout] --> src/input_manager/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum KeyState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Analog(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeIndex` [INFO] [stdout] --> src/render/asset_store/mesh.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NodeIndex, NodeLayout, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::TextureInfo` [INFO] [stdout] --> src/render/asset_store/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use material::TextureInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `webgl` [INFO] [stdout] --> src/render/mod.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(not(feature = "webgl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stdout] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `webgl` [INFO] [stdout] --> src/render/mod.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "webgl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stdout] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/render/asset_store/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | path: P, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/render/asset_store/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/render/asset_store/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct PerPrimitive { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 234 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index_buffer`, `vertex_buffer`, and `aabb` are never read [INFO] [stdout] --> src/render/asset_store/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | struct PackedPrimitives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 267 | index_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 268 | vertex_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | aabb: Aabb, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MorphTargetWeights` is never constructed [INFO] [stdout] --> src/render/asset_store/animation.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum PropertyValue { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | MorphTargetWeights(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/render/asset_store/animation.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PropertyValue { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 33 | pub fn kind(&self) -> PropertyKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_nodes` is never read [INFO] [stdout] --> src/render/asset_store/animation.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct Animation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 214 | pub target_nodes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tex_index` is never read [INFO] [stdout] --> src/render/asset_store/material.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TextureInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | pub texture_index: usize, [INFO] [stdout] 33 | pub tex_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureInfo` 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: fields `metallic`, `roughness`, and `metallic_roughness_texture` are never read [INFO] [stdout] --> src/render/asset_store/material.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MetallicRoughness { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 38 | metallic: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | roughness: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | metallic_roughness_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetallicRoughness` 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: multiple fields are never read [INFO] [stdout] --> src/render/asset_store/material.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub emissive: [f32; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub occlusion: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub color_texture: Option, [INFO] [stdout] 51 | pub emissive_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub normals_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub occlusion_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub metallic_roughness: MetallicRoughness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub alpha_mode: AlphaMode, [INFO] [stdout] 56 | pub alpha_cutoff: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub double_sided: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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: associated items `unions` and `center` are never used [INFO] [stdout] --> src/render/asset_store/mesh.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Aabb { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn unions(aabbs: &[Self]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn center(&self) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DEFAULT_COLOR` is never used [INFO] [stdout] --> src/render/asset_store/mesh.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimitiveVertex { [INFO] [stdout] | -------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub const DEFAULT_COLOR: [f32; 4] = [1f32; 4]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mario_skurt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `aabb` is never read [INFO] [stdout] --> src/render/asset_store/mesh.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Primitive { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | pub aabb: Aabb, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transform_local` and `children_index` are never read [INFO] [stdout] --> src/render/asset_store/node_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct NodeData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | transform_local: glam::Mat4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | children_index: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_mesh` is never read [INFO] [stdout] --> src/render/asset_store/node_layout.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NodeLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | pub(super) mesh_nodes: HashMap>, [INFO] [stdout] 52 | pub(super) node_mesh: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transparent_models` is never read [INFO] [stdout] --> src/render/asset_store/world.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AssetRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 4 | pub opaque_models: Vec, [INFO] [stdout] 5 | pub transparent_models: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RenderPipeline` is never used [INFO] [stdout] --> src/render/render_pipeline/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait RenderPipeline {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all_flags`, `is_none`, `is_position`, `is_weight`, `is_joint`, and `is_color` are never used [INFO] [stdout] --> src/render/shaders/kind.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl ShaderKinds { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn all_flags() -> ShaderKinds { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_none(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn is_position(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_weight(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_joint(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_color(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/render/texture.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/asset_store/mod.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | index: unsafe { MODEL_INDEX.fetch_add(1, std::sync::atomic::Ordering::Relaxed) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/asset_store/mesh.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let index = unsafe { PRIMITIVE_COUNT.fetch_add(1, Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { GLOBAL_SHADERS.as_ref() }.expect("No shaders built")[name].clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | if unsafe { GLOBAL_SHADERS.as_ref() }.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let global_shaders = unsafe { GLOBAL_SHADERS.as_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if unsafe { &SAMPLER }.is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | if unsafe { &SAMPLER }.is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 114 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeIndex` [INFO] [stdout] --> src/render/asset_store/mesh.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | NodeIndex, NodeLayout, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::TextureInfo` [INFO] [stdout] --> src/render/asset_store/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use material::TextureInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `webgl` [INFO] [stdout] --> src/render/mod.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(not(feature = "webgl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stdout] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `webgl` [INFO] [stdout] --> src/render/mod.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "webgl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stdout] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/render/asset_store/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | path: P, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/render/asset_store/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/render/asset_store/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct PerPrimitive { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 234 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index_buffer`, `vertex_buffer`, and `aabb` are never read [INFO] [stdout] --> src/render/asset_store/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | struct PackedPrimitives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 267 | index_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 268 | vertex_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | aabb: Aabb, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MorphTargetWeights` is never constructed [INFO] [stdout] --> src/render/asset_store/animation.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum PropertyValue { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | MorphTargetWeights(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/render/asset_store/animation.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PropertyValue { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 33 | pub fn kind(&self) -> PropertyKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_nodes` is never read [INFO] [stdout] --> src/render/asset_store/animation.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct Animation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 214 | pub target_nodes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tex_index` is never read [INFO] [stdout] --> src/render/asset_store/material.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TextureInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | pub texture_index: usize, [INFO] [stdout] 33 | pub tex_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureInfo` 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: fields `metallic`, `roughness`, and `metallic_roughness_texture` are never read [INFO] [stdout] --> src/render/asset_store/material.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MetallicRoughness { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 38 | metallic: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | roughness: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | metallic_roughness_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetallicRoughness` 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: multiple fields are never read [INFO] [stdout] --> src/render/asset_store/material.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub emissive: [f32; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub occlusion: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub color_texture: Option, [INFO] [stdout] 51 | pub emissive_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub normals_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub occlusion_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub metallic_roughness: MetallicRoughness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub alpha_mode: AlphaMode, [INFO] [stdout] 56 | pub alpha_cutoff: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub double_sided: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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: associated items `unions` and `center` are never used [INFO] [stdout] --> src/render/asset_store/mesh.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Aabb { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn unions(aabbs: &[Self]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn center(&self) -> glam::Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DEFAULT_COLOR` is never used [INFO] [stdout] --> src/render/asset_store/mesh.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 111 | impl PrimitiveVertex { [INFO] [stdout] | -------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub const DEFAULT_COLOR: [f32; 4] = [1f32; 4]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aabb` is never read [INFO] [stdout] --> src/render/asset_store/mesh.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Primitive { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | pub aabb: Aabb, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transform_local` and `children_index` are never read [INFO] [stdout] --> src/render/asset_store/node_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct NodeData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | transform_local: glam::Mat4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | children_index: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_mesh` is never read [INFO] [stdout] --> src/render/asset_store/node_layout.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NodeLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | pub(super) mesh_nodes: HashMap>, [INFO] [stdout] 52 | pub(super) node_mesh: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transparent_models` is never read [INFO] [stdout] --> src/render/asset_store/world.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AssetRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 4 | pub opaque_models: Vec, [INFO] [stdout] 5 | pub transparent_models: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RenderPipeline` is never used [INFO] [stdout] --> src/render/render_pipeline/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait RenderPipeline {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all_flags`, `is_none`, `is_position`, `is_weight`, `is_joint`, and `is_color` are never used [INFO] [stdout] --> src/render/shaders/kind.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl ShaderKinds { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn all_flags() -> ShaderKinds { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_none(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn is_position(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_weight(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_joint(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_color(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/render/texture.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/asset_store/mod.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | index: unsafe { MODEL_INDEX.fetch_add(1, std::sync::atomic::Ordering::Relaxed) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/asset_store/mesh.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let index = unsafe { PRIMITIVE_COUNT.fetch_add(1, Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { GLOBAL_SHADERS.as_ref() }.expect("No shaders built")[name].clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | if unsafe { GLOBAL_SHADERS.as_ref() }.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/render/shaders/mod.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let global_shaders = unsafe { GLOBAL_SHADERS.as_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if unsafe { &SAMPLER }.is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | if unsafe { &SAMPLER }.is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 114 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render/texture.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a9a3e50d2cf5b10e8315b5dbd16f282a63d0d4bd4f2a22c7c156f689e91a97b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a3e50d2cf5b10e8315b5dbd16f282a63d0d4bd4f2a22c7c156f689e91a97b4", kill_on_drop: false }` [INFO] [stdout] a9a3e50d2cf5b10e8315b5dbd16f282a63d0d4bd4f2a22c7c156f689e91a97b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09dae1b68e9208003ec61d31c265f8132245603d7195a2df4295b79ab272aa92 [INFO] running `Command { std: "docker" "start" "-a" "09dae1b68e9208003ec61d31c265f8132245603d7195a2df4295b79ab272aa92", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stderr] --> src/input_manager/src/lib.rs:98:15 [INFO] [stderr] | [INFO] [stderr] 98 | #[cfg(feature = "debug_input")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stderr] --> src/input_manager/src/lib.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | #[cfg(feature = "debug_input")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stderr] --> src/input_manager/src/lib.rs:128:15 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg(feature = "debug_input")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stderr] --> src/input_manager/src/lib.rs:157:15 [INFO] [stderr] | [INFO] [stderr] 157 | #[cfg(feature = "debug_input")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stderr] --> src/input_manager/src/lib.rs:189:15 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg(feature = "debug_input")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug_input` [INFO] [stderr] --> src/input_manager/src/lib.rs:217:15 [INFO] [stderr] | [INFO] [stderr] 217 | #[cfg(feature = "debug_input")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `debug_input` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: variant `Analog` is never constructed [INFO] [stderr] --> src/input_manager/src/lib.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 27 | enum KeyState { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 31 | Analog(f32), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `input_manager` (lib) generated 7 warnings [INFO] [stderr] warning: unused import: `NodeIndex` [INFO] [stderr] --> src/render/asset_store/mesh.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | NodeIndex, NodeLayout, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `material::TextureInfo` [INFO] [stderr] --> src/render/asset_store/mod.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub use material::TextureInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `webgl` [INFO] [stderr] --> src/render/mod.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | #[cfg(not(feature = "webgl"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stderr] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `webgl` [INFO] [stderr] --> src/render/mod.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | #[cfg(feature = "webgl")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `debug_all`, `debug_gltf`, `debug_gpu`, `debug_input`, `debug_shader`, `debug_window`, and `wasm` [INFO] [stderr] = help: consider adding `webgl` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/render/asset_store/mod.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | path: P, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `index` is never read [INFO] [stderr] --> src/render/asset_store/mod.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Model { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 79 | index: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/render/asset_store/mod.rs:234:5 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct PerPrimitive { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 234 | id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: fields `index_buffer`, `vertex_buffer`, and `aabb` are never read [INFO] [stderr] --> src/render/asset_store/mod.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 266 | struct PackedPrimitives { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 267 | index_buffer: wgpu::Buffer, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 268 | vertex_buffer: wgpu::Buffer, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | aabb: Aabb, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `MorphTargetWeights` is never constructed [INFO] [stderr] --> src/render/asset_store/animation.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub enum PropertyValue { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 29 | MorphTargetWeights(f32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `kind` is never used [INFO] [stderr] --> src/render/asset_store/animation.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl PropertyValue { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 33 | pub fn kind(&self) -> PropertyKind { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `target_nodes` is never read [INFO] [stderr] --> src/render/asset_store/animation.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 210 | pub struct Animation { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 214 | pub target_nodes: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `tex_index` is never read [INFO] [stderr] --> src/render/asset_store/material.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct TextureInfo { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 32 | pub texture_index: usize, [INFO] [stderr] 33 | pub tex_index: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TextureInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `metallic`, `roughness`, and `metallic_roughness_texture` are never read [INFO] [stderr] --> src/render/asset_store/material.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct MetallicRoughness { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 38 | metallic: f32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 39 | roughness: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 40 | metallic_roughness_texture: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MetallicRoughness` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/render/asset_store/material.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 48 | pub emissive: [f32; 3], [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 49 | pub occlusion: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 50 | pub color_texture: Option, [INFO] [stderr] 51 | pub emissive_texture: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | pub normals_texture: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | pub occlusion_texture: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | pub metallic_roughness: MetallicRoughness, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 55 | pub alpha_mode: AlphaMode, [INFO] [stderr] 56 | pub alpha_cutoff: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 57 | pub double_sided: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `unions` and `center` are never used [INFO] [stderr] --> src/render/asset_store/mesh.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Aabb { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn unions(aabbs: &[Self]) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn center(&self) -> glam::Vec3 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `DEFAULT_COLOR` is never used [INFO] [stderr] --> src/render/asset_store/mesh.rs:117:15 [INFO] [stderr] | [INFO] [stderr] 111 | impl PrimitiveVertex { [INFO] [stderr] | -------------------- associated constant in this implementation [INFO] [stderr] ... [INFO] [stderr] 117 | pub const DEFAULT_COLOR: [f32; 4] = [1f32; 4]; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `aabb` is never read [INFO] [stderr] --> src/render/asset_store/mesh.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 120 | pub struct Primitive { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 125 | pub aabb: Aabb, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `transform_local` and `children_index` are never read [INFO] [stderr] --> src/render/asset_store/node_layout.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub(super) struct NodeData { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | transform_local: glam::Mat4, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | children_index: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NodeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `node_mesh` is never read [INFO] [stderr] --> src/render/asset_store/node_layout.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct NodeLayout { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 51 | pub(super) mesh_nodes: HashMap>, [INFO] [stderr] 52 | pub(super) node_mesh: HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `transparent_models` is never read [INFO] [stderr] --> src/render/asset_store/world.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct AssetRegistry { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 4 | pub opaque_models: Vec, [INFO] [stderr] 5 | pub transparent_models: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `RenderPipeline` is never used [INFO] [stderr] --> src/render/render_pipeline/mod.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | trait RenderPipeline {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `all_flags`, `is_none`, `is_position`, `is_weight`, `is_joint`, and `is_color` are never used [INFO] [stderr] --> src/render/shaders/kind.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 41 | impl ShaderKinds { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 52 | fn all_flags() -> ShaderKinds { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn is_none(self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn is_position(self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn is_weight(self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn is_joint(self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn is_color(self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `texture` is never read [INFO] [stderr] --> src/render/texture.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Texture { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 2 | pub texture: wgpu::Texture, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/asset_store/mod.rs:373:29 [INFO] [stderr] | [INFO] [stderr] 373 | index: unsafe { MODEL_INDEX.fetch_add(1, std::sync::atomic::Ordering::Relaxed) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/asset_store/mesh.rs:165:34 [INFO] [stderr] | [INFO] [stderr] 165 | let index = unsafe { PRIMITIVE_COUNT.fetch_add(1, Ordering::Relaxed) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/shaders/mod.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | unsafe { GLOBAL_SHADERS.as_ref() }.expect("No shaders built")[name].clone() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/shaders/mod.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | if unsafe { GLOBAL_SHADERS.as_ref() }.is_none() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/render/shaders/mod.rs:31:35 [INFO] [stderr] | [INFO] [stderr] 31 | let global_shaders = unsafe { GLOBAL_SHADERS.as_mut() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/texture.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | if unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.is_none() } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/texture.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | unsafe { COLOR_TEXTURE_BIND_GROUP_LAYOUT.as_ref().unwrap() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/texture.rs:102:21 [INFO] [stderr] | [INFO] [stderr] 102 | if unsafe { &SAMPLER }.is_none() { [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 102 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/texture.rs:108:18 [INFO] [stderr] | [INFO] [stderr] 108 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/texture.rs:114:21 [INFO] [stderr] | [INFO] [stderr] 114 | if unsafe { &SAMPLER }.is_none() { [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 114 | if unsafe { &raw const SAMPLER }.is_none() { [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/render/texture.rs:120:18 [INFO] [stderr] | [INFO] [stderr] 120 | unsafe { SAMPLER.as_ref().unwrap() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `mario_skurt` (lib) generated 34 warnings (run `cargo fix --lib -p mario_skurt` to apply 2 suggestions) [INFO] [stderr] warning: `mario_skurt` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mario_skurt-474f6ed3effee970) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mario_skurt-48c0227af87b7029) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mario_skurt [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09dae1b68e9208003ec61d31c265f8132245603d7195a2df4295b79ab272aa92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09dae1b68e9208003ec61d31c265f8132245603d7195a2df4295b79ab272aa92", kill_on_drop: false }` [INFO] [stdout] 09dae1b68e9208003ec61d31c265f8132245603d7195a2df4295b79ab272aa92