[INFO] cloning repository https://github.com/parkerpierpont/wgsl-preprocess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parkerpierpont/wgsl-preprocess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerpierpont%2Fwgsl-preprocess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerpierpont%2Fwgsl-preprocess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d9b2a248bc8a458fef3fcf503a4c50f8d2051d6 [INFO] checking parkerpierpont/wgsl-preprocess against master#4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerpierpont%2Fwgsl-preprocess" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parkerpierpont/wgsl-preprocess on toolchain 4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/parkerpierpont/wgsl-preprocess [INFO] finished tweaking git repo https://github.com/parkerpierpont/wgsl-preprocess [INFO] tweaked toml for git repo https://github.com/parkerpierpont/wgsl-preprocess written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/parkerpierpont/wgsl-preprocess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e65354070af97efd2c3d83edcf80385b8a382b079936b8a02458b31da461e21 [INFO] running `Command { std: "docker" "start" "-a" "6e65354070af97efd2c3d83edcf80385b8a382b079936b8a02458b31da461e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e65354070af97efd2c3d83edcf80385b8a382b079936b8a02458b31da461e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e65354070af97efd2c3d83edcf80385b8a382b079936b8a02458b31da461e21", kill_on_drop: false }` [INFO] [stdout] 6e65354070af97efd2c3d83edcf80385b8a382b079936b8a02458b31da461e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b761a99880687215a85734c35a3550ddfd6901f284bb6a3878d3e84dd4b6266c [INFO] running `Command { std: "docker" "start" "-a" "b761a99880687215a85734c35a3550ddfd6901f284bb6a3878d3e84dd4b6266c", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling ash v0.35.1+1.2.203 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking profiling v1.0.5 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking wgpu-types v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking pp-rs v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Checking gpu-alloc v0.5.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking gpu-descriptor v0.2.2 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking glam v0.20.2 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking naga v0.8.0 (https://github.com/gfx-rs/naga?rev=0ce98d6#0ce98d64) [INFO] [stderr] Checking naga v0.8.5 [INFO] [stderr] Checking wgpu-hal v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Checking wgpu v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Checking runtime v0.1.0 (/opt/rustwide/workdir/crates/runtime) [INFO] [stdout] warning: unused imports: `path::PathBuf`, `str::FromStr` [INFO] [stdout] --> crates/runtime/src/shader.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | borrow::Cow, collections::HashSet, marker::Copy, ops::Deref, path::PathBuf, str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf`, `str::FromStr` [INFO] [stdout] --> crates/runtime/src/shader.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | borrow::Cow, collections::HashSet, marker::Copy, ops::Deref, path::PathBuf, str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GlslParse` [INFO] [stdout] --> crates/runtime/src/shader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | GlslParse(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ShaderReflectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> crates/runtime/src/shader.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | source: Source, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | import_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `imports` [INFO] [stdout] --> crates/runtime/src/shader.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | imports: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_wgsl(source: impl Into>) -> Shader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_glsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_glsl(source: impl Into>, stage: naga::ShaderStage) -> Shader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_spirv` [INFO] [stdout] --> crates/runtime/src/shader.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from_spirv(source: impl Into>) -> Shader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_import_path>(&mut self, import_path: P) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn with_import_path>(mut self, import_path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn import_path(&self) -> Option<&ShaderImport> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `imports` [INFO] [stdout] --> crates/runtime/src/shader.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn imports(&self) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Wgsl(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Source` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | Glsl(Cow<'static, str>, naga::ShaderStage), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Source` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpirV` [INFO] [stdout] --> crates/runtime/src/shader.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | SpirV(Cow<'static, [u8]>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Source` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Wgsl(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessedShader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Glsl(Cow<'static, str>, naga::ShaderStage), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessedShader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpirV` [INFO] [stdout] --> crates/runtime/src/shader.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | SpirV(Cow<'static, [u8]>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessedShader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wgsl_source` [INFO] [stdout] --> crates/runtime/src/shader.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_wgsl_source(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_glsl_source` [INFO] [stdout] --> crates/runtime/src/shader.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_glsl_source(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> crates/runtime/src/shader.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn reflect(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_module_descriptor` [INFO] [stdout] --> crates/runtime/src/shader.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn get_module_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ShaderReflection` [INFO] [stdout] --> crates/runtime/src/shader.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct ShaderReflection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_spirv` [INFO] [stdout] --> crates/runtime/src/shader.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_spirv(&self) -> Result, naga::back::spv::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_wgsl(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TooManyEndIfs` [INFO] [stdout] --> crates/runtime/src/shader.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | TooManyEndIfs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEnoughEndIfs` [INFO] [stdout] --> crates/runtime/src/shader.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | NotEnoughEndIfs, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShaderFormatDoesNotSupportShaderDefs` [INFO] [stdout] --> crates/runtime/src/shader.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | ShaderFormatDoesNotSupportShaderDefs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShaderFormatDoesNotSupportImports` [INFO] [stdout] --> crates/runtime/src/shader.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | ShaderFormatDoesNotSupportImports, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnresolvedImport` [INFO] [stdout] --> crates/runtime/src/shader.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | UnresolvedImport(ShaderImport), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MismatchedImportFormat` [INFO] [stdout] --> crates/runtime/src/shader.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | MismatchedImportFormat(ShaderImport), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_asset_path_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | import_asset_path_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_custom_path_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | import_custom_path_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AssetPath` [INFO] [stdout] --> crates/runtime/src/shader.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | AssetPath(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ShaderImport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Debug, PartialEq, Eq, Clone, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> crates/runtime/src/shader.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | Custom(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ShaderImport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Debug, PartialEq, Eq, Clone, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_imports` [INFO] [stdout] --> crates/runtime/src/shader.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn get_imports(&self, shader: &Shader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_imports_from_str` [INFO] [stdout] --> crates/runtime/src/shader.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_imports_from_str(&self, shader: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHADER_IMPORT_PROCESSOR` [INFO] [stdout] --> crates/runtime/src/shader.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / pub static SHADER_IMPORT_PROCESSOR: Lazy = [INFO] [stdout] 270 | | Lazy::new(ShaderImportProcessor::default); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHADER_CURRENT_ID` [INFO] [stdout] --> crates/runtime/src/shader.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | static SHADER_CURRENT_ID: AtomicU32 = AtomicU32::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/runtime/src/shader.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ifdef_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | ifdef_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ifndef_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | ifndef_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `else_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | else_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endif_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | endif_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> crates/runtime/src/shader.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_import` [INFO] [stdout] --> crates/runtime/src/shader.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | fn apply_import( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GlslParse` [INFO] [stdout] --> crates/runtime/src/shader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | GlslParse(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ShaderReflectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> crates/runtime/src/shader.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | source: Source, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | import_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `imports` [INFO] [stdout] --> crates/runtime/src/shader.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | imports: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_wgsl(source: impl Into>) -> Shader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_glsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_glsl(source: impl Into>, stage: naga::ShaderStage) -> Shader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_spirv` [INFO] [stdout] --> crates/runtime/src/shader.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from_spirv(source: impl Into>) -> Shader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_import_path>(&mut self, import_path: P) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn with_import_path>(mut self, import_path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_path` [INFO] [stdout] --> crates/runtime/src/shader.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn import_path(&self) -> Option<&ShaderImport> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `imports` [INFO] [stdout] --> crates/runtime/src/shader.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn imports(&self) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Wgsl(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Source` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | Glsl(Cow<'static, str>, naga::ShaderStage), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Source` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpirV` [INFO] [stdout] --> crates/runtime/src/shader.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | SpirV(Cow<'static, [u8]>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Source` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Wgsl(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessedShader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Glsl(Cow<'static, str>, naga::ShaderStage), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessedShader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SpirV` [INFO] [stdout] --> crates/runtime/src/shader.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | SpirV(Cow<'static, [u8]>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessedShader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wgsl_source` [INFO] [stdout] --> crates/runtime/src/shader.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_wgsl_source(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_glsl_source` [INFO] [stdout] --> crates/runtime/src/shader.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_glsl_source(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> crates/runtime/src/shader.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn reflect(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_module_descriptor` [INFO] [stdout] --> crates/runtime/src/shader.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn get_module_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ShaderReflection` [INFO] [stdout] --> crates/runtime/src/shader.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct ShaderReflection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_spirv` [INFO] [stdout] --> crates/runtime/src/shader.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_spirv(&self) -> Result, naga::back::spv::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wgsl` [INFO] [stdout] --> crates/runtime/src/shader.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_wgsl(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TooManyEndIfs` [INFO] [stdout] --> crates/runtime/src/shader.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | TooManyEndIfs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEnoughEndIfs` [INFO] [stdout] --> crates/runtime/src/shader.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | NotEnoughEndIfs, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShaderFormatDoesNotSupportShaderDefs` [INFO] [stdout] --> crates/runtime/src/shader.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | ShaderFormatDoesNotSupportShaderDefs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShaderFormatDoesNotSupportImports` [INFO] [stdout] --> crates/runtime/src/shader.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | ShaderFormatDoesNotSupportImports, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnresolvedImport` [INFO] [stdout] --> crates/runtime/src/shader.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | UnresolvedImport(ShaderImport), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MismatchedImportFormat` [INFO] [stdout] --> crates/runtime/src/shader.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | MismatchedImportFormat(ShaderImport), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProcessShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Error, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_asset_path_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | import_asset_path_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_custom_path_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | import_custom_path_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AssetPath` [INFO] [stdout] --> crates/runtime/src/shader.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | AssetPath(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ShaderImport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Debug, PartialEq, Eq, Clone, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> crates/runtime/src/shader.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | Custom(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ShaderImport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/runtime/src/shader.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Debug, PartialEq, Eq, Clone, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_imports` [INFO] [stdout] --> crates/runtime/src/shader.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn get_imports(&self, shader: &Shader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_imports_from_str` [INFO] [stdout] --> crates/runtime/src/shader.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_imports_from_str(&self, shader: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHADER_IMPORT_PROCESSOR` [INFO] [stdout] --> crates/runtime/src/shader.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / pub static SHADER_IMPORT_PROCESSOR: Lazy = [INFO] [stdout] 270 | | Lazy::new(ShaderImportProcessor::default); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHADER_CURRENT_ID` [INFO] [stdout] --> crates/runtime/src/shader.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | static SHADER_CURRENT_ID: AtomicU32 = AtomicU32::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/runtime/src/shader.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ifdef_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | ifdef_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ifndef_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | ifndef_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `else_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | else_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endif_regex` [INFO] [stdout] --> crates/runtime/src/shader.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | endif_regex: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> crates/runtime/src/shader.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_import` [INFO] [stdout] --> crates/runtime/src/shader.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | fn apply_import( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking playground v0.1.0 (/opt/rustwide/workdir/crates/playground) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.76s [INFO] running `Command { std: "docker" "inspect" "b761a99880687215a85734c35a3550ddfd6901f284bb6a3878d3e84dd4b6266c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b761a99880687215a85734c35a3550ddfd6901f284bb6a3878d3e84dd4b6266c", kill_on_drop: false }` [INFO] [stdout] b761a99880687215a85734c35a3550ddfd6901f284bb6a3878d3e84dd4b6266c