[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] testing parkerpierpont/wgsl-preprocess against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerpierpont%2Fwgsl-preprocess" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parkerpierpont/wgsl-preprocess on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-4/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 904bed68050ba13bd26358374987b5a0f3112fa9a6b3c7f6c80ab0a091da8683 [INFO] running `Command { std: "docker" "start" "-a" "904bed68050ba13bd26358374987b5a0f3112fa9a6b3c7f6c80ab0a091da8683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "904bed68050ba13bd26358374987b5a0f3112fa9a6b3c7f6c80ab0a091da8683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904bed68050ba13bd26358374987b5a0f3112fa9a6b3c7f6c80ab0a091da8683", kill_on_drop: false }` [INFO] [stdout] 904bed68050ba13bd26358374987b5a0f3112fa9a6b3c7f6c80ab0a091da8683 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bd7e745b56ee123a8cf4e848d6b9293deaa6e394d8ff6bb1997d6b62c78c443 [INFO] running `Command { std: "docker" "start" "-a" "0bd7e745b56ee123a8cf4e848d6b9293deaa6e394d8ff6bb1997d6b62c78c443", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ash v0.35.1+1.2.203 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling wgpu-core v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Compiling wgpu-types v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling 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] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.0 (https://github.com/gfx-rs/naga?rev=0ce98d6#0ce98d64) [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling wgpu-hal v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Compiling wgpu v0.12.0 (https://github.com/gfx-rs/wgpu?rev=3e0305d27d790034fc54ef871f733399fb7cd374#3e0305d2) [INFO] [stderr] Compiling 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: 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] Compiling playground v0.1.0 (/opt/rustwide/workdir/crates/playground) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.94s [INFO] running `Command { std: "docker" "inspect" "0bd7e745b56ee123a8cf4e848d6b9293deaa6e394d8ff6bb1997d6b62c78c443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd7e745b56ee123a8cf4e848d6b9293deaa6e394d8ff6bb1997d6b62c78c443", kill_on_drop: false }` [INFO] [stdout] 0bd7e745b56ee123a8cf4e848d6b9293deaa6e394d8ff6bb1997d6b62c78c443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cae29f1756cd306478091cf55379e80dd5aad36c7eea3bcbd06c657ebe30c61a [INFO] running `Command { std: "docker" "start" "-a" "cae29f1756cd306478091cf55379e80dd5aad36c7eea3bcbd06c657ebe30c61a", kill_on_drop: false }` [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] [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] [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] [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] [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] [stderr] Compiling runtime v0.1.0 (/opt/rustwide/workdir/crates/runtime) [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] Compiling playground v0.1.0 (/opt/rustwide/workdir/crates/playground) [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] Finished test [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "cae29f1756cd306478091cf55379e80dd5aad36c7eea3bcbd06c657ebe30c61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae29f1756cd306478091cf55379e80dd5aad36c7eea3bcbd06c657ebe30c61a", kill_on_drop: false }` [INFO] [stdout] cae29f1756cd306478091cf55379e80dd5aad36c7eea3bcbd06c657ebe30c61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61377815b5da2cb0ba781cbe6e1bea88d7b1cbb1cc1497e61912077d345235d2 [INFO] running `Command { std: "docker" "start" "-a" "61377815b5da2cb0ba781cbe6e1bea88d7b1cbb1cc1497e61912077d345235d2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "61377815b5da2cb0ba781cbe6e1bea88d7b1cbb1cc1497e61912077d345235d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61377815b5da2cb0ba781cbe6e1bea88d7b1cbb1cc1497e61912077d345235d2", kill_on_drop: false }` [INFO] [stdout] 61377815b5da2cb0ba781cbe6e1bea88d7b1cbb1cc1497e61912077d345235d2