[INFO] fetching crate wgpu-core 22.1.0... [INFO] checking wgpu-core-22.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate wgpu-core 22.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate wgpu-core 22.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9398206fec8fc1ffe45066293503039ad1919c9fc38193960d00bf41ced238c3 [INFO] running `Command { std: "docker" "start" "-a" "9398206fec8fc1ffe45066293503039ad1919c9fc38193960d00bf41ced238c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9398206fec8fc1ffe45066293503039ad1919c9fc38193960d00bf41ced238c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9398206fec8fc1ffe45066293503039ad1919c9fc38193960d00bf41ced238c3", kill_on_drop: false }` [INFO] [stdout] 9398206fec8fc1ffe45066293503039ad1919c9fc38193960d00bf41ced238c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b298c13c12a974b1caf5c35e4ea8b0150efe29d99906ce929c66811dbf3cc5d2 [INFO] running `Command { std: "docker" "start" "-a" "b298c13c12a974b1caf5c35e4ea8b0150efe29d99906ce929c66811dbf3cc5d2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [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] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Compiling wgpu-core v22.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wgpu_core` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/binding_model.rs [INFO] [stderr] * src/command/bind.rs [INFO] [stderr] * src/command/bundle.rs [INFO] [stderr] * src/device/any_device.rs [INFO] [stderr] * src/device/global.rs [INFO] [stderr] * src/device/mod.rs [INFO] [stderr] * src/device/queue.rs [INFO] [stderr] * src/device/resource.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/global.rs [INFO] [stderr] * src/hal_api.rs [INFO] [stderr] * src/hub.rs [INFO] [stderr] * src/instance.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/lock/mod.rs [INFO] [stderr] * src/resource.rs [INFO] [stderr] * src/track/range.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/device/resource.rs:934:26 [INFO] [stderr] | [INFO] [stderr] 934 | ($format:expr_2021, $aspect:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/device/resource.rs:934:45 [INFO] [stderr] | [INFO] [stderr] 934 | ($format:expr_2021, $aspect:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:295:6 [INFO] [stderr] | [INFO] [stderr] 295 | ($id:expr_2021 => $c0:ident.$c1:tt.$method:ident $params:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:300:6 [INFO] [stderr] | [INFO] [stderr] 300 | ($id:expr_2021 => $c0:ident.$method:ident $params:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:304:6 [INFO] [stderr] | [INFO] [stderr] 304 | ($id:expr_2021 => {$($c:tt)*}, $method:ident $params:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 238 | define_backend_caller! { gfx_if_vulkan, gfx_if_vulkan_hidden, "vulkan" if all(feature = "vulkan", not(target_arch = "wasm32")) } [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | define_backend_caller! { gfx_if_metal, gfx_if_metal_hidden, "metal" if all(feature = "metal", any(target_os = "macos", target_os = "ios")) } [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | define_backend_caller! { gfx_if_dx12, gfx_if_dx12_hidden, "dx12" if all(feature = "dx12", windows) } [INFO] [stderr] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 241 | define_backend_caller! { gfx_if_gles, gfx_if_gles_hidden, "gles" if feature = "gles" } [INFO] [stderr] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | / define_backend_caller! { gfx_if_empty, gfx_if_empty_hidden, "empty" if all( [INFO] [stderr] 243 | | not(any(feature = "metal", feature = "vulkan", feature = "gles")), [INFO] [stderr] 244 | | any(target_os = "macos", target_os = "ios"), [INFO] [stderr] 245 | | ) } [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stderr] --> src/lib.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | not(any(not(doc), wgpu_core_doc)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stderr] --> src/lib.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | #![cfg(any(not(doc), wgpu_core_doc))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/binding_model.rs:926:17 [INFO] [stderr] | [INFO] [stderr] 923 | pub(crate) fn try_raw<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 926 | ) -> Result<&A::BindGroup, DestroyedResourceError> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/command/bind.rs:422:94 [INFO] [stderr] | [INFO] [stderr] 422 | pub(super) fn list_active<'a>(&'a self) -> impl Iterator>> + '_ { [INFO] [stderr] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/command/bundle.rs:981:7 [INFO] [stderr] | [INFO] [stderr] 981 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/command/bundle.rs:983:7 [INFO] [stderr] | [INFO] [stderr] 983 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/mod.rs:195:7 [INFO] [stderr] | [INFO] [stderr] 195 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/mod.rs:197:11 [INFO] [stderr] | [INFO] [stderr] 197 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/mod.rs:220:7 [INFO] [stderr] | [INFO] [stderr] 220 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/any_device.rs:99:7 [INFO] [stderr] | [INFO] [stderr] 99 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/any_device.rs:101:7 [INFO] [stderr] | [INFO] [stderr] 101 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/device/global.rs:2242:15 [INFO] [stderr] | [INFO] [stderr] 2242 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/device/global.rs:2247:15 [INFO] [stderr] | [INFO] [stderr] 2247 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/device/global.rs:2252:15 [INFO] [stderr] | [INFO] [stderr] 2252 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/device/global.rs:2257:15 [INFO] [stderr] | [INFO] [stderr] 2257 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/queue.rs:70:7 [INFO] [stderr] | [INFO] [stderr] 70 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/queue.rs:79:7 [INFO] [stderr] | [INFO] [stderr] 79 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/queue.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `webgl` [INFO] [stderr] --> src/device/queue.rs:841:11 [INFO] [stderr] | [INFO] [stderr] 841 | #[cfg(webgl)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(webgl)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(webgl)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/error.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/error.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/global.rs:166:7 [INFO] [stderr] | [INFO] [stderr] 166 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:115:19 [INFO] [stderr] | [INFO] [stderr] 115 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:121:19 [INFO] [stderr] | [INFO] [stderr] 121 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:138:15 [INFO] [stderr] | [INFO] [stderr] 138 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:142:15 [INFO] [stderr] | [INFO] [stderr] 142 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:146:15 [INFO] [stderr] | [INFO] [stderr] 146 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:150:15 [INFO] [stderr] | [INFO] [stderr] 150 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hal_api.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hal_api.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hal_api.rs:75:7 [INFO] [stderr] | [INFO] [stderr] 75 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hal_api.rs:96:7 [INFO] [stderr] | [INFO] [stderr] 96 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:298:11 [INFO] [stderr] | [INFO] [stderr] 298 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:300:11 [INFO] [stderr] | [INFO] [stderr] 300 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:302:11 [INFO] [stderr] | [INFO] [stderr] 302 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:304:11 [INFO] [stderr] | [INFO] [stderr] 304 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:306:19 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:306:32 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:306:44 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:306:55 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:313:19 [INFO] [stderr] | [INFO] [stderr] 313 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:315:19 [INFO] [stderr] | [INFO] [stderr] 315 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:317:19 [INFO] [stderr] | [INFO] [stderr] 317 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:319:19 [INFO] [stderr] | [INFO] [stderr] 319 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:321:27 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:321:40 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:321:52 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:321:63 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:105:19 [INFO] [stderr] | [INFO] [stderr] 105 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:123:15 [INFO] [stderr] | [INFO] [stderr] 123 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:125:15 [INFO] [stderr] | [INFO] [stderr] 125 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:127:15 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:137:11 [INFO] [stderr] | [INFO] [stderr] 137 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:139:11 [INFO] [stderr] | [INFO] [stderr] 139 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:141:11 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:143:11 [INFO] [stderr] | [INFO] [stderr] 143 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:567:11 [INFO] [stderr] | [INFO] [stderr] 567 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:597:11 [INFO] [stderr] | [INFO] [stderr] 597 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:623:11 [INFO] [stderr] | [INFO] [stderr] 623 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:638:11 [INFO] [stderr] | [INFO] [stderr] 638 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:653:11 [INFO] [stderr] | [INFO] [stderr] 653 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:691:19 [INFO] [stderr] | [INFO] [stderr] 691 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:693:19 [INFO] [stderr] | [INFO] [stderr] 693 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:695:19 [INFO] [stderr] | [INFO] [stderr] 695 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:697:19 [INFO] [stderr] | [INFO] [stderr] 697 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:737:15 [INFO] [stderr] | [INFO] [stderr] 737 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:744:15 [INFO] [stderr] | [INFO] [stderr] 744 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:751:15 [INFO] [stderr] | [INFO] [stderr] 751 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:753:15 [INFO] [stderr] | [INFO] [stderr] 753 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:829:15 [INFO] [stderr] | [INFO] [stderr] 829 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:838:15 [INFO] [stderr] | [INFO] [stderr] 838 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:847:15 [INFO] [stderr] | [INFO] [stderr] 847 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:856:15 [INFO] [stderr] | [INFO] [stderr] 856 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:917:15 [INFO] [stderr] | [INFO] [stderr] 917 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:921:15 [INFO] [stderr] | [INFO] [stderr] 921 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:925:15 [INFO] [stderr] | [INFO] [stderr] 925 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:929:15 [INFO] [stderr] | [INFO] [stderr] 929 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:952:19 [INFO] [stderr] | [INFO] [stderr] 952 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:954:19 [INFO] [stderr] | [INFO] [stderr] 954 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:956:19 [INFO] [stderr] | [INFO] [stderr] 956 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:958:19 [INFO] [stderr] | [INFO] [stderr] 958 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg_attr(not(wgpu_validate_locks), allow(dead_code))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg_attr(wgpu_validate_locks, allow(dead_code))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg(wgpu_validate_locks)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1613:7 [INFO] [stdout] | [INFO] [stdout] 1613 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1613 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lock/mod.rs:40:11 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1641:7 [INFO] [stdout] | [INFO] [stdout] 1641 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1641 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1656:7 [INFO] [stdout] | [INFO] [stdout] 1656 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1656 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 40 | #[cfg(not(wgpu_validate_locks))] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1672:7 [INFO] [stdout] | [INFO] [stdout] 1672 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1672 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1687:7 [INFO] [stdout] | [INFO] [stdout] 1687 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1687 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1724:7 [INFO] [stdout] | [INFO] [stdout] 1724 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1724 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1740:7 [INFO] [stdout] | [INFO] [stdout] 1740 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1740 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1758:7 [INFO] [stdout] | [INFO] [stdout] 1758 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1758 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [lints.rust] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1772:7 [INFO] [stdout] | [INFO] [stdout] 1772 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1772 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1790:7 [INFO] [stdout] | [INFO] [stdout] 1790 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1790 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1798:7 [INFO] [stdout] | [INFO] [stdout] 1798 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1798 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1807:7 [INFO] [stdout] | [INFO] [stdout] 1807 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1807 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:268:7 [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] [stderr] | [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] [stderr] 268 | #[cfg(send_sync)] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [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] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [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] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:270:7 [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] [stderr] | [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] [stderr] 270 | #[cfg(send_sync)] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/device/resource.rs:934:34 [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr, $aspect:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr_2021, $aspect:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/device/resource.rs:934:48 [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr, $aspect:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr, $aspect:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:279:7 [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] [stderr] | [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] [stderr] 279 | #[cfg(send_sync)] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [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] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [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] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:289:7 [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] [stderr] | [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] [stderr] 289 | #[cfg(send_sync)] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [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] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [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] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:291:11 [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] [stderr] | [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] [stderr] 291 | #[cfg(not(send_sync))] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [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] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [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] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:820:7 [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] [stderr] | [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] [stderr] 820 | #[cfg(send_sync)] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [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] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [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] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: unexpected `cfg` condition name: `send_sync` [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] [stderr] --> src/resource.rs:822:7 [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] [stderr] | [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] [stderr] 822 | #[cfg(send_sync)] [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] [stderr] | ^^^^^^^^^ [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] [stderr] | [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] [stderr] = help: consider using a Cargo feature instead [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] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [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] [stderr] [lints.rust] [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] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [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] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [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] [stderr] = note: see for more information about checking conditional configuration [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] [stderr] [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] [stderr] warning: elided lifetime has a name [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] [stderr] --> src/resource.rs:487:17 [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] [stderr] | [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] [stderr] 484 | pub(crate) fn try_raw<'a>( [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] [stderr] | -- lifetime `'a` declared here [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] [stderr] ... [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] [stderr] 487 | ) -> Result<&A::Buffer, DestroyedResourceError> { [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] [stderr] | ^ this elided lifetime gets resolved as `'a` [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] [stderr] [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] [stderr] warning: elided lifetime has a name [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] [stderr] --> src/resource.rs:1622:17 [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] [stderr] | [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] [stderr] 1619 | pub(crate) fn try_raw<'a>( [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] [stderr] | -- lifetime `'a` declared here [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] [stderr] ... [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] [stderr] 1622 | ) -> Result<&A::TextureView, DestroyedResourceError> { [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] [stderr] | ^ this elided lifetime gets resolved as `'a` [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] [stderr] [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] [stderr] warning: elided lifetime has a name [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] [stderr] --> src/track/range.rs:77:42 [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] [stderr] | [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] [stderr] 74 | pub fn iter_filter<'a>( [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] [stderr] | -- lifetime `'a` declared here [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] [stderr] ... [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] [stderr] 77 | ) -> impl Iterator, &T)> + 'a { [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] [stderr] | ^ this elided lifetime gets resolved as `'a` [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] [stderr] [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] [stderr] error: aborting due to 10 previous errors; 113 warnings emitted [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] [stderr] [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] [stderr] For more information about this error, try `rustc --explain E0658`. [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] [stderr] Original diagnostics will follow. [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] [stderr] [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | ( $call:expr ) => ( $call ) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 216 | ( $call:expr_2021 ) => ( $call ) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | define_backend_caller! { gfx_if_vulkan, gfx_if_vulkan_hidden, "vulkan" if all(feature = "vulkan", not(target_arch = "wasm32")) } [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | define_backend_caller! { gfx_if_metal, gfx_if_metal_hidden, "metal" if all(feature = "metal", any(target_os = "macos", target_os = "ios")) } [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | define_backend_caller! { gfx_if_dx12, gfx_if_dx12_hidden, "dx12" if all(feature = "dx12", windows) } [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | define_backend_caller! { gfx_if_gles, gfx_if_gles_hidden, "gles" if feature = "gles" } [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / define_backend_caller! { gfx_if_empty, gfx_if_empty_hidden, "empty" if all( [INFO] [stdout] 243 | | not(any(feature = "metal", feature = "vulkan", feature = "gles")), [INFO] [stdout] 244 | | any(target_os = "macos", target_os = "ios"), [INFO] [stdout] 245 | | ) } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | ($id:expr => $c0:ident.$c1:tt.$method:ident $params:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 295 | ($id:expr_2021 => $c0:ident.$c1:tt.$method:ident $params:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | ($id:expr => $c0:ident.$method:ident $params:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 300 | ($id:expr_2021 => $c0:ident.$method:ident $params:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 304 | ($id:expr => {$($c:tt)*}, $method:ident $params:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 304 | ($id:expr_2021 => {$($c:tt)*}, $method:ident $params:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:481:20 [INFO] [stdout] | [INFO] [stdout] 481 | if let Some(p) = p.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 481 ~ match p.upgrade() { Some(p) => { [INFO] [stdout] 482 | p.error_ident().fmt(f) [INFO] [stdout] 483 ~ } _ => { [INFO] [stdout] 484 | f.write_str("RenderPipeline") [INFO] [stdout] 485 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(p) = p.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match p.upgrade() { Some(p) => { [INFO] [stdout] 489 | p.error_ident().fmt(f) [INFO] [stdout] 490 ~ } _ => { [INFO] [stdout] 491 | f.write_str("ComputePipeline") [INFO] [stdout] 492 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 524 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 525 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 529 | } [INFO] [stdout] 530 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 667 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 668 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 672 | } [INFO] [stdout] 673 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:912:12 [INFO] [stdout] | [INFO] [stdout] 912 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 912 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 913 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 917 | } [INFO] [stdout] 918 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/mod.rs:623:28 [INFO] [stdout] | [INFO] [stdout] 623 | if let Err(e) = cmd_buf_data.encoder.close() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/mod.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 623 ~ match cmd_buf_data.encoder.close() { Err(e) => { [INFO] [stdout] 624 | Some(e.into()) [INFO] [stdout] 625 ~ } _ => { [INFO] [stdout] 626 | cmd_buf_data.status = CommandEncoderStatus::Finished; [INFO] [stdout] ... [INFO] [stdout] 630 | None [INFO] [stdout] 631 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(expected_bgl) = self.expected.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match self.expected.as_ref() { Some(expected_bgl) => { [INFO] [stdout] 59 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | true [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match self.assigned.as_ref() { Some(assigned_bgl) => { [INFO] [stdout] 60 | expected_bgl.is_equal(assigned_bgl) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | false [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(expected_bgl) = self.expected.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match self.expected.as_ref() { Some(expected_bgl) => { [INFO] [stdout] 75 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] 194 ~ } _ => { [INFO] [stdout] 195 | Ok(()) [INFO] [stdout] 196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.assigned.as_ref() { Some(assigned_bgl) => { [INFO] [stdout] 76 | if expected_bgl.is_equal(assigned_bgl) { [INFO] [stdout] ... [INFO] [stdout] 190 | } [INFO] [stdout] 191 ~ } _ => { [INFO] [stdout] 192 | Err(Error::Missing) [INFO] [stdout] 193 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | ... if let Some(assigned_entry) = assigned_bgl.entries.get(binding) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match assigned_bgl.entries.get(binding) { Some(assigned_entry) => { [INFO] [stdout] 147 | if assigned_entry.visibility != expected_entry.visibility { [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | errors.push(EntryError::ExtraExpected { binding }); [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1004:16 [INFO] [stdout] | [INFO] [stdout] 1004 | if let Some(ref label) = self.base.label { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1006:13 [INFO] [stdout] | [INFO] [stdout] 1006 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1004 ~ match self.base.label { Some(ref label) => { [INFO] [stdout] 1005 | unsafe { raw.begin_debug_marker(label) }; [INFO] [stdout] 1006 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1172:16 [INFO] [stdout] | [INFO] [stdout] 1172 | if let Some(_) = self.base.label { [INFO] [stdout] | ^^^^^^^^^^^^^^---------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1174:13 [INFO] [stdout] | [INFO] [stdout] 1174 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1172 ~ match self.base.label { Some(_) => { [INFO] [stdout] 1173 | unsafe { raw.end_debug_marker() }; [INFO] [stdout] 1174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1322:45 [INFO] [stdout] | [INFO] [stdout] 1322 | fn zero_push_constants(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/command/bundle.rs:1322:28 [INFO] [stdout] | [INFO] [stdout] 1322 | fn zero_push_constants(&self) -> Option>> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1322 | fn zero_push_constants(&self) -> Option> + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1410:16 [INFO] [stdout] | [INFO] [stdout] 1410 | if let Some(ref contents) = self.bind[slot as usize] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bundle.rs:1414:13 [INFO] [stdout] | [INFO] [stdout] 1414 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1410 ~ match self.bind[slot as usize] { Some(ref contents) => { [INFO] [stdout] 1411 | if contents.bind_group.is_equal(bind_group) { [INFO] [stdout] 1412 | return; [INFO] [stdout] 1413 | } [INFO] [stdout] 1414 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/compute.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(pipeline) = self.pipeline.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/compute.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.pipeline.as_ref() { Some(pipeline) => { [INFO] [stdout] 238 | self.binder.check_compatibility(pipeline.as_ref())?; [INFO] [stdout] 239 | self.binder.check_late_buffer_bindings()?; [INFO] [stdout] 240 | Ok(()) [INFO] [stdout] 241 ~ } _ => { [INFO] [stdout] 242 | Err(DispatchError::MissingPipeline) [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/compute.rs:499:35 [INFO] [stdout] | [INFO] [stdout] 499 | let timestamp_writes = if let Some(tw) = timestamp_writes.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/compute.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 499 ~ let timestamp_writes = match timestamp_writes.take() { Some(tw) => { [INFO] [stdout] 500 | tw.query_set [INFO] [stdout] ... [INFO] [stdout] 531 | }) [INFO] [stdout] 532 ~ } _ => { [INFO] [stdout] 533 | None [INFO] [stdout] 534 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/compute.rs:508:28 [INFO] [stdout] | [INFO] [stdout] 508 | let range = if let (Some(index_a), Some(index_b)) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 509 | | (tw.beginning_of_pass_write_index, tw.end_of_pass_write_index) [INFO] [stdout] | |__________________--__________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/compute.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 508 ~ let range = match (tw.beginning_of_pass_write_index, tw.end_of_pass_write_index) [INFO] [stdout] 509 ~ { (Some(index_a), Some(index_b)) => { [INFO] [stdout] 510 | Some(index_a.min(index_b)..index_a.max(index_b) + 1) [INFO] [stdout] 511 ~ } _ => { [INFO] [stdout] 512 | tw.beginning_of_pass_write_index [INFO] [stdout] 513 | .or(tw.end_of_pass_write_index) [INFO] [stdout] 514 | .map(|i| i..i + 1) [INFO] [stdout] 515 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/compute.rs:728:16 [INFO] [stdout] | [INFO] [stdout] 728 | if let Some(group) = e.group.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/compute.rs:738:13 [INFO] [stdout] | [INFO] [stdout] 738 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 728 ~ match e.group.as_ref() { Some(group) => { [INFO] [stdout] 729 | let raw_bg = group.try_raw(&state.snatch_guard)?; [INFO] [stdout] ... [INFO] [stdout] 737 | } [INFO] [stdout] 738 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/compute.rs:773:20 [INFO] [stdout] | [INFO] [stdout] 773 | if let Some(group) = e.group.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/compute.rs:783:17 [INFO] [stdout] | [INFO] [stdout] 783 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 773 ~ match e.group.as_ref() { Some(group) => { [INFO] [stdout] 774 | let raw_bg = group.try_raw(&state.snatch_guard)?; [INFO] [stdout] ... [INFO] [stdout] 782 | } [INFO] [stdout] 783 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/memory_init.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if let Err(error) = clear_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/memory_init.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 325 ~ match clear_result { Err(error) => { [INFO] [stdout] 326 | panic!("{error}"); [INFO] [stdout] 327 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/query.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | if let Some((query_set, query_index)) = active_query.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/query.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 257 ~ match active_query.take() { Some((query_set, query_index)) => { [INFO] [stdout] 258 | unsafe { raw_encoder.end_query(query_set.raw.as_ref().unwrap(), query_index) }; [INFO] [stdout] 259 | Ok(()) [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | Err(QueryUseError::AlreadyStopped) [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/query.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | if let Some((query_set, query_index)) = active_query.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/query.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 308 ~ match active_query.take() { Some((query_set, query_index)) => { [INFO] [stdout] 309 | unsafe { raw_encoder.end_query(query_set.raw(), query_index) }; [INFO] [stdout] 310 | Ok(()) [INFO] [stdout] 311 ~ } _ => { [INFO] [stdout] 312 | Err(QueryUseError::AlreadyStopped) [INFO] [stdout] 313 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/render.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 482 | if let Some(pipeline) = self.pipeline.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/render.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 482 ~ match self.pipeline.as_ref() { Some(pipeline) => { [INFO] [stdout] 483 | self.binder.check_compatibility(pipeline.as_ref())?; [INFO] [stdout] ... [INFO] [stdout] 520 | Ok(()) [INFO] [stdout] 521 ~ } _ => { [INFO] [stdout] 522 | Err(DrawError::MissingPipeline) [INFO] [stdout] 523 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/render.rs:1184:39 [INFO] [stdout] | [INFO] [stdout] 1184 | let timestamp_writes_hal = if let Some(tw) = timestamp_writes.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/render.rs:1200:9 [INFO] [stdout] | [INFO] [stdout] 1200 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1184 ~ let timestamp_writes_hal = match timestamp_writes.as_ref() { Some(tw) => { [INFO] [stdout] 1185 | let query_set = &tw.query_set; [INFO] [stdout] ... [INFO] [stdout] 1199 | }) [INFO] [stdout] 1200 ~ } _ => { [INFO] [stdout] 1201 | None [INFO] [stdout] 1202 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/render.rs:1204:42 [INFO] [stdout] | [INFO] [stdout] 1204 | let occlusion_query_set_hal = if let Some(query_set) = occlusion_query_set.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/render.rs:1207:9 [INFO] [stdout] | [INFO] [stdout] 1207 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1204 ~ let occlusion_query_set_hal = match occlusion_query_set.as_ref() { Some(query_set) => { [INFO] [stdout] 1205 | query_set.same_device(device)?; [INFO] [stdout] 1206 | Some(query_set.raw.as_ref().unwrap()) [INFO] [stdout] 1207 ~ } _ => { [INFO] [stdout] 1208 | None [INFO] [stdout] 1209 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/render.rs:1238:16 [INFO] [stdout] | [INFO] [stdout] 1238 | if let Some(resolve_target) = at.resolve_target { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/render.rs:1240:13 [INFO] [stdout] | [INFO] [stdout] 1240 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1238 ~ match at.resolve_target { Some(resolve_target) => { [INFO] [stdout] 1239 | trackers.views.insert_single(resolve_target); [INFO] [stdout] 1240 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/render.rs:2015:16 [INFO] [stdout] | [INFO] [stdout] 2015 | if let Some(group) = e.group.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/render.rs:2025:13 [INFO] [stdout] | [INFO] [stdout] 2025 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2015 ~ match e.group.as_ref() { Some(group) => { [INFO] [stdout] 2016 | let raw_bg = group.try_raw(state.snatch_guard)?; [INFO] [stdout] ... [INFO] [stdout] 2024 | } [INFO] [stdout] 2025 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/render.rs:2089:20 [INFO] [stdout] | [INFO] [stdout] 2089 | if let Some(group) = e.group.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/render.rs:2099:17 [INFO] [stdout] | [INFO] [stdout] 2099 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2089 ~ match e.group.as_ref() { Some(group) => { [INFO] [stdout] 2090 | let raw_bg = group.try_raw(state.snatch_guard)?; [INFO] [stdout] ... [INFO] [stdout] 2098 | } [INFO] [stdout] 2099 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/mod.rs:180:16 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(callback) = operation.callback.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/mod.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match operation.callback.take() { Some(callback) => { [INFO] [stdout] 181 | callback.call(status); [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | if let Some(texture) = hub.textures.unregister(texture_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 595 ~ match hub.textures.unregister(texture_id) { Some(texture) => { [INFO] [stdout] 596 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 607 | } [INFO] [stdout] 608 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | if let Some(_sampler) = hub.samplers.unregister(sampler_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 730 ~ match hub.samplers.unregister(sampler_id) { Some(_sampler) => { [INFO] [stdout] 731 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 734 | } [INFO] [stdout] 735 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:807:12 [INFO] [stdout] | [INFO] [stdout] 807 | if let Some(_layout) = hub.bind_group_layouts.unregister(bind_group_layout_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 807 ~ match hub.bind_group_layouts.unregister(bind_group_layout_id) { Some(_layout) => { [INFO] [stdout] 808 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 811 | } [INFO] [stdout] 812 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 884 | if let Some(_layout) = hub.pipeline_layouts.unregister(pipeline_layout_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 884 ~ match hub.pipeline_layouts.unregister(pipeline_layout_id) { Some(_layout) => { [INFO] [stdout] 885 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 888 | } [INFO] [stdout] 889 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1025:12 [INFO] [stdout] | [INFO] [stdout] 1025 | if let Some(_bind_group) = hub.bind_groups.unregister(bind_group_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1025 ~ match hub.bind_groups.unregister(bind_group_id) { Some(_bind_group) => { [INFO] [stdout] 1026 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1029 | } [INFO] [stdout] 1030 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1176:12 [INFO] [stdout] | [INFO] [stdout] 1176 | if let Some(shader_module) = hub.shader_modules.unregister(shader_module_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1176 ~ match hub.shader_modules.unregister(shader_module_id) { Some(shader_module) => { [INFO] [stdout] 1177 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1181 | drop(shader_module) [INFO] [stdout] 1182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1224:12 [INFO] [stdout] | [INFO] [stdout] 1224 | if let Some(cmd_buf) = hub [INFO] [stdout] | ____________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 1225 | || .command_buffers [INFO] [stdout] 1226 | || .unregister(command_encoder_id.into_command_buffer_id()) [INFO] [stdout] | ||____________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1229:9 [INFO] [stdout] | [INFO] [stdout] 1229 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1224 ~ match hub [INFO] [stdout] 1225 | .command_buffers [INFO] [stdout] 1226 | .unregister(command_encoder_id.into_command_buffer_id()) [INFO] [stdout] 1227 ~ { Some(cmd_buf) => { [INFO] [stdout] 1228 | cmd_buf.data.lock().as_mut().unwrap().encoder.discard(); [INFO] [stdout] 1229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1312:12 [INFO] [stdout] | [INFO] [stdout] 1312 | if let Some(_bundle) = hub.render_bundles.unregister(render_bundle_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1312 ~ match hub.render_bundles.unregister(render_bundle_id) { Some(_bundle) => { [INFO] [stdout] 1313 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1316 | } [INFO] [stdout] 1317 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1366:12 [INFO] [stdout] | [INFO] [stdout] 1366 | if let Some(_query_set) = hub.query_sets.unregister(query_set_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1371:9 [INFO] [stdout] | [INFO] [stdout] 1371 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1366 ~ match hub.query_sets.unregister(query_set_id) { Some(_query_set) => { [INFO] [stdout] 1367 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1370 | } [INFO] [stdout] 1371 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1609:12 [INFO] [stdout] | [INFO] [stdout] 1609 | if let Some(_pipeline) = hub.render_pipelines.unregister(render_pipeline_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1614:9 [INFO] [stdout] | [INFO] [stdout] 1614 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1609 ~ match hub.render_pipelines.unregister(render_pipeline_id) { Some(_pipeline) => { [INFO] [stdout] 1610 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1613 | } [INFO] [stdout] 1614 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1806:12 [INFO] [stdout] | [INFO] [stdout] 1806 | if let Some(_pipeline) = hub.compute_pipelines.unregister(compute_pipeline_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1811:9 [INFO] [stdout] | [INFO] [stdout] 1811 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1806 ~ match hub.compute_pipelines.unregister(compute_pipeline_id) { Some(_pipeline) => { [INFO] [stdout] 1807 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1810 | } [INFO] [stdout] 1811 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:1868:12 [INFO] [stdout] | [INFO] [stdout] 1868 | if let Some(cache) = hub.pipeline_caches.unregister(pipeline_cache_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:1874:9 [INFO] [stdout] | [INFO] [stdout] 1874 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1868 ~ match hub.pipeline_caches.unregister(pipeline_cache_id) { Some(cache) => { [INFO] [stdout] 1869 | #[cfg(feature = "trace")] [INFO] [stdout] ... [INFO] [stdout] 1873 | drop(cache) [INFO] [stdout] 1874 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2047:24 [INFO] [stdout] | [INFO] [stdout] 2047 | if let Err(missing_flag) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 2048 | | device.require_downlevel_flags(wgt::DownlevelFlags::SURFACE_VIEW_FORMATS) [INFO] [stdout] | |_________________________------__________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2051:21 [INFO] [stdout] | [INFO] [stdout] 2051 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2047 ~ match device.require_downlevel_flags(wgt::DownlevelFlags::SURFACE_VIEW_FORMATS) [INFO] [stdout] 2048 ~ { Err(missing_flag) => { [INFO] [stdout] 2049 | break 'error E::MissingDownlevelFlags(missing_flag); [INFO] [stdout] 2050 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2274:12 [INFO] [stdout] | [INFO] [stdout] 2274 | if let Ok(device) = hub.devices.get(id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2279:9 [INFO] [stdout] | [INFO] [stdout] 2279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2274 ~ match hub.devices.get(id) { Ok(device) => { [INFO] [stdout] 2275 | if !device.is_valid() { [INFO] [stdout] ... [INFO] [stdout] 2278 | unsafe { device.raw().start_capture() }; [INFO] [stdout] 2279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2287:12 [INFO] [stdout] | [INFO] [stdout] 2287 | if let Ok(device) = hub.devices.get(id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2292:9 [INFO] [stdout] | [INFO] [stdout] 2292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2287 ~ match hub.devices.get(id) { Ok(device) => { [INFO] [stdout] 2288 | if !device.is_valid() { [INFO] [stdout] ... [INFO] [stdout] 2291 | unsafe { device.raw().stop_capture() }; [INFO] [stdout] 2292 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2313:16 [INFO] [stdout] | [INFO] [stdout] 2313 | if let Some(raw_cache) = cache.raw.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2329:13 [INFO] [stdout] | [INFO] [stdout] 2329 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2313 ~ match cache.raw.as_ref() { Some(raw_cache) => { [INFO] [stdout] 2314 | let mut vec = unsafe { cache.device.raw().pipeline_cache_get_data(raw_cache) }?; [INFO] [stdout] ... [INFO] [stdout] 2328 | return Some(vec); [INFO] [stdout] 2329 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2339:12 [INFO] [stdout] | [INFO] [stdout] 2339 | if let Some(device) = hub.devices.unregister(device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2353:9 [INFO] [stdout] | [INFO] [stdout] 2353 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2339 ~ match hub.devices.unregister(device_id) { Some(device) => { [INFO] [stdout] 2340 | let device_lost_closure = device.lock_life().device_lost_closure.take(); [INFO] [stdout] ... [INFO] [stdout] 2352 | drop(device); [INFO] [stdout] 2353 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2365:12 [INFO] [stdout] | [INFO] [stdout] 2365 | if let Ok(device) = hub.devices.get(device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2374:9 [INFO] [stdout] | [INFO] [stdout] 2374 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2365 ~ match hub.devices.get(device_id) { Ok(device) => { [INFO] [stdout] 2366 | let mut life_tracker = device.lock_life(); [INFO] [stdout] ... [INFO] [stdout] 2373 | life_tracker.device_lost_closure = Some(device_lost_closure); [INFO] [stdout] 2374 ~ } _ => { [INFO] [stdout] 2375 | // No device? Okay. Just like we have to call any existing closure [INFO] [stdout] ... [INFO] [stdout] 2379 | device_lost_closure.call(DeviceLostReason::DeviceInvalid, "".to_string()); [INFO] [stdout] 2380 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2388:12 [INFO] [stdout] | [INFO] [stdout] 2388 | if let Ok(device) = hub.devices.get(device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2406:9 [INFO] [stdout] | [INFO] [stdout] 2406 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2388 ~ match hub.devices.get(device_id) { Ok(device) => { [INFO] [stdout] 2389 | // Follow the steps at [INFO] [stdout] ... [INFO] [stdout] 2405 | device.valid.store(false, Ordering::Relaxed); [INFO] [stdout] 2406 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2414:12 [INFO] [stdout] | [INFO] [stdout] 2414 | if let Ok(device) = hub.devices.get(device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2416:9 [INFO] [stdout] | [INFO] [stdout] 2416 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2414 ~ match hub.devices.get(device_id) { Ok(device) => { [INFO] [stdout] 2415 | device.lose(message); [INFO] [stdout] 2416 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2424:12 [INFO] [stdout] | [INFO] [stdout] 2424 | if let Ok(device) = hub.devices.get(device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2429:9 [INFO] [stdout] | [INFO] [stdout] 2429 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2424 ~ match hub.devices.get(device_id) { Ok(device) => { [INFO] [stdout] 2425 | wgt::InternalCounters { [INFO] [stdout] ... [INFO] [stdout] 2428 | } [INFO] [stdout] 2429 ~ } _ => { [INFO] [stdout] 2430 | Default::default() [INFO] [stdout] 2431 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/global.rs:2439:12 [INFO] [stdout] | [INFO] [stdout] 2439 | if let Some(queue) = hub.queues.unregister(queue_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/global.rs:2441:9 [INFO] [stdout] | [INFO] [stdout] 2441 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2439 ~ match hub.queues.unregister(queue_id) { Some(queue) => { [INFO] [stdout] 2440 | drop(queue); [INFO] [stdout] 2441 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/resource.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | while let Some(item) = self.deferred_destroy.lock().pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/resource.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/resource.rs:2656:16 [INFO] [stdout] | [INFO] [stdout] 2656 | if let Some(ref interface) = shader_module.interface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/resource.rs:2665:13 [INFO] [stdout] | [INFO] [stdout] 2665 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2656 ~ match shader_module.interface { Some(ref interface) => { [INFO] [stdout] 2657 | let _ = interface.check_stage( [INFO] [stdout] ... [INFO] [stdout] 2664 | )?; [INFO] [stdout] 2665 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3143:24 [INFO] [stdout] | [INFO] [stdout] 3143 | if let Some(ref interface) = shader_module.interface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3155:21 [INFO] [stdout] | [INFO] [stdout] 3155 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3143 ~ match shader_module.interface { Some(ref interface) => { [INFO] [stdout] 3144 | io = interface [INFO] [stdout] ... [INFO] [stdout] 3154 | validated_stages |= stage; [INFO] [stdout] 3155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3580:16 [INFO] [stdout] | [INFO] [stdout] 3580 | if let Some(buffer) = Weak::upgrade(&buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3582:13 [INFO] [stdout] | [INFO] [stdout] 3582 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3580 ~ match Weak::upgrade(&buffer) { Some(buffer) => { [INFO] [stdout] 3581 | let _ = buffer.destroy(); [INFO] [stdout] 3582 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3585:16 [INFO] [stdout] | [INFO] [stdout] 3585 | if let Some(texture) = Weak::upgrade(&texture) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3587:13 [INFO] [stdout] | [INFO] [stdout] 3587 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3585 ~ match Weak::upgrade(&texture) { Some(texture) => { [INFO] [stdout] 3586 | let _ = texture.destroy(); [INFO] [stdout] 3587 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3635:12 [INFO] [stdout] | [INFO] [stdout] 3635 | if let Some(device_lost_closure) = life_tracker.device_lost_closure.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/device/resource.rs:3639:9 [INFO] [stdout] | [INFO] [stdout] 3639 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3635 ~ match life_tracker.device_lost_closure.take() { Some(device_lost_closure) => { [INFO] [stdout] 3636 | // It's important to not hold the lock while calling the closure. [INFO] [stdout] 3637 | drop(life_tracker); [INFO] [stdout] 3638 | device_lost_closure.call(DeviceLostReason::Dropped, "Device is dying.".to_string()); [INFO] [stdout] 3639 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | if let Element::Occupied(arc_surface, _) = element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match element { Element::Occupied(arc_surface, _) => { [INFO] [stdout] 158 | let surface = Arc::into_inner(arc_surface) [INFO] [stdout] 159 | .expect("Surface cannot be destroyed because is still in use"); [INFO] [stdout] 160 | self.instance.destroy_surface(surface); [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hub.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | if let Element::Occupied(ref device, _) = *element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/hub.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 225 ~ match *element { Element::Occupied(ref device, _) => { [INFO] [stdout] 226 | device.prepare_to_die(); [INFO] [stdout] 227 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hub.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | if let Element::Occupied(ref surface, _epoch) = *element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/hub.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match *element { Element::Occupied(ref surface, _epoch) => { [INFO] [stdout] 246 | if let Some(ref mut present) = surface.presentation.lock().take() { [INFO] [stdout] ... [INFO] [stdout] 254 | } [INFO] [stdout] 255 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hub.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(ref mut present) = surface.presentation.lock().take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/hub.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 246 ~ match surface.presentation.lock().take() { Some(ref mut present) => { [INFO] [stdout] 247 | if let Some(device) = present.device.downcast_ref::() { [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hub.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(device) = present.device.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/hub.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ match present.device.downcast_ref::() { Some(device) => { [INFO] [stdout] 248 | let suf = A::surface_as_hal(surface); [INFO] [stdout] ... [INFO] [stdout] 252 | } [INFO] [stdout] 253 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/init_tracker/mod.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(r) = self.uninitialized_ranges.get(r_idx) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/init_tracker/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 213 ~ match self.uninitialized_ranges.get(r_idx) { Some(r) => { [INFO] [stdout] 214 | // Extend range at end [INFO] [stdout] ... [INFO] [stdout] 233 | } [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | self.uninitialized_ranges.push(pos..(pos + 1)); [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/instance.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(surface) = surface.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/instance.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match surface.take() { Some(surface) => { [INFO] [stdout] 118 | unsafe { [INFO] [stdout] 119 | instance.as_ref().unwrap().destroy_surface(surface); [INFO] [stdout] 120 | } [INFO] [stdout] 121 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/instance.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | if let Some(device) = present.device.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/instance.rs:682:17 [INFO] [stdout] | [INFO] [stdout] 682 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 680 ~ match present.device.downcast_ref::() { Some(device) => { [INFO] [stdout] 681 | hub.surface_unconfigure(device, surface); [INFO] [stdout] 682 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pipeline.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pipeline.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 60 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 64 | } [INFO] [stdout] 65 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pipeline.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pipeline.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 259 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 260 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 264 | } [INFO] [stdout] 265 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pipeline.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pipeline.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 315 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 316 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 320 | } [INFO] [stdout] 321 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pipeline.rs:605:12 [INFO] [stdout] | [INFO] [stdout] 605 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pipeline.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 605 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 606 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 610 | } [INFO] [stdout] 611 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/present.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | let (device, config) = if let Some(ref present) = *surface.presentation.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/present.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 132 ~ let (device, config) = match *surface.presentation.lock() { Some(ref present) => { [INFO] [stdout] 133 | match present.device.downcast_clone::() { [INFO] [stdout] ... [INFO] [stdout] 139 | } [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | return Err(SurfaceError::NotConfigured); [INFO] [stdout] 142 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/present.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if let Some(texture) = texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/present.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 306 ~ match texture { Some(texture) => { [INFO] [stdout] 307 | device [INFO] [stdout] ... [INFO] [stdout] 336 | } [INFO] [stdout] 337 ~ } _ => { [INFO] [stdout] 338 | Err(hal::SurfaceError::Outdated) //TODO? [INFO] [stdout] 339 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/present.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | if let Some(texture) = texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/present.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 400 ~ match texture { Some(texture) => { [INFO] [stdout] 401 | device [INFO] [stdout] ... [INFO] [stdout] 417 | } [INFO] [stdout] 418 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 469 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 470 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 474 | } [INFO] [stdout] 475 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:584:16 [INFO] [stdout] | [INFO] [stdout] 584 | if let Err(e) = self.check_destroyed(&snatch_guard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 584 ~ match self.check_destroyed(&snatch_guard) { Err(e) => { [INFO] [stdout] 585 | return Err((op, e.into())); [INFO] [stdout] 586 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:628:16 [INFO] [stdout] | [INFO] [stdout] 628 | if let Some(callback) = operation.callback.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 628 ~ match operation.callback.take() { Some(callback) => { [INFO] [stdout] 629 | callback.call(status); [INFO] [stdout] 630 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:809:12 [INFO] [stdout] | [INFO] [stdout] 809 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 809 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 810 | resource_log!("Destroy raw Buffer (destroyed) {:?}", self.label()); [INFO] [stdout] ... [INFO] [stdout] 815 | } [INFO] [stdout] 816 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1087:20 [INFO] [stdout] | [INFO] [stdout] 1087 | if let Some(view) = clear_view.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1091:17 [INFO] [stdout] | [INFO] [stdout] 1091 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match clear_view.take() { Some(view) => { [INFO] [stdout] 1088 | unsafe { [INFO] [stdout] 1089 | self.device.raw().destroy_texture_view(view); [INFO] [stdout] 1090 | } [INFO] [stdout] 1091 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1098:24 [INFO] [stdout] | [INFO] [stdout] 1098 | if let Some(view) = clear_view.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1102:21 [INFO] [stdout] | [INFO] [stdout] 1102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1098 ~ match clear_view.take() { Some(view) => { [INFO] [stdout] 1099 | unsafe { [INFO] [stdout] 1100 | self.device.raw().destroy_texture_view(view); [INFO] [stdout] 1101 | } [INFO] [stdout] 1102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1108:12 [INFO] [stdout] | [INFO] [stdout] 1108 | if let Some(TextureInner::Native { raw }) = self.inner.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1113:9 [INFO] [stdout] | [INFO] [stdout] 1113 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1108 ~ match self.inner.take() { Some(TextureInner::Native { raw }) => { [INFO] [stdout] 1109 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 1112 | } [INFO] [stdout] 1113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1237:12 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Ok(buffer) = hub.buffers.get(id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1241:9 [INFO] [stdout] | [INFO] [stdout] 1241 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1237 ~ match hub.buffers.get(id) { Ok(buffer) => { [INFO] [stdout] 1238 | let snatch_guard = buffer.device.snatchable_lock.read(); [INFO] [stdout] 1239 | let hal_buffer = buffer.raw(&snatch_guard); [INFO] [stdout] 1240 | hal_buffer_callback(hal_buffer) [INFO] [stdout] 1241 ~ } _ => { [INFO] [stdout] 1242 | hal_buffer_callback(None) [INFO] [stdout] 1243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1258:12 [INFO] [stdout] | [INFO] [stdout] 1258 | if let Ok(texture) = hub.textures.get(id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1262:9 [INFO] [stdout] | [INFO] [stdout] 1262 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1258 ~ match hub.textures.get(id) { Ok(texture) => { [INFO] [stdout] 1259 | let snatch_guard = texture.device.snatchable_lock.read(); [INFO] [stdout] 1260 | let hal_texture = texture.raw(&snatch_guard); [INFO] [stdout] 1261 | hal_texture_callback(hal_texture) [INFO] [stdout] 1262 ~ } _ => { [INFO] [stdout] 1263 | hal_texture_callback(None) [INFO] [stdout] 1264 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1279:12 [INFO] [stdout] | [INFO] [stdout] 1279 | if let Ok(texture_view) = hub.texture_views.get(id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1279 ~ match hub.texture_views.get(id) { Ok(texture_view) => { [INFO] [stdout] 1280 | let snatch_guard = texture_view.device.snatchable_lock.read(); [INFO] [stdout] 1281 | let hal_texture_view = texture_view.raw(&snatch_guard); [INFO] [stdout] 1282 | hal_texture_view_callback(hal_texture_view) [INFO] [stdout] 1283 ~ } _ => { [INFO] [stdout] 1284 | hal_texture_view_callback(None) [INFO] [stdout] 1285 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1334:12 [INFO] [stdout] | [INFO] [stdout] 1334 | if let Ok(device) = hub.devices.get(id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1338:9 [INFO] [stdout] | [INFO] [stdout] 1338 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1334 ~ match hub.devices.get(id) { Ok(device) => { [INFO] [stdout] 1335 | let hal_fence = device.fence.read(); [INFO] [stdout] 1336 | let hal_fence = hal_fence.as_ref(); [INFO] [stdout] 1337 | hal_fence_callback(hal_fence) [INFO] [stdout] 1338 ~ } _ => { [INFO] [stdout] 1339 | hal_fence_callback(None) [INFO] [stdout] 1340 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1376:12 [INFO] [stdout] | [INFO] [stdout] 1376 | if let Ok(cmd_buf) = hub.command_buffers.get(id.into_command_buffer_id()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1376 ~ match hub.command_buffers.get(id.into_command_buffer_id()) { Ok(cmd_buf) => { [INFO] [stdout] 1377 | let mut cmd_buf_data = cmd_buf.data.lock(); [INFO] [stdout] ... [INFO] [stdout] 1380 | hal_command_encoder_callback(cmd_buf_raw) [INFO] [stdout] 1381 ~ } _ => { [INFO] [stdout] 1382 | hal_command_encoder_callback(None) [INFO] [stdout] 1383 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1416:12 [INFO] [stdout] | [INFO] [stdout] 1416 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1423:9 [INFO] [stdout] | [INFO] [stdout] 1423 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1416 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 1417 | resource_log!("Destroy raw Texture (destroyed) {:?}", self.label()); [INFO] [stdout] ... [INFO] [stdout] 1422 | } [INFO] [stdout] 1423 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1604:12 [INFO] [stdout] | [INFO] [stdout] 1604 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1610:9 [INFO] [stdout] | [INFO] [stdout] 1610 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1604 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 1605 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 1609 | } [INFO] [stdout] 1610 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1734:12 [INFO] [stdout] | [INFO] [stdout] 1734 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1740:9 [INFO] [stdout] | [INFO] [stdout] 1740 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1734 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 1735 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 1739 | } [INFO] [stdout] 1740 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:1827:12 [INFO] [stdout] | [INFO] [stdout] 1827 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resource.rs:1833:9 [INFO] [stdout] | [INFO] [stdout] 1833 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1827 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 1828 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 1832 | } [INFO] [stdout] 1833 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/snatch.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(prev) = SNATCH_LOCK_TRACE.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/snatch.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match SNATCH_LOCK_TRACE.take() { Some(prev) => { [INFO] [stdout] 96 | let current = thread::current(); [INFO] [stdout] ... [INFO] [stdout] 102 | ); [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | SNATCH_LOCK_TRACE.set(Some(new)); [INFO] [stdout] 105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + Clone + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/track/texture.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | impl Iterator + Clone + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/track/texture.rs:953:34 [INFO] [stdout] | [INFO] [stdout] 953 | texture_selector: Option<&TextureSelector>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 957 | impl Iterator + Clone + 'a + use<'a>, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 240 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wgpu_core` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/binding_model.rs [INFO] [stderr] * src/command/bind.rs [INFO] [stderr] * src/command/bundle.rs [INFO] [stderr] * src/device/any_device.rs [INFO] [stderr] * src/device/global.rs [INFO] [stderr] * src/device/mod.rs [INFO] [stderr] * src/device/queue.rs [INFO] [stderr] * src/device/resource.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/global.rs [INFO] [stderr] * src/hal_api.rs [INFO] [stderr] * src/hub.rs [INFO] [stderr] * src/instance.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/lock/mod.rs [INFO] [stderr] * src/resource.rs [INFO] [stderr] * src/track/range.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/device/resource.rs:934:26 [INFO] [stderr] | [INFO] [stderr] 934 | ($format:expr_2021, $aspect:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/device/resource.rs:934:45 [INFO] [stderr] | [INFO] [stderr] 934 | ($format:expr_2021, $aspect:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:295:6 [INFO] [stderr] | [INFO] [stderr] 295 | ($id:expr_2021 => $c0:ident.$c1:tt.$method:ident $params:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:300:6 [INFO] [stderr] | [INFO] [stderr] 300 | ($id:expr_2021 => $c0:ident.$method:ident $params:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:304:6 [INFO] [stderr] | [INFO] [stderr] 304 | ($id:expr_2021 => {$($c:tt)*}, $method:ident $params:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 238 | define_backend_caller! { gfx_if_vulkan, gfx_if_vulkan_hidden, "vulkan" if all(feature = "vulkan", not(target_arch = "wasm32")) } [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | define_backend_caller! { gfx_if_metal, gfx_if_metal_hidden, "metal" if all(feature = "metal", any(target_os = "macos", target_os = "ios")) } [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | define_backend_caller! { gfx_if_dx12, gfx_if_dx12_hidden, "dx12" if all(feature = "dx12", windows) } [INFO] [stderr] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 241 | define_backend_caller! { gfx_if_gles, gfx_if_gles_hidden, "gles" if feature = "gles" } [INFO] [stderr] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:222:15 [INFO] [stderr] | [INFO] [stderr] 222 | ( $call:expr_2021 ) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | / define_backend_caller! { gfx_if_empty, gfx_if_empty_hidden, "empty" if all( [INFO] [stderr] 243 | | not(any(feature = "metal", feature = "vulkan", feature = "gles")), [INFO] [stderr] 244 | | any(target_os = "macos", target_os = "ios"), [INFO] [stderr] 245 | | ) } [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] = note: this error originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stderr] --> src/lib.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | not(any(not(doc), wgpu_core_doc)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_core_doc` [INFO] [stderr] --> src/lib.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | #![cfg(any(not(doc), wgpu_core_doc))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_core_doc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/binding_model.rs:926:17 [INFO] [stderr] | [INFO] [stderr] 923 | pub(crate) fn try_raw<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 926 | ) -> Result<&A::BindGroup, DestroyedResourceError> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/command/bind.rs:422:94 [INFO] [stderr] | [INFO] [stderr] 422 | pub(super) fn list_active<'a>(&'a self) -> impl Iterator>> + '_ { [INFO] [stderr] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/command/bundle.rs:981:7 [INFO] [stderr] | [INFO] [stderr] 981 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/command/bundle.rs:983:7 [INFO] [stderr] | [INFO] [stderr] 983 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/mod.rs:195:7 [INFO] [stderr] | [INFO] [stderr] 195 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/mod.rs:197:11 [INFO] [stderr] | [INFO] [stderr] 197 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/mod.rs:220:7 [INFO] [stderr] | [INFO] [stderr] 220 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/any_device.rs:99:7 [INFO] [stderr] | [INFO] [stderr] 99 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/any_device.rs:101:7 [INFO] [stderr] | [INFO] [stderr] 101 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/device/global.rs:2242:15 [INFO] [stderr] | [INFO] [stderr] 2242 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/device/global.rs:2247:15 [INFO] [stderr] | [INFO] [stderr] 2247 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/device/global.rs:2252:15 [INFO] [stderr] | [INFO] [stderr] 2252 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/device/global.rs:2257:15 [INFO] [stderr] | [INFO] [stderr] 2257 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/queue.rs:70:7 [INFO] [stderr] | [INFO] [stderr] 70 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/queue.rs:79:7 [INFO] [stderr] | [INFO] [stderr] 79 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/device/queue.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `webgl` [INFO] [stderr] --> src/device/queue.rs:841:11 [INFO] [stderr] | [INFO] [stderr] 841 | #[cfg(webgl)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(webgl)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(webgl)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/error.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/error.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/global.rs:166:7 [INFO] [stderr] | [INFO] [stderr] 166 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:115:19 [INFO] [stderr] | [INFO] [stderr] 115 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:121:19 [INFO] [stderr] | [INFO] [stderr] 121 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/global.rs:138:15 [INFO] [stderr] | [INFO] [stderr] 138 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/global.rs:142:15 [INFO] [stderr] | [INFO] [stderr] 142 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/global.rs:146:15 [INFO] [stderr] | [INFO] [stderr] 146 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/global.rs:150:15 [INFO] [stderr] | [INFO] [stderr] 150 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hal_api.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hal_api.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hal_api.rs:75:7 [INFO] [stderr] | [INFO] [stderr] 75 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hal_api.rs:96:7 [INFO] [stderr] | [INFO] [stderr] 96 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:298:11 [INFO] [stderr] | [INFO] [stderr] 298 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:300:11 [INFO] [stderr] | [INFO] [stderr] 300 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:302:11 [INFO] [stderr] | [INFO] [stderr] 302 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:304:11 [INFO] [stderr] | [INFO] [stderr] 304 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:306:19 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:306:32 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:306:44 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:306:55 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:313:19 [INFO] [stderr] | [INFO] [stderr] 313 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:315:19 [INFO] [stderr] | [INFO] [stderr] 315 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:317:19 [INFO] [stderr] | [INFO] [stderr] 317 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:319:19 [INFO] [stderr] | [INFO] [stderr] 319 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/hub.rs:321:27 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/hub.rs:321:40 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/hub.rs:321:52 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/hub.rs:321:63 [INFO] [stderr] | [INFO] [stderr] 321 | #[cfg(all(not(vulkan), not(metal), not(dx12), not(gles)))] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:105:19 [INFO] [stderr] | [INFO] [stderr] 105 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:123:15 [INFO] [stderr] | [INFO] [stderr] 123 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:125:15 [INFO] [stderr] | [INFO] [stderr] 125 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:127:15 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:137:11 [INFO] [stderr] | [INFO] [stderr] 137 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:139:11 [INFO] [stderr] | [INFO] [stderr] 139 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:141:11 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:143:11 [INFO] [stderr] | [INFO] [stderr] 143 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:567:11 [INFO] [stderr] | [INFO] [stderr] 567 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:597:11 [INFO] [stderr] | [INFO] [stderr] 597 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:623:11 [INFO] [stderr] | [INFO] [stderr] 623 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:638:11 [INFO] [stderr] | [INFO] [stderr] 638 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:653:11 [INFO] [stderr] | [INFO] [stderr] 653 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:691:19 [INFO] [stderr] | [INFO] [stderr] 691 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:693:19 [INFO] [stderr] | [INFO] [stderr] 693 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:695:19 [INFO] [stderr] | [INFO] [stderr] 695 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:697:19 [INFO] [stderr] | [INFO] [stderr] 697 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:737:15 [INFO] [stderr] | [INFO] [stderr] 737 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:744:15 [INFO] [stderr] | [INFO] [stderr] 744 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:751:15 [INFO] [stderr] | [INFO] [stderr] 751 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:753:15 [INFO] [stderr] | [INFO] [stderr] 753 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:829:15 [INFO] [stderr] | [INFO] [stderr] 829 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:838:15 [INFO] [stderr] | [INFO] [stderr] 838 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:847:15 [INFO] [stderr] | [INFO] [stderr] 847 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:856:15 [INFO] [stderr] | [INFO] [stderr] 856 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:917:15 [INFO] [stderr] | [INFO] [stderr] 917 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:921:15 [INFO] [stderr] | [INFO] [stderr] 921 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:925:15 [INFO] [stderr] | [INFO] [stderr] 925 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:929:15 [INFO] [stderr] | [INFO] [stderr] 929 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `vulkan` [INFO] [stderr] --> src/instance.rs:952:19 [INFO] [stderr] | [INFO] [stderr] 952 | #[cfg(vulkan)] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "vulkan"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(vulkan)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(vulkan)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `metal` [INFO] [stderr] --> src/instance.rs:954:19 [INFO] [stderr] | [INFO] [stderr] 954 | #[cfg(metal)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "metal"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(metal)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(metal)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `dx12` [INFO] [stderr] --> src/instance.rs:956:19 [INFO] [stderr] | [INFO] [stderr] 956 | #[cfg(dx12)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "dx12"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dx12)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dx12)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `gles` [INFO] [stderr] --> src/instance.rs:958:19 [INFO] [stderr] | [INFO] [stderr] 958 | #[cfg(gles)] [INFO] [stderr] | ^^^^ help: found config with similar value: `feature = "gles"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gles)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gles)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg_attr(not(wgpu_validate_locks), allow(dead_code))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg_attr(wgpu_validate_locks, allow(dead_code))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg(wgpu_validate_locks)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wgpu_validate_locks` [INFO] [stderr] --> src/lock/mod.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | #[cfg(not(wgpu_validate_locks))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wgpu_validate_locks)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:268:7 [INFO] [stderr] | [INFO] [stderr] 268 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:270:7 [INFO] [stderr] | [INFO] [stderr] 270 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:279:7 [INFO] [stderr] | [INFO] [stderr] 279 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:289:7 [INFO] [stderr] | [INFO] [stderr] 289 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:291:11 [INFO] [stderr] | [INFO] [stderr] 291 | #[cfg(not(send_sync))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:820:7 [INFO] [stderr] | [INFO] [stderr] 820 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `send_sync` [INFO] [stderr] --> src/resource.rs:822:7 [INFO] [stderr] | [INFO] [stderr] 822 | #[cfg(send_sync)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(send_sync)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(send_sync)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/resource.rs:487:17 [INFO] [stderr] | [INFO] [stderr] 484 | pub(crate) fn try_raw<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 487 | ) -> Result<&A::Buffer, DestroyedResourceError> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/resource.rs:1622:17 [INFO] [stderr] | [INFO] [stderr] 1619 | pub(crate) fn try_raw<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 1622 | ) -> Result<&A::TextureView, DestroyedResourceError> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/track/range.rs:77:42 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn iter_filter<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 77 | ) -> impl Iterator, &T)> + 'a { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 113 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [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: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1613:7 [INFO] [stdout] | [INFO] [stdout] 1613 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1613 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1641:7 [INFO] [stdout] | [INFO] [stdout] 1641 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1641 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1656:7 [INFO] [stdout] | [INFO] [stdout] 1656 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1656 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1672:7 [INFO] [stdout] | [INFO] [stdout] 1672 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1672 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1687:7 [INFO] [stdout] | [INFO] [stdout] 1687 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1687 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1724:7 [INFO] [stdout] | [INFO] [stdout] 1724 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1724 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1740:7 [INFO] [stdout] | [INFO] [stdout] 1740 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1740 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1758:7 [INFO] [stdout] | [INFO] [stdout] 1758 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1758 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1772:7 [INFO] [stdout] | [INFO] [stdout] 1772 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1772 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1790:7 [INFO] [stdout] | [INFO] [stdout] 1790 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1790 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1798:7 [INFO] [stdout] | [INFO] [stdout] 1798 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1798 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/command/bundle.rs:1807:7 [INFO] [stdout] | [INFO] [stdout] 1807 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1807 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/device/resource.rs:934:34 [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr, $aspect:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr_2021, $aspect:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/device/resource.rs:934:48 [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr, $aspect:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 934 | ($format:expr, $aspect:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [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: `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: `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: `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: `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: 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: `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: `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/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: `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: `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: `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: `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/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/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: `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: `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: `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: `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: `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: `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: `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: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/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: `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: `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: `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: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: `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: `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: `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: `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: `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: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: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: `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: `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: `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: `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: `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: `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: `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: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: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: 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | ( $call:expr ) => ( $call ) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 216 | ( $call:expr_2021 ) => ( $call ) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | define_backend_caller! { gfx_if_vulkan, gfx_if_vulkan_hidden, "vulkan" if all(feature = "vulkan", not(target_arch = "wasm32")) } [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | define_backend_caller! { gfx_if_metal, gfx_if_metal_hidden, "metal" if all(feature = "metal", any(target_os = "macos", target_os = "ios")) } [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | define_backend_caller! { gfx_if_dx12, gfx_if_dx12_hidden, "dx12" if all(feature = "dx12", windows) } [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | define_backend_caller! { gfx_if_gles, gfx_if_gles_hidden, "gles" if feature = "gles" } [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr ) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / define_backend_caller! { gfx_if_empty, gfx_if_empty_hidden, "empty" if all( [INFO] [stdout] 243 | | not(any(feature = "metal", feature = "vulkan", feature = "gles")), [INFO] [stdout] 244 | | any(target_os = "macos", target_os = "ios"), [INFO] [stdout] 245 | | ) } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `define_backend_caller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 222 | ( $call:expr_2021 ) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | ($id:expr => $c0:ident.$c1:tt.$method:ident $params:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 295 | ($id:expr_2021 => $c0:ident.$c1:tt.$method:ident $params:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | ($id:expr => $c0:ident.$method:ident $params:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 300 | ($id:expr_2021 => $c0:ident.$method:ident $params:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 304 | ($id:expr => {$($c:tt)*}, $method:ident $params:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 304 | ($id:expr_2021 => {$($c:tt)*}, $method:ident $params:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:481:20 [INFO] [stdout] | [INFO] [stdout] 481 | if let Some(p) = p.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 481 ~ match p.upgrade() { Some(p) => { [INFO] [stdout] 482 | p.error_ident().fmt(f) [INFO] [stdout] 483 ~ } _ => { [INFO] [stdout] 484 | f.write_str("RenderPipeline") [INFO] [stdout] 485 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(p) = p.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match p.upgrade() { Some(p) => { [INFO] [stdout] 489 | p.error_ident().fmt(f) [INFO] [stdout] 490 ~ } _ => { [INFO] [stdout] 491 | f.write_str("ComputePipeline") [INFO] [stdout] 492 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 524 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 525 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 529 | } [INFO] [stdout] 530 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 667 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 668 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 672 | } [INFO] [stdout] 673 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binding_model.rs:912:12 [INFO] [stdout] | [INFO] [stdout] 912 | if let Some(raw) = self.raw.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binding_model.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 912 ~ match self.raw.take() { Some(raw) => { [INFO] [stdout] 913 | resource_log!("Destroy raw {}", self.error_ident()); [INFO] [stdout] ... [INFO] [stdout] 917 | } [INFO] [stdout] 918 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/mod.rs:623:28 [INFO] [stdout] | [INFO] [stdout] 623 | if let Err(e) = cmd_buf_data.encoder.close() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/mod.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 623 ~ match cmd_buf_data.encoder.close() { Err(e) => { [INFO] [stdout] 624 | Some(e.into()) [INFO] [stdout] 625 ~ } _ => { [INFO] [stdout] 626 | cmd_buf_data.status = CommandEncoderStatus::Finished; [INFO] [stdout] ... [INFO] [stdout] 630 | None [INFO] [stdout] 631 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(expected_bgl) = self.expected.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match self.expected.as_ref() { Some(expected_bgl) => { [INFO] [stdout] 59 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 63 | } [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | true [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match self.assigned.as_ref() { Some(assigned_bgl) => { [INFO] [stdout] 60 | expected_bgl.is_equal(assigned_bgl) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | false [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(expected_bgl) = self.expected.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match self.expected.as_ref() { Some(expected_bgl) => { [INFO] [stdout] 75 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] 194 ~ } _ => { [INFO] [stdout] 195 | Ok(()) [INFO] [stdout] 196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/command/bind.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(assigned_bgl) = self.assigned.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/command/bind.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.assigned.as_ref() { Some(assigned_bgl) => { [INFO] [stdout] 76 | if expected_bgl.is_equal(assigned_bgl) { [INFO] [stdout] ... [INFO] [stdout] 190 | } [WARN] too many lines in the log, truncating it