naga 22.1.0

Shader translation infrastructure
Documentation
Build #1308687 2024-07-31T21:48:54.884444+00:00
# rustc version
rustc 1.82.0-nightly (f8060d282 2024-07-30)# docs.rs version
docsrs 0.6.0 (e434406d 2024-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/naga-22.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/naga-22.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240730-1.82.0-nightly-f8060d282\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] ca0d6c17a25577b5f3c6cab2c7efced0e5c4f96578cd99ba4aa7f57844475a6e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ca0d6c17a25577b5f3c6cab2c7efced0e5c4f96578cd99ba4aa7f57844475a6e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting naga v22.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `dot_out`
[INFO] [stderr]  --> src/back/mod.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[cfg(dot_out)]
[INFO] [stderr]   |       ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stderr]   = help: consider using a Cargo feature instead
[INFO] [stderr]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]            [lints.rust]
[INFO] [stderr]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dot_out)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dot_out)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `glsl_out`
[INFO] [stderr]  --> src/back/mod.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[cfg(glsl_out)]
[INFO] [stderr]   |       ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead
[INFO] [stderr]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]            [lints.rust]
[INFO] [stderr]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(glsl_out)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(glsl_out)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `hlsl_out`
[INFO] [stderr]   --> src/back/mod.rs:10:7
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[cfg(hlsl_out)]
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(hlsl_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(hlsl_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `msl_out`
[INFO] [stderr]   --> src/back/mod.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | #[cfg(msl_out)]
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(msl_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msl_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `spv_out`
[INFO] [stderr]   --> src/back/mod.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[cfg(spv_out)]
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(spv_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(spv_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `wgsl_out`
[INFO] [stderr]   --> src/back/mod.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | #[cfg(wgsl_out)]
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgsl_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgsl_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `hlsl_out`
[INFO] [stderr]   --> src/back/mod.rs:19:11
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[cfg(any(hlsl_out, msl_out, spv_out, glsl_out))]
[INFO] [stderr]    |           ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(hlsl_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(hlsl_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `msl_out`
[INFO] [stderr]   --> src/back/mod.rs:19:21
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[cfg(any(hlsl_out, msl_out, spv_out, glsl_out))]
[INFO] [stderr]    |                     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(msl_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msl_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `spv_out`
[INFO] [stderr]   --> src/back/mod.rs:19:30
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[cfg(any(hlsl_out, msl_out, spv_out, glsl_out))]
[INFO] [stderr]    |                              ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(spv_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(spv_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `glsl_out`
[INFO] [stderr]   --> src/back/mod.rs:19:39
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[cfg(any(hlsl_out, msl_out, spv_out, glsl_out))]
[INFO] [stderr]    |                                       ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(glsl_out)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(glsl_out)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `wgsl_out`
[INFO] [stderr]  --> src/keywords/mod.rs:5:32
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[cfg(any(feature = "wgsl-in", wgsl_out))]
[INFO] [stderr]   |                                ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead
[INFO] [stderr]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]            [lints.rust]
[INFO] [stderr]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgsl_out)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgsl_out)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `validate`
[INFO] [stderr]     --> src/valid/expression.rs:1699:17
[INFO] [stderr]      |
[INFO] [stderr] 1699 | #[cfg(all(test, feature = "validate"))]
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `arbitrary`, `compact`, `default`, `deserialize`, `dot-out`, `glsl-in`, `glsl-out`, `hlsl-out`, `hlsl-out-if-target-windows`, `msl-out`, `msl-out-if-target-apple`, `serialize`, `spv-in`, `spv-out`, `wgsl-in`, and `wgsl-out`
[INFO] [stderr]      = help: consider adding `validate` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `validate`
[INFO] [stderr]     --> src/valid/expression.rs:1722:17
[INFO] [stderr]      |
[INFO] [stderr] 1722 | #[cfg(all(test, feature = "validate"))]
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `arbitrary`, `compact`, `default`, `deserialize`, `dot-out`, `glsl-in`, `glsl-out`, `hlsl-out`, `hlsl-out-if-target-windows`, `msl-out`, `msl-out-if-target-apple`, `serialize`, `spv-in`, `spv-out`, `wgsl-in`, and `wgsl-out`
[INFO] [stderr]      = help: consider adding `validate` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `validate`
[INFO] [stderr]     --> src/valid/expression.rs:1739:7
[INFO] [stderr]      |
[INFO] [stderr] 1739 | #[cfg(feature = "validate")]
[INFO] [stderr]      |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `arbitrary`, `compact`, `default`, `deserialize`, `dot-out`, `glsl-in`, `glsl-out`, `hlsl-out`, `hlsl-out-if-target-windows`, `msl-out`, `msl-out-if-target-apple`, `serialize`, `spv-in`, `spv-out`, `wgsl-in`, and `wgsl-out`
[INFO] [stderr]      = help: consider adding `validate` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `validate`
[INFO] [stderr]     --> src/valid/expression.rs:1771:7
[INFO] [stderr]      |
[INFO] [stderr] 1771 | #[cfg(feature = "validate")]
[INFO] [stderr]      |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `arbitrary`, `compact`, `default`, `deserialize`, `dot-out`, `glsl-in`, `glsl-out`, `hlsl-out`, `hlsl-out-if-target-windows`, `msl-out`, `msl-out-if-target-apple`, `serialize`, `spv-in`, `spv-out`, `wgsl-in`, and `wgsl-out`
[INFO] [stderr]      = help: consider adding `validate` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `validate`
[INFO] [stderr]     --> src/valid/expression.rs:1800:7
[INFO] [stderr]      |
[INFO] [stderr] 1800 | #[cfg(feature = "validate")]
[INFO] [stderr]      |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `arbitrary`, `compact`, `default`, `deserialize`, `dot-out`, `glsl-in`, `glsl-out`, `hlsl-out`, `hlsl-out-if-target-windows`, `msl-out`, `msl-out-if-target-apple`, `serialize`, `spv-in`, `spv-out`, `wgsl-in`, and `wgsl-out`
[INFO] [stderr]      = help: consider adding `validate` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `validate`
[INFO] [stderr]     --> src/valid/expression.rs:1824:7
[INFO] [stderr]      |
[INFO] [stderr] 1824 | #[cfg(feature = "validate")]
[INFO] [stderr]      |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `arbitrary`, `compact`, `default`, `deserialize`, `dot-out`, `glsl-in`, `glsl-out`, `hlsl-out`, `hlsl-out-if-target-windows`, `msl-out`, `msl-out-if-target-apple`, `serialize`, `spv-in`, `spv-out`, `wgsl-in`, and `wgsl-out`
[INFO] [stderr]      = help: consider adding `validate` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `naga` (lib doc) generated 17 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.36s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/naga/index.html
[INFO] running `Command { std: "docker" "inspect" "ca0d6c17a25577b5f3c6cab2c7efced0e5c4f96578cd99ba4aa7f57844475a6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca0d6c17a25577b5f3c6cab2c7efced0e5c4f96578cd99ba4aa7f57844475a6e", kill_on_drop: false }`
[INFO] [stdout] ca0d6c17a25577b5f3c6cab2c7efced0e5c4f96578cd99ba4aa7f57844475a6e