[INFO] fetching crate librashader-spirv-cross 0.25.3... [INFO] checking librashader-spirv-cross-0.25.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate librashader-spirv-cross 0.25.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate librashader-spirv-cross 0.25.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate librashader-spirv-cross 0.25.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate librashader-spirv-cross 0.25.3 [INFO] tweaked toml for crates.io crate librashader-spirv-cross 0.25.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded build-target v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77bf9508d45b2ae10238f0ab4f27d81e0a568c94cca982c8f7a7570fc2a75e10 [INFO] running `Command { std: "docker" "start" "-a" "77bf9508d45b2ae10238f0ab4f27d81e0a568c94cca982c8f7a7570fc2a75e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77bf9508d45b2ae10238f0ab4f27d81e0a568c94cca982c8f7a7570fc2a75e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77bf9508d45b2ae10238f0ab4f27d81e0a568c94cca982c8f7a7570fc2a75e10", kill_on_drop: false }` [INFO] [stdout] 77bf9508d45b2ae10238f0ab4f27d81e0a568c94cca982c8f7a7570fc2a75e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2376c0d596dfa9c32b1c471ecc9f66823e26f5e9c3445c6cdcd7bada719df0fe [INFO] running `Command { std: "docker" "start" "-a" "2376c0d596dfa9c32b1c471ecc9f66823e26f5e9c3445c6cdcd7bada719df0fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling librashader-spirv-cross v0.25.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: librashader-spirv-cross@0.25.3: src/wrapper.cpp:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] [INFO] [stderr] warning: librashader-spirv-cross@0.25.3: 2 | #pragma warning(disable : 4996 4101) [INFO] [stderr] warning: librashader-spirv-cross@0.25.3: | [INFO] [stdout] warning: field `target_data` is never read [INFO] [stdout] --> src/compiler.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 257 | pub(crate) sc_compiler: *mut br::ScInternalCompilerBase, [INFO] [stdout] 258 | pub(crate) target_data: TTargetData, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compiler` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `words` is never read [INFO] [stdout] --> src/spirv.rs:558:16 [INFO] [stdout] | [INFO] [stdout] 557 | pub struct Module<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 558 | pub(crate) words: &'a [u32], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_data` is never read [INFO] [stdout] --> src/compiler.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 257 | pub(crate) sc_compiler: *mut br::ScInternalCompilerBase, [INFO] [stdout] 258 | pub(crate) target_data: TTargetData, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compiler` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `words` is never read [INFO] [stdout] --> src/spirv.rs:558:16 [INFO] [stdout] | [INFO] [stdout] 557 | pub struct Module<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 558 | pub(crate) words: &'a [u32], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glsl` in `librashader_spirv_cross` [INFO] [stdout] --> tests/glsl_tests.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | use librashader_spirv_cross::glsl::Version::*; [INFO] [stdout] | ^^^^ could not find `glsl` in `librashader_spirv_cross` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub mod glsl; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `glsl` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "glsl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `librashader_spirv_cross::glsl` [INFO] [stdout] --> tests/glsl_tests.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use librashader_spirv_cross::{glsl, spirv}; [INFO] [stdout] | ^^^^ no `glsl` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub mod glsl; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `glsl` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "glsl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V1_10` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V1_20` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V1_30` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V1_40` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V1_50` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V3_30` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_00` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_10` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_20` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_30` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:72 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_40` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:79 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_50` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:86 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V4_60` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:62:93 [INFO] [stdout] | [INFO] [stdout] 62 | V1_10, V1_20, V1_30, V1_40, V1_50, V3_30, V4_00, V4_10, V4_20, V4_30, V4_40, V4_50, V4_60, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V1_00Es` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | V1_00Es, V3_00Es, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `V3_00Es` in this scope [INFO] [stdout] --> tests/glsl_tests.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | V1_00Es, V3_00Es, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `include_transmute` [INFO] [stdout] --> tests/common/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! include_transmute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `include_transmute` [INFO] [stdout] --> tests/common/mod.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) use include_transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `librashader_spirv_cross::spirv`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use librashader_spirv_cross::{glsl, spirv}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/simple.vert.spv"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ast = spirv::Ast::::parse(&module).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/struct.vert.spv"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | let mut vert_ast = spirv::Ast::::parse(&vert).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/struct.vert.spv"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let mut vert_ast = spirv::Ast::::parse(&vert).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/struct.frag.spv"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | let mut frag_ast = spirv::Ast::::parse(&frag).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:230:61 [INFO] [stdout] | [INFO] [stdout] 230 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:274:61 [INFO] [stdout] | [INFO] [stdout] 274 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | let module = spirv::Module::from_words(words_from_bytes(include_bytes!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:354:30 [INFO] [stdout] | [INFO] [stdout] 354 | let mut ast = spirv::Ast::::parse(&module).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Module`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:364:25 [INFO] [stdout] | [INFO] [stdout] 364 | let module = spirv::Module::from_words(words_from_bytes(include_bytes!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `librashader_spirv_cross::spirv::ExecutionModel::Vertex`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:382:67 [INFO] [stdout] | [INFO] [stdout] 382 | Some((String::from("main_vs"), spirv::ExecutionModel::Vertex)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `librashader_spirv_cross::spirv::ExecutionModel::Fragment`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:394:67 [INFO] [stdout] | [INFO] [stdout] 394 | Some((String::from("main_fs"), spirv::ExecutionModel::Fragment)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `librashader_spirv_cross::spirv::Ast`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | let mut ast = spirv::Ast::::parse(&module).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/simple.vert.spv"))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/struct.vert.spv"))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/struct.vert.spv"))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | spirv::Module::from_words(words_from_bytes(include_bytes!("shaders/struct.frag.spv"))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:189:69 [INFO] [stdout] | [INFO] [stdout] 189 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:230:69 [INFO] [stdout] | [INFO] [stdout] 230 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:263:69 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:274:69 [INFO] [stdout] | [INFO] [stdout] 274 | let mut ast = spirv::Ast::::parse(&spirv::Module::from_words(words_from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | let module = spirv::Module::from_words(words_from_bytes(include_bytes!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `librashader_spirv_cross::spirv::Module::<'a>::from_words`: This crate is unsound. Migrate to spirv-cross2 as soon as possible. If you are using this from librashader, please upgrade to 0.4.x as soon as possible. [INFO] [stdout] --> tests/glsl_tests.rs:364:33 [INFO] [stdout] | [INFO] [stdout] 364 | let module = spirv::Module::from_words(words_from_bytes(include_bytes!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: librashader-spirv-cross@0.25.3: src/wrapper.cpp:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] [INFO] [stderr] warning: librashader-spirv-cross@0.25.3: 2 | #pragma warning(disable : 4996 4101) [INFO] [stderr] warning: librashader-spirv-cross@0.25.3: | [INFO] [stderr] [INFO] [stderr] error: could not compile `librashader-spirv-cross` (test "glsl_tests") due to 18 previous errors; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2376c0d596dfa9c32b1c471ecc9f66823e26f5e9c3445c6cdcd7bada719df0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2376c0d596dfa9c32b1c471ecc9f66823e26f5e9c3445c6cdcd7bada719df0fe", kill_on_drop: false }` [INFO] [stdout] 2376c0d596dfa9c32b1c471ecc9f66823e26f5e9c3445c6cdcd7bada719df0fe