[INFO] fetching crate wgpu-core 22.1.0... [INFO] checking wgpu-core-22.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wgpu-core 22.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wgpu-core 22.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wgpu-core 22.1.0 [INFO] finished tweaking crates.io crate wgpu-core 22.1.0 [INFO] tweaked toml for crates.io crate wgpu-core 22.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.6.0 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding glow v0.13.1 (available: v0.14.1) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding ndk-sys v0.5.0+25.2.9519653 (available: v0.6.0+11769913) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d26d2b19db26069f5226d143f657ec4db0c910992e44b24f5571429292b3574 [INFO] running `Command { std: "docker" "start" "-a" "2d26d2b19db26069f5226d143f657ec4db0c910992e44b24f5571429292b3574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d26d2b19db26069f5226d143f657ec4db0c910992e44b24f5571429292b3574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d26d2b19db26069f5226d143f657ec4db0c910992e44b24f5571429292b3574", kill_on_drop: false }` [INFO] [stdout] 2d26d2b19db26069f5226d143f657ec4db0c910992e44b24f5571429292b3574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cb1b6a121566dd787d373ece44f1ed5ab77b9f6edf3b21fd98cdd7b89fe8770 [INFO] running `Command { std: "docker" "start" "-a" "0cb1b6a121566dd787d373ece44f1ed5ab77b9f6edf3b21fd98cdd7b89fe8770", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Compiling wgpu-core v22.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stdout] --> src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | not(any(not(doc), wgpu_core_doc)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg(any(not(doc), wgpu_core_doc))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/binding_model.rs:926:17 [INFO] [stdout] | [INFO] [stdout] 923 | pub(crate) fn try_raw<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 926 | ) -> Result<&A::BindGroup, DestroyedResourceError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/command/bind.rs:422:94 [INFO] [stdout] | [INFO] [stdout] 422 | pub(super) fn list_active<'a>(&'a self) -> impl Iterator>> + '_ { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/command/bundle.rs:981:7 [INFO] [stdout] | [INFO] [stdout] 981 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/command/bundle.rs:983:7 [INFO] [stdout] | [INFO] [stdout] 983 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/bundle.rs:909:31 [INFO] [stdout] | [INFO] [stdout] 909 | offset..(offset + mem::size_of::() as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 909 - offset..(offset + mem::size_of::() as u64), [INFO] [stdout] 909 + offset..(offset + size_of::() as u64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/compute.rs:891:31 [INFO] [stdout] | [INFO] [stdout] 891 | let end_offset = offset + mem::size_of::() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 891 - let end_offset = offset + mem::size_of::() as u64; [INFO] [stdout] 891 + let end_offset = offset + size_of::() as u64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2467:18 [INFO] [stdout] | [INFO] [stdout] 2467 | false => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2467 - false => mem::size_of::(), [INFO] [stdout] 2467 + false => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2468:17 [INFO] [stdout] | [INFO] [stdout] 2468 | true => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2468 - true => mem::size_of::(), [INFO] [stdout] 2468 + true => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2545:18 [INFO] [stdout] | [INFO] [stdout] 2545 | false => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2545 - false => mem::size_of::(), [INFO] [stdout] 2545 + false => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2546:17 [INFO] [stdout] | [INFO] [stdout] 2546 | true => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2546 - true => mem::size_of::(), [INFO] [stdout] 2546 + true => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/mod.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/mod.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/mod.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/any_device.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/any_device.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/device/global.rs:2243:15 [INFO] [stdout] | [INFO] [stdout] 2243 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/device/global.rs:2248:15 [INFO] [stdout] | [INFO] [stdout] 2248 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/device/global.rs:2253:15 [INFO] [stdout] | [INFO] [stdout] 2253 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/device/global.rs:2258:15 [INFO] [stdout] | [INFO] [stdout] 2258 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/queue.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/queue.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/queue.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `webgl` [INFO] [stdout] --> src/device/queue.rs:841:11 [INFO] [stdout] | [INFO] [stdout] 841 | #[cfg(webgl)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(webgl)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(webgl)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/error.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/global.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stdout] --> src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | not(any(not(doc), wgpu_core_doc)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg(any(not(doc), wgpu_core_doc))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/binding_model.rs:926:17 [INFO] [stdout] | [INFO] [stdout] 923 | pub(crate) fn try_raw<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 926 | ) -> Result<&A::BindGroup, DestroyedResourceError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/command/bind.rs:422:94 [INFO] [stdout] | [INFO] [stdout] 422 | pub(super) fn list_active<'a>(&'a self) -> impl Iterator>> + '_ { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/command/bundle.rs:981:7 [INFO] [stdout] | [INFO] [stdout] 981 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/command/bundle.rs:983:7 [INFO] [stdout] | [INFO] [stdout] 983 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/bundle.rs:909:31 [INFO] [stdout] | [INFO] [stdout] 909 | offset..(offset + mem::size_of::() as u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 909 - offset..(offset + mem::size_of::() as u64), [INFO] [stdout] 909 + offset..(offset + size_of::() as u64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/compute.rs:891:31 [INFO] [stdout] | [INFO] [stdout] 891 | let end_offset = offset + mem::size_of::() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 891 - let end_offset = offset + mem::size_of::() as u64; [INFO] [stdout] 891 + let end_offset = offset + size_of::() as u64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hal_api.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2467:18 [INFO] [stdout] | [INFO] [stdout] 2467 | false => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2467 - false => mem::size_of::(), [INFO] [stdout] 2467 + false => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hal_api.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2468:17 [INFO] [stdout] | [INFO] [stdout] 2468 | true => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2468 - true => mem::size_of::(), [INFO] [stdout] 2468 + true => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2545:18 [INFO] [stdout] | [INFO] [stdout] 2545 | false => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2545 - false => mem::size_of::(), [INFO] [stdout] 2545 + false => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/command/render.rs:2546:17 [INFO] [stdout] | [INFO] [stdout] 2546 | true => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2546 - true => mem::size_of::(), [INFO] [stdout] 2546 + true => size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hal_api.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/mod.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/mod.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/mod.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/any_device.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/any_device.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hal_api.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/device/global.rs:2243:15 [INFO] [stdout] | [INFO] [stdout] 2243 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/device/global.rs:2248:15 [INFO] [stdout] | [INFO] [stdout] 2248 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/device/global.rs:2253:15 [INFO] [stdout] | [INFO] [stdout] 2253 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/device/global.rs:2258:15 [INFO] [stdout] | [INFO] [stdout] 2258 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/queue.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/queue.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/device/queue.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `webgl` [INFO] [stdout] --> src/device/queue.rs:841:11 [INFO] [stdout] | [INFO] [stdout] 841 | #[cfg(webgl)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(webgl)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(webgl)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/error.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/global.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:306:44 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:306:55 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/global.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/global.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/global.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/global.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hal_api.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hal_api.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:321:27 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hal_api.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hal_api.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:321:63 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/id.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | const INDEX_BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 14 - const INDEX_BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] 14 + const INDEX_BITS: usize = size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:306:44 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:306:55 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/hub.rs:321:27 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/hub.rs:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/hub.rs:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/hub.rs:321:63 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/id.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | const INDEX_BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 14 - const INDEX_BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] 14 + const INDEX_BITS: usize = size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:567:11 [INFO] [stdout] | [INFO] [stdout] 567 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:623:11 [INFO] [stdout] | [INFO] [stdout] 623 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:638:11 [INFO] [stdout] | [INFO] [stdout] 638 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:653:11 [INFO] [stdout] | [INFO] [stdout] 653 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:691:19 [INFO] [stdout] | [INFO] [stdout] 691 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:693:19 [INFO] [stdout] | [INFO] [stdout] 693 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:695:19 [INFO] [stdout] | [INFO] [stdout] 695 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:697:19 [INFO] [stdout] | [INFO] [stdout] 697 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:567:11 [INFO] [stdout] | [INFO] [stdout] 567 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:623:11 [INFO] [stdout] | [INFO] [stdout] 623 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:744:15 [INFO] [stdout] | [INFO] [stdout] 744 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:638:11 [INFO] [stdout] | [INFO] [stdout] 638 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:653:11 [INFO] [stdout] | [INFO] [stdout] 653 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:751:15 [INFO] [stdout] | [INFO] [stdout] 751 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:691:19 [INFO] [stdout] | [INFO] [stdout] 691 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:753:15 [INFO] [stdout] | [INFO] [stdout] 753 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:693:19 [INFO] [stdout] | [INFO] [stdout] 693 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:829:15 [INFO] [stdout] | [INFO] [stdout] 829 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:838:15 [INFO] [stdout] | [INFO] [stdout] 838 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:847:15 [INFO] [stdout] | [INFO] [stdout] 847 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:695:19 [INFO] [stdout] | [INFO] [stdout] 695 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:697:19 [INFO] [stdout] | [INFO] [stdout] 697 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:856:15 [INFO] [stdout] | [INFO] [stdout] 856 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:917:15 [INFO] [stdout] | [INFO] [stdout] 917 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:744:15 [INFO] [stdout] | [INFO] [stdout] 744 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:921:15 [INFO] [stdout] | [INFO] [stdout] 921 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:751:15 [INFO] [stdout] | [INFO] [stdout] 751 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:925:15 [INFO] [stdout] | [INFO] [stdout] 925 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:753:15 [INFO] [stdout] | [INFO] [stdout] 753 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:929:15 [INFO] [stdout] | [INFO] [stdout] 929 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:829:15 [INFO] [stdout] | [INFO] [stdout] 829 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:838:15 [INFO] [stdout] | [INFO] [stdout] 838 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:952:19 [INFO] [stdout] | [INFO] [stdout] 952 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:847:15 [INFO] [stdout] | [INFO] [stdout] 847 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:954:19 [INFO] [stdout] | [INFO] [stdout] 954 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:856:15 [INFO] [stdout] | [INFO] [stdout] 856 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:917:15 [INFO] [stdout] | [INFO] [stdout] 917 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:956:19 [INFO] [stdout] | [INFO] [stdout] 956 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:921:15 [INFO] [stdout] | [INFO] [stdout] 921 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:925:15 [INFO] [stdout] | [INFO] [stdout] 925 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:929:15 [INFO] [stdout] | [INFO] [stdout] 929 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:958:19 [INFO] [stdout] | [INFO] [stdout] 958 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stdout] --> src/instance.rs:952:19 [INFO] [stdout] | [INFO] [stdout] 952 | #[cfg(vulkan)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `metal` [INFO] [stdout] --> src/instance.rs:954:19 [INFO] [stdout] | [INFO] [stdout] 954 | #[cfg(metal)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(wgpu_validate_locks), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dx12` [INFO] [stdout] --> src/instance.rs:956:19 [INFO] [stdout] | [INFO] [stdout] 956 | #[cfg(dx12)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(wgpu_validate_locks, allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gles` [INFO] [stdout] --> src/instance.rs:958:19 [INFO] [stdout] | [INFO] [stdout] 958 | #[cfg(gles)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(wgpu_validate_locks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(wgpu_validate_locks), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(not(wgpu_validate_locks))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(wgpu_validate_locks, allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(wgpu_validate_locks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] --> src/lock/mod.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(not(wgpu_validate_locks))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/pipeline_cache.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEADER_LENGTH: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 4 - pub const HEADER_LENGTH: usize = std::mem::size_of::(); [INFO] [stdout] 4 + pub const HEADER_LENGTH: usize = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/pipeline_cache.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | const ABI: u32 = std::mem::size_of::<*const ()>() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 115 - const ABI: u32 = std::mem::size_of::<*const ()>() as u32; [INFO] [stdout] 115 + const ABI: u32 = size_of::<*const ()>() as u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/pipeline_cache.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | std::mem::size_of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 184 - std::mem::size_of::() [INFO] [stdout] 184 + size_of::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/registry.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | element_size: std::mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 132 - element_size: std::mem::size_of::(), [INFO] [stdout] 132 + element_size: size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:268:7 [INFO] [stdout] | [INFO] [stdout] 268 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:820:7 [INFO] [stdout] | [INFO] [stdout] 820 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:822:7 [INFO] [stdout] | [INFO] [stdout] 822 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/pipeline_cache.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEADER_LENGTH: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 4 - pub const HEADER_LENGTH: usize = std::mem::size_of::(); [INFO] [stdout] 4 + pub const HEADER_LENGTH: usize = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/pipeline_cache.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | const ABI: u32 = std::mem::size_of::<*const ()>() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 115 - const ABI: u32 = std::mem::size_of::<*const ()>() as u32; [INFO] [stdout] 115 + const ABI: u32 = size_of::<*const ()>() as u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/resource.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 484 | pub(crate) fn try_raw<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 487 | ) -> Result<&A::Buffer, DestroyedResourceError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/resource.rs:1622:17 [INFO] [stdout] | [INFO] [stdout] 1619 | pub(crate) fn try_raw<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1622 | ) -> Result<&A::TextureView, DestroyedResourceError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/track/metadata.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | const BITS_PER_BLOCK: usize = mem::size_of::() * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 194 - const BITS_PER_BLOCK: usize = mem::size_of::() * 8; [INFO] [stdout] 194 + const BITS_PER_BLOCK: usize = size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/track/range.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter_filter<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 77 | ) -> impl Iterator, &T)> + 'a { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/pipeline_cache.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | std::mem::size_of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 184 - std::mem::size_of::() [INFO] [stdout] 184 + size_of::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/registry.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | element_size: std::mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 132 - element_size: std::mem::size_of::(), [INFO] [stdout] 132 + element_size: size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:268:7 [INFO] [stdout] | [INFO] [stdout] 268 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[cfg(not(send_sync))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:820:7 [INFO] [stdout] | [INFO] [stdout] 820 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stdout] --> src/resource.rs:822:7 [INFO] [stdout] | [INFO] [stdout] 822 | #[cfg(send_sync)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/resource.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 484 | pub(crate) fn try_raw<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 487 | ) -> Result<&A::Buffer, DestroyedResourceError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/resource.rs:1622:17 [INFO] [stdout] | [INFO] [stdout] 1619 | pub(crate) fn try_raw<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1622 | ) -> Result<&A::TextureView, DestroyedResourceError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/track/metadata.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | const BITS_PER_BLOCK: usize = mem::size_of::() * 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 194 - const BITS_PER_BLOCK: usize = mem::size_of::() * 8; [INFO] [stdout] 194 + const BITS_PER_BLOCK: usize = size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/track/range.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter_filter<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 77 | ) -> impl Iterator, &T)> + 'a { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::CommandEncoder>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/command/allocator.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | let mut free_encoders = self.free_encoders.lock(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | match free_encoders.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::CommandEncoder>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/command/allocator.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | let mut free_encoders = self.free_encoders.lock(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | match free_encoders.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device/resource.rs:3635:44 [INFO] [stdout] | [INFO] [stdout] 3633 | let mut life_tracker = self.lock_life(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3634 | let _ = life_tracker.triage_submissions(current_index, &self.command_allocator); [INFO] [stdout] 3635 | if let Some(device_lost_closure) = life_tracker.device_lost_closure.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::Surface>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instance.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 116 | fn destroy(instance: &Option, mut surface: Option>) { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | if let Some(surface) = surface.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device/resource.rs:3635:44 [INFO] [stdout] | [INFO] [stdout] 3633 | let mut life_tracker = self.lock_life(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3634 | let _ = life_tracker.triage_submissions(current_index, &self.command_allocator); [INFO] [stdout] 3635 | if let Some(device_lost_closure) = life_tracker.device_lost_closure.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<::Surface>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instance.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 116 | fn destroy(instance: &Option, mut surface: Option>) { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | if let Some(surface) = surface.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource.rs:1108:53 [INFO] [stdout] | [INFO] [stdout] 1081 | let mut clear_mode = self.clear_mode.write(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1108 | if let Some(TextureInner::Native { raw }) = self.inner.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snatch.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 89 | let new = LockTrace { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | if let Some(prev) = SNATCH_LOCK_TRACE.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource.rs:1108:53 [INFO] [stdout] | [INFO] [stdout] 1081 | let mut clear_mode = self.clear_mode.write(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1108 | if let Some(TextureInner::Native { raw }) = self.inner.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/snatch.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 89 | let new = LockTrace { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | if let Some(prev) = SNATCH_LOCK_TRACE.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 125 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgpu-core` (lib) due to 6 previous errors; 125 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 125 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgpu-core` (lib test) due to 6 previous errors; 125 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0cb1b6a121566dd787d373ece44f1ed5ab77b9f6edf3b21fd98cdd7b89fe8770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb1b6a121566dd787d373ece44f1ed5ab77b9f6edf3b21fd98cdd7b89fe8770", kill_on_drop: false }` [INFO] [stdout] 0cb1b6a121566dd787d373ece44f1ed5ab77b9f6edf3b21fd98cdd7b89fe8770