[INFO] fetching crate nvapi-sys 0.1.3... [INFO] testing nvapi-sys-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate nvapi-sys 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate nvapi-sys 0.1.3 [INFO] finished tweaking crates.io crate nvapi-sys 0.1.3 [INFO] tweaked toml for crates.io crate nvapi-sys 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nvapi-sys 0.1.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d730bc93fa909a55300de03d0551a80b224769a72515d3142db9018d99f36a43 [INFO] running `Command { std: "docker" "start" "-a" "d730bc93fa909a55300de03d0551a80b224769a72515d3142db9018d99f36a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d730bc93fa909a55300de03d0551a80b224769a72515d3142db9018d99f36a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d730bc93fa909a55300de03d0551a80b224769a72515d3142db9018d99f36a43", kill_on_drop: false }` [INFO] [stdout] d730bc93fa909a55300de03d0551a80b224769a72515d3142db9018d99f36a43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e6cf80bce71410ccd89f97bb5e5210e44769cb991c360a58c0356034aa2f3166 [INFO] running `Command { std: "docker" "start" "-a" "e6cf80bce71410ccd89f97bb5e5210e44769cb991c360a58c0356034aa2f3166", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling nvapi-sys v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/nvapi.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn nvapi_QueryInterface(id: u32) -> ::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / nv_declare_handle! { [INFO] [stdout] 4 | | /// One or more physical GPUs acting in concert (SLI) [INFO] [stdout] 5 | | NvLogicalGpuHandle [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvLogicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvPhysicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / nv_declare_handle! { [INFO] [stdout] 14 | | /// Display Device driven by NVIDIA GPU(s) (an attached display) [INFO] [stdout] 15 | | NvDisplayHandle [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / nv_declare_handle! { [INFO] [stdout] 19 | | /// Monitor handle [INFO] [stdout] 20 | | NvMonitorHandle [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvMonitorHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / nv_declare_handle! { [INFO] [stdout] 24 | | /// Unattached Display Device driven by NVIDIA GPU(s) [INFO] [stdout] 25 | | NvUnAttachedDisplayHandle [INFO] [stdout] | | ------------------------- field in this struct [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvUnAttachedDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / nv_declare_handle! { [INFO] [stdout] 29 | | /// A handle to an event registration instance [INFO] [stdout] 30 | | NvEventHandle [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvEventHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / nv_declare_handle! { [INFO] [stdout] 34 | | /// A handle to a Visual Computing Device [INFO] [stdout] 35 | | NvVisualComputingDeviceHandle [INFO] [stdout] | | ----------------------------- field in this struct [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvVisualComputingDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / nv_declare_handle! { [INFO] [stdout] 39 | | /// A handle to a Host Interface Card [INFO] [stdout] 40 | | NvHICHandle [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvHICHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / nv_declare_handle! { [INFO] [stdout] 44 | | /// A handle to a Sync device [INFO] [stdout] 45 | | NvGSyncDeviceHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvGSyncDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / nv_declare_handle! { [INFO] [stdout] 49 | | /// A handle to an SDI device [INFO] [stdout] 50 | | NvVioHandle [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvVioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / nv_declare_handle! { [INFO] [stdout] 54 | | /// A handle to address a single transition request [INFO] [stdout] 55 | | NvTransitionHandle [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvTransitionHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / nv_declare_handle! { [INFO] [stdout] 59 | | /// NVIDIA HD Audio Device [INFO] [stdout] 60 | | NvAudioHandle [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvAudioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / nv_declare_handle! { [INFO] [stdout] 64 | | /// A handle for a 3D Vision Pro (3DVP) context [INFO] [stdout] 65 | | Nv3DVPContextHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPContextHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / nv_declare_handle! { [INFO] [stdout] 69 | | /// A handle for a 3DVP RF transceiver [INFO] [stdout] 70 | | Nv3DVPTransceiverHandle [INFO] [stdout] | | ----------------------- field in this struct [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPTransceiverHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / nv_declare_handle! { [INFO] [stdout] 74 | | /// A handle for a pair of 3DVP RF shutter glasses [INFO] [stdout] 75 | | Nv3DVPGlassesHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPGlassesHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / nv_declare_handle! { [INFO] [stdout] 82 | | /// Unique source handle on the system [INFO] [stdout] 83 | | NvSourceHandle [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 84 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvSourceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / nv_declare_handle! { [INFO] [stdout] 87 | | /// Unique target handle on the system [INFO] [stdout] 88 | | NvTargetHandle [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvTargetHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / nv_declare_handle! { [INFO] [stdout] 92 | | /// DirectX SwapChain objects [INFO] [stdout] 93 | | NVDX_SwapChainHandle [INFO] [stdout] | | -------------------- field in this struct [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NVDX_SwapChainHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/status.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / nvenum! { [INFO] [stdout] 4 | | /// NvAPI Status Values [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// All NvAPI functions return one of these codes. [INFO] [stdout] ... | [INFO] [stdout] 279 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/driverapi.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / nvapi! { [INFO] [stdout] 58 | | pub type GPU_GetMemoryInfoFn = extern "C" fn(hPhysicalGpu: handles::NvPhysicalGpuHandle, pMemoryInfo: *mut NV_DISPLAY_DRIVER_MEMORY_I... [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | /// This function retrieves the available driver memory footprint for the specified GPU. [INFO] [stdout] 61 | | /// If the GPU is in TCC Mode, only dedicatedVideoMemory will be returned in pMemoryInfo (NV_DISPLAY_DRIVER_MEMORY_INFO). [INFO] [stdout] 62 | | pub unsafe fn NvAPI_GPU_GetMemoryInfo; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / nvapi! { [INFO] [stdout] 60 | | pub type GPU_GetFullNameFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szName: *mut types::NvAPI_ShortString) -> NvAPI_Status; [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | /// This function retrieves the full GPU name as an ASCII string - for example, "Quadro FX 1400". [INFO] [stdout] 63 | | pub unsafe fn NvAPI_GPU_GetFullName; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / nvapi! { [INFO] [stdout] 67 | | pub type GPU_GetPhysicalFrameBufferSizeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSize: *mut u32) -> NvAPI_Status; [INFO] [stdout] 68 | | [INFO] [stdout] 69 | | /// This function returns the physical size of framebuffer in KB. This does NOT include any [INFO] [stdout] 70 | | /// system RAM that may be dedicated for use by the GPU. [INFO] [stdout] 71 | | pub unsafe fn NvAPI_GPU_GetPhysicalFrameBufferSize; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / nvapi! { [INFO] [stdout] 75 | | pub type GPU_GetVbiosVersionStringFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szBiosRevision: *mut types::NvAPI_ShortString... [INFO] [stdout] 76 | | [INFO] [stdout] 77 | | /// This function returns the full video BIOS version string in the form of xx.xx.xx.xx.yy where [INFO] [stdout] ... | [INFO] [stdout] 80 | | pub unsafe fn NvAPI_GPU_GetVbiosVersionString; [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / nvapi! { [INFO] [stdout] 84 | | pub type GPU_GetPCIIdentifiersFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDeviceId: *mut u32, pSubSystemId: *mut u32, pRev... [INFO] [stdout] 85 | | [INFO] [stdout] 86 | | /// This function returns the PCI identifiers associated with this GPU. [INFO] [stdout] 87 | | pub unsafe fn NvAPI_GPU_GetPCIIdentifiers; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / nvenum! { [INFO] [stdout] 91 | | /// Used in NvAPI_GPU_GetSystemType() [INFO] [stdout] 92 | | pub enum NV_SYSTEM_TYPE / SystemType { [INFO] [stdout] 93 | | NV_SYSTEM_TYPE_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / nvapi! { [INFO] [stdout] 104 | | pub type GPU_GetSystemTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSystemType: *mut NV_SYSTEM_TYPE) -> NvAPI_Status; [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | /// This function identifies whether the GPU is a notebook GPU or a desktop GPU. [INFO] [stdout] 107 | | pub unsafe fn NvAPI_GPU_GetSystemType; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / nvapi! { [INFO] [stdout] 111 | | pub type GPU_GetShaderSubPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | /// This function retrieves the number of Shader SubPipes on the GPU [INFO] [stdout] 114 | | /// On newer architectures, this corresponds to the number of SM units [INFO] [stdout] 115 | | pub unsafe fn NvAPI_GPU_GetShaderSubPipeCount; [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / nvapi! { [INFO] [stdout] 119 | | pub type GPU_GetGpuCoreCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 120 | | [INFO] [stdout] 121 | | /// Retrieves the total number of cores defined for a GPU. [INFO] [stdout] 122 | | /// Returns 0 on architectures that don't define GPU cores. [INFO] [stdout] 123 | | pub unsafe fn NvAPI_GPU_GetGpuCoreCount; [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvapi! { [INFO] [stdout] 5 | | pub type GPU_GetTachReadingFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pValue: *mut u32) -> NvAPI_Status; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | /// This API retrieves the fan speed tachometer reading for the specified physical GPU. [INFO] [stdout] 8 | | pub unsafe fn NvAPI_GPU_GetTachReading; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / nvenum! { [INFO] [stdout] 22 | | pub enum NV_COOLER_TYPE / CoolerType { [INFO] [stdout] 23 | | NVAPI_COOLER_TYPE_NONE / None = 0, [INFO] [stdout] 24 | | NVAPI_COOLER_TYPE_FAN / Fan = 1, [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / nvenum! { [INFO] [stdout] 35 | | pub enum NV_COOLER_CONTROLLER / CoolerController { [INFO] [stdout] 36 | | NVAPI_COOLER_CONTROLLER_NONE / None = 0, [INFO] [stdout] 37 | | NVAPI_COOLER_CONTROLLER_ADI / ADI = 1, [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / nvenum! { [INFO] [stdout] 47 | | pub enum NV_COOLER_POLICY / CoolerPolicy { [INFO] [stdout] 48 | | NVAPI_COOLER_POLICY_NONE / None = 0, [INFO] [stdout] 49 | | /// Manual adjustment of cooler level. Gets applied right away independent of temperature or performance level. [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / nvenum! { [INFO] [stdout] 76 | | pub enum NV_COOLER_TARGET / CoolerTarget { [INFO] [stdout] 77 | | NVAPI_COOLER_TARGET_NONE / None = 0, [INFO] [stdout] 78 | | NVAPI_COOLER_TARGET_GPU / GPU = 1, [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / nvenum! { [INFO] [stdout] 95 | | pub enum NV_COOLER_CONTROL / CoolerControl { [INFO] [stdout] 96 | | NVAPI_COOLER_CONTROL_NONE / None = 0, [INFO] [stdout] 97 | | /// ON/OFF [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / nvenum! { [INFO] [stdout] 109 | | pub enum NV_COOLER_ACTIVITY_LEVEL / CoolerActivityLevel { [INFO] [stdout] 110 | | NVAPI_INACTIVE / Inactive = 0, [INFO] [stdout] 111 | | NVAPI_ACTIVE / Active = 1, [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / nvapi! { [INFO] [stdout] 169 | | pub type GPU_GetCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerInfo: *mut NV_GPU_CO... [INFO] [stdout] 170 | | [INFO] [stdout] 171 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 177 | | pub unsafe fn NvAPI_GPU_GetCoolerSettings; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / nvapi! { [INFO] [stdout] 204 | | pub type GPU_SetCoolerLevelsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerLevels: *const NV_GPU_... [INFO] [stdout] 205 | | [INFO] [stdout] 206 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 218 | | pub unsafe fn NvAPI_GPU_SetCoolerLevels; [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / nvapi! { [INFO] [stdout] 222 | | pub type GPU_RestoreCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: u32... [INFO] [stdout] 223 | | [INFO] [stdout] 224 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 230 | | pub unsafe fn NvAPI_GPU_RestoreCoolerSettings; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / nvapi! { [INFO] [stdout] 262 | | pub type GPU_GetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *mut NV_GP... [INFO] [stdout] 263 | | [INFO] [stdout] 264 | | /// Undocumented function. [INFO] [stdout] 265 | | /// Retrieves the table of cooler and policy levels for the selected policy. Supported only for NVAPI_COOLER_POLICY_PERF. [INFO] [stdout] 266 | | pub unsafe fn NvAPI_GPU_GetCoolerPolicyTable; [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / nvapi! { [INFO] [stdout] 270 | | pub type GPU_SetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *const NV_... [INFO] [stdout] 271 | | [INFO] [stdout] 272 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 278 | | pub unsafe fn NvAPI_GPU_SetCoolerPolicyTable; [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / nvapi! { [INFO] [stdout] 282 | | pub type GPU_RestoreCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: ... [INFO] [stdout] 283 | | [INFO] [stdout] 284 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 290 | | pub unsafe fn NvAPI_GPU_RestoreCoolerPolicyTable; [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / nvenum! { [INFO] [stdout] 39 | | /// Domain index into NV_GPU_DYNAMIC_PSTATES_INFO_EX.utilization. [INFO] [stdout] 40 | | /// [INFO] [stdout] 41 | | /// Definition missing from the nvapi headers for some reason. [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / nvapi! { [INFO] [stdout] 73 | | pub type GPU_GetDynamicPstatesInfoExFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDynamicPstatesInfoEx: *mut NV_GPU_DYNAMIC_... [INFO] [stdout] 74 | | [INFO] [stdout] 75 | | /// This API retrieves the NV_GPU_DYNAMIC_PSTATES_INFO_EX structure for the specified physical GPU. [INFO] [stdout] ... | [INFO] [stdout] 85 | | pub unsafe fn NvAPI_GPU_GetDynamicPstatesInfoEx; [INFO] [stdout] 86 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / nvenum! { [INFO] [stdout] 89 | | pub enum NV_GPU_PERF_PSTATE_ID / PstateId { [INFO] [stdout] 90 | | NVAPI_GPU_PERF_PSTATE_P0 / P0 = 0, [INFO] [stdout] 91 | | NVAPI_GPU_PERF_PSTATE_P1 / P1 = 1, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / nvapi! { [INFO] [stdout] 116 | | pub type GPU_GetCurrentPstateFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCurrentPstate: *mut NV_GPU_PERF_PSTATE_ID) -> NvA... [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | /// This function retrieves the current performance state (P-State). [INFO] [stdout] 119 | | pub unsafe fn NvAPI_GPU_GetCurrentPstate; [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / nvenum! { [INFO] [stdout] 123 | | pub enum NV_GPU_PERF_VOLTAGE_INFO_DOMAIN_ID / VoltageInfoDomain { [INFO] [stdout] 124 | | NVAPI_GPU_PERF_VOLTAGE_INFO_DOMAIN_CORE / Core = 0, [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / nvenum! { [INFO] [stdout] 135 | | /// Used to identify clock type [INFO] [stdout] 136 | | pub enum NV_GPU_PERF_PSTATE20_CLOCK_TYPE_ID / PstateClockType { [INFO] [stdout] 137 | | /// Clock domains that use single frequency value within given pstate [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / nvapi! { [INFO] [stdout] 300 | | pub type GPU_GetPstates20Fn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pPstatesInfo: *mut NV_GPU_PERF_PSTATES20_INFO) -> NvAP... [INFO] [stdout] 301 | | [INFO] [stdout] 302 | | /// This API retrieves all performance states (P-States) 2.0 information. [INFO] [stdout] ... | [INFO] [stdout] 314 | | pub unsafe fn NvAPI_GPU_GetPstates20; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / nvapi! { [INFO] [stdout] 322 | | pub type GPU_SetPstates20Fn = extern "C" fn(hPhysicalGPU: super::NvPhysicalGpuHandle, pPstatesInfo: *const super::NV_GPU_PERF_PST... [INFO] [stdout] 323 | | [INFO] [stdout] 324 | | /// Undocumented private API [INFO] [stdout] 325 | | pub unsafe fn NvAPI_GPU_SetPstates20; [INFO] [stdout] 326 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / nvenum! { [INFO] [stdout] 12 | | /// An index into NV_GPU_CLOCK_FREQUENCIES.domain[] [INFO] [stdout] 13 | | pub enum NV_GPU_PUBLIC_CLOCK_ID / PublicClockId { [INFO] [stdout] 14 | | NVAPI_GPU_PUBLIC_CLOCK_GRAPHICS / Graphics = 0, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / nvenum! { [INFO] [stdout] 60 | | /// Used in NvAPI_GPU_GetAllClockFrequencies() [INFO] [stdout] 61 | | pub enum NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE / ClockFrequencyType { [INFO] [stdout] 62 | | NV_GPU_CLOCK_FREQUENCIES_CURRENT_FREQ / Current = 0, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / nvapi! { [INFO] [stdout] 83 | | pub type GPU_GetAllClockFrequenciesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClkFreqs: *mut NV_GPU_CLOCK_FREQUENCIES) ->... [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | /// This function retrieves the NV_GPU_CLOCK_FREQUENCIES structure for the specified physical GPU. [INFO] [stdout] ... | [INFO] [stdout] 93 | | pub unsafe fn NvAPI_GPU_GetAllClockFrequencies; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / nvapi! { [INFO] [stdout] 131 | | pub type GPU_GetUsagesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pUsagesInfo: *mut NV_USAGES_INFO) -> NvAPI_Status; [INFO] [stdout] 132 | | [INFO] [stdout] 133 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetDynamicPstatesInfoEx() [INFO] [stdout] 134 | | pub unsafe fn NvAPI_GPU_GetUsages; [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / nvapi! { [INFO] [stdout] 152 | | pub type GPU_GetAllClocksFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClocksInfo: *mut NV_CLOCKS_INFO) -> NvAPI_Status; [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetAllClockFrequencies() [INFO] [stdout] ... | [INFO] [stdout] 165 | | pub unsafe fn NvAPI_GPU_GetAllClocks; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / nvenum! { [INFO] [stdout] 289 | | pub enum NV_GPU_CLOCK_LOCK_MODE / ClockLockMode { [INFO] [stdout] 290 | | NVAPI_GPU_CLOCK_LOCK_NONE / None = 0, [INFO] [stdout] 291 | | NVAPI_GPU_CLOCK_LOCK_MANUAL / Manual = 3, [INFO] [stdout] 292 | | } [INFO] [stdout] 293 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvenum! { [INFO] [stdout] 5 | | /// Used in NV_GPU_THERMAL_SETTINGS [INFO] [stdout] 6 | | pub enum NV_THERMAL_TARGET / ThermalTarget { [INFO] [stdout] 7 | | NVAPI_THERMAL_TARGET_NONE / None = 0, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / nvenum! { [INFO] [stdout] 40 | | /// NV_GPU_THERMAL_SETTINGS [INFO] [stdout] 41 | | pub enum NV_THERMAL_CONTROLLER / ThermalController { [INFO] [stdout] 42 | | NVAPI_THERMAL_CONTROLLER_NONE / None = 0, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / nvapi! { [INFO] [stdout] 103 | | pub type GPU_GetThermalSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, sensorIndex: u32, pThermalSettings: *mut NV_GPU_... [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | /// This function retrieves the thermal information of all thermal sensors or specific thermal sensor associated with the selected GPU. [INFO] [stdout] ... | [INFO] [stdout] 110 | | pub unsafe fn NvAPI_GPU_GetThermalSettings; [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvenum! { [INFO] [stdout] 5 | | pub enum NV_MONITOR_CONN_TYPE / MonitorConnectorType { [INFO] [stdout] 6 | | NV_MONITOR_CONN_TYPE_UNINITIALIZED / Uninitialized = 0, [INFO] [stdout] 7 | | NV_MONITOR_CONN_TYPE_VGA / Vga = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / nvapi! { [INFO] [stdout] 88 | | pub type GPU_GetConnectedDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayI... [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | /// Due to space limitation NvAPI_GPU_GetConnectedOutputs can return maximum 32 devices, but [INFO] [stdout] ... | [INFO] [stdout] 109 | | pub unsafe fn NvAPI_GPU_GetConnectedDisplayIds; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / nvapi! { [INFO] [stdout] 113 | | pub type GPU_GetAllDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayIdCount... [INFO] [stdout] 114 | | [INFO] [stdout] 115 | | /// This API returns display IDs for all possible outputs on the GPU. [INFO] [stdout] ... | [INFO] [stdout] 121 | | pub unsafe fn NvAPI_GPU_GetAllDisplayIds; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / nvapi! { [INFO] [stdout] 174 | | pub type GPU_GetShaderPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 175 | | [INFO] [stdout] 176 | | pub unsafe fn NvAPI_GPU_GetShaderPipeCount; [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / nvenum! { [INFO] [stdout] 180 | | /// Undocumented function NvAPI_GPU_GetRamType() [INFO] [stdout] 181 | | pub enum NV_GPU_RAM_TYPE / RamType { [INFO] [stdout] 182 | | NV_GPU_RAM_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / nvapi! { [INFO] [stdout] 201 | | pub type GPU_GetRamTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pMemType: *mut NV_GPU_RAM_TYPE) -> NvAPI_Status; [INFO] [stdout] 202 | | [INFO] [stdout] 203 | | /// Undocumented function. [INFO] [stdout] 204 | | pub unsafe fn NvAPI_GPU_GetRamType; [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / nvenum! { [INFO] [stdout] 209 | | /// Undocumented function NvAPI_GPU_GetRamMaker() [INFO] [stdout] 210 | | pub enum NV_GPU_RAM_MAKER / RamMaker { [INFO] [stdout] 211 | | NV_GPU_RAM_MAKER_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 223 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / nvapi! { [INFO] [stdout] 230 | | pub type GPU_GetRamMakerFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamMaker: *mut NV_GPU_RAM_MAKER) -> NvAPI_Status; [INFO] [stdout] 231 | | [INFO] [stdout] 232 | | /// Undocumented function. [INFO] [stdout] 233 | | pub unsafe fn NvAPI_GPU_GetRamMaker; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / nvapi! { [INFO] [stdout] 237 | | pub type GPU_GetRamBusWidthFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBusWidth: *mut u32) -> NvAPI_Status; [INFO] [stdout] 238 | | [INFO] [stdout] 239 | | /// Undocumented function. [INFO] [stdout] 240 | | pub unsafe fn NvAPI_GPU_GetRamBusWidth; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / nvapi! { [INFO] [stdout] 244 | | pub type GPU_GetRamBankCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBankCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 245 | | [INFO] [stdout] 246 | | /// Undocumented function. [INFO] [stdout] 247 | | pub unsafe fn NvAPI_GPU_GetRamBankCount; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / nvenum! { [INFO] [stdout] 251 | | /// Undocumented function NvAPI_GPU_GetFoundry() [INFO] [stdout] 252 | | pub enum NV_GPU_FOUNDRY / Foundry { [INFO] [stdout] 253 | | NV_GPU_FOUNDRY_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / nvapi! { [INFO] [stdout] 276 | | pub type GPU_GetFoundryFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pFoundry: *mut NV_GPU_FOUNDRY) -> NvAPI_Status; [INFO] [stdout] 277 | | [INFO] [stdout] 278 | | /// Undocumented function. [INFO] [stdout] 279 | | pub unsafe fn NvAPI_GPU_GetFoundry; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | / nvenum! { [INFO] [stdout] 287 | | pub enum NV_GPU_VENDOR / VendorId { [INFO] [stdout] 288 | | NV_GPU_VENDOR_UNKNOWN / Unknown = 0, [INFO] [stdout] 289 | | NV_GPU_VENDOR_ASUS / ASUS = 0x1043, [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / nvenum! { [INFO] [stdout] 10 | | pub enum NV_I2C_SPEED / I2cSpeed { [INFO] [stdout] 11 | | NVAPI_I2C_SPEED_DEFAULT / Default = 0, [INFO] [stdout] 12 | | NVAPI_I2C_SPEED_3KHZ / _3Khz = 1, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / nvapi! { [INFO] [stdout] 160 | | pub type NvAPI_I2CReadFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | /// This function reads the data buffer from the I2C port. [INFO] [stdout] ... | [INFO] [stdout] 181 | | pub unsafe fn NvAPI_I2CRead; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / nvapi! { [INFO] [stdout] 185 | | pub type NvAPI_I2CWriteFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stdout] 186 | | [INFO] [stdout] 187 | | /// This function writes the data buffer to the I2C port. [INFO] [stdout] ... | [INFO] [stdout] 206 | | pub unsafe fn NvAPI_I2CWrite; [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / nvapi! { [INFO] [stdout] 264 | | pub type NvAPI_I2CReadExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) -> ... [INFO] [stdout] 265 | | [INFO] [stdout] 266 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stdout] 267 | | pub unsafe fn NvAPI_I2CReadEx; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / nvapi! { [INFO] [stdout] 271 | | pub type NvAPI_I2CWriteExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) ->... [INFO] [stdout] 272 | | [INFO] [stdout] 273 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stdout] 274 | | pub unsafe fn NvAPI_I2CWriteEx; [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.68s [INFO] running `Command { std: "docker" "inspect" "e6cf80bce71410ccd89f97bb5e5210e44769cb991c360a58c0356034aa2f3166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6cf80bce71410ccd89f97bb5e5210e44769cb991c360a58c0356034aa2f3166", kill_on_drop: false }` [INFO] [stdout] e6cf80bce71410ccd89f97bb5e5210e44769cb991c360a58c0356034aa2f3166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bd58f8da3e1b072fe1c14e1163240e61172df89fc88705cc3b1ee56156edf38f [INFO] running `Command { std: "docker" "start" "-a" "bd58f8da3e1b072fe1c14e1163240e61172df89fc88705cc3b1ee56156edf38f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/nvapi.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn nvapi_QueryInterface(id: u32) -> ::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / nv_declare_handle! { [INFO] [stdout] 4 | | /// One or more physical GPUs acting in concert (SLI) [INFO] [stdout] 5 | | NvLogicalGpuHandle [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvLogicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvPhysicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / nv_declare_handle! { [INFO] [stdout] 14 | | /// Display Device driven by NVIDIA GPU(s) (an attached display) [INFO] [stdout] 15 | | NvDisplayHandle [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / nv_declare_handle! { [INFO] [stdout] 19 | | /// Monitor handle [INFO] [stdout] 20 | | NvMonitorHandle [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvMonitorHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / nv_declare_handle! { [INFO] [stdout] 24 | | /// Unattached Display Device driven by NVIDIA GPU(s) [INFO] [stdout] 25 | | NvUnAttachedDisplayHandle [INFO] [stdout] | | ------------------------- field in this struct [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvUnAttachedDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / nv_declare_handle! { [INFO] [stdout] 29 | | /// A handle to an event registration instance [INFO] [stdout] 30 | | NvEventHandle [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvEventHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / nv_declare_handle! { [INFO] [stdout] 34 | | /// A handle to a Visual Computing Device [INFO] [stdout] 35 | | NvVisualComputingDeviceHandle [INFO] [stdout] | | ----------------------------- field in this struct [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvVisualComputingDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / nv_declare_handle! { [INFO] [stdout] 39 | | /// A handle to a Host Interface Card [INFO] [stdout] 40 | | NvHICHandle [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvHICHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / nv_declare_handle! { [INFO] [stdout] 44 | | /// A handle to a Sync device [INFO] [stdout] 45 | | NvGSyncDeviceHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvGSyncDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / nv_declare_handle! { [INFO] [stdout] 49 | | /// A handle to an SDI device [INFO] [stdout] 50 | | NvVioHandle [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvVioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / nv_declare_handle! { [INFO] [stdout] 54 | | /// A handle to address a single transition request [INFO] [stdout] 55 | | NvTransitionHandle [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvTransitionHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / nv_declare_handle! { [INFO] [stdout] 59 | | /// NVIDIA HD Audio Device [INFO] [stdout] 60 | | NvAudioHandle [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvAudioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / nv_declare_handle! { [INFO] [stdout] 64 | | /// A handle for a 3D Vision Pro (3DVP) context [INFO] [stdout] 65 | | Nv3DVPContextHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPContextHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / nv_declare_handle! { [INFO] [stdout] 69 | | /// A handle for a 3DVP RF transceiver [INFO] [stdout] 70 | | Nv3DVPTransceiverHandle [INFO] [stdout] | | ----------------------- field in this struct [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPTransceiverHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / nv_declare_handle! { [INFO] [stdout] 74 | | /// A handle for a pair of 3DVP RF shutter glasses [INFO] [stdout] 75 | | Nv3DVPGlassesHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPGlassesHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / nv_declare_handle! { [INFO] [stdout] 82 | | /// Unique source handle on the system [INFO] [stdout] 83 | | NvSourceHandle [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 84 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvSourceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / nv_declare_handle! { [INFO] [stdout] 87 | | /// Unique target handle on the system [INFO] [stdout] 88 | | NvTargetHandle [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvTargetHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / nv_declare_handle! { [INFO] [stdout] 92 | | /// DirectX SwapChain objects [INFO] [stdout] 93 | | NVDX_SwapChainHandle [INFO] [stdout] | | -------------------- field in this struct [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NVDX_SwapChainHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/status.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / nvenum! { [INFO] [stdout] 4 | | /// NvAPI Status Values [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// All NvAPI functions return one of these codes. [INFO] [stdout] ... | [INFO] [stdout] 279 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/driverapi.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / nvapi! { [INFO] [stdout] 58 | | pub type GPU_GetMemoryInfoFn = extern "C" fn(hPhysicalGpu: handles::NvPhysicalGpuHandle, pMemoryInfo: *mut NV_DISPLAY_DRIVER_MEMORY_I... [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | /// This function retrieves the available driver memory footprint for the specified GPU. [INFO] [stdout] 61 | | /// If the GPU is in TCC Mode, only dedicatedVideoMemory will be returned in pMemoryInfo (NV_DISPLAY_DRIVER_MEMORY_INFO). [INFO] [stdout] 62 | | pub unsafe fn NvAPI_GPU_GetMemoryInfo; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / nvapi! { [INFO] [stdout] 60 | | pub type GPU_GetFullNameFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szName: *mut types::NvAPI_ShortString) -> NvAPI_Status; [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | /// This function retrieves the full GPU name as an ASCII string - for example, "Quadro FX 1400". [INFO] [stdout] 63 | | pub unsafe fn NvAPI_GPU_GetFullName; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / nvapi! { [INFO] [stdout] 67 | | pub type GPU_GetPhysicalFrameBufferSizeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSize: *mut u32) -> NvAPI_Status; [INFO] [stdout] 68 | | [INFO] [stdout] 69 | | /// This function returns the physical size of framebuffer in KB. This does NOT include any [INFO] [stdout] 70 | | /// system RAM that may be dedicated for use by the GPU. [INFO] [stdout] 71 | | pub unsafe fn NvAPI_GPU_GetPhysicalFrameBufferSize; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / nvapi! { [INFO] [stdout] 75 | | pub type GPU_GetVbiosVersionStringFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szBiosRevision: *mut types::NvAPI_ShortString... [INFO] [stdout] 76 | | [INFO] [stdout] 77 | | /// This function returns the full video BIOS version string in the form of xx.xx.xx.xx.yy where [INFO] [stdout] ... | [INFO] [stdout] 80 | | pub unsafe fn NvAPI_GPU_GetVbiosVersionString; [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / nvapi! { [INFO] [stdout] 84 | | pub type GPU_GetPCIIdentifiersFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDeviceId: *mut u32, pSubSystemId: *mut u32, pRev... [INFO] [stdout] 85 | | [INFO] [stdout] 86 | | /// This function returns the PCI identifiers associated with this GPU. [INFO] [stdout] 87 | | pub unsafe fn NvAPI_GPU_GetPCIIdentifiers; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / nvenum! { [INFO] [stdout] 91 | | /// Used in NvAPI_GPU_GetSystemType() [INFO] [stdout] 92 | | pub enum NV_SYSTEM_TYPE / SystemType { [INFO] [stdout] 93 | | NV_SYSTEM_TYPE_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / nvapi! { [INFO] [stdout] 104 | | pub type GPU_GetSystemTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSystemType: *mut NV_SYSTEM_TYPE) -> NvAPI_Status; [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | /// This function identifies whether the GPU is a notebook GPU or a desktop GPU. [INFO] [stdout] 107 | | pub unsafe fn NvAPI_GPU_GetSystemType; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / nvapi! { [INFO] [stdout] 111 | | pub type GPU_GetShaderSubPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | /// This function retrieves the number of Shader SubPipes on the GPU [INFO] [stdout] 114 | | /// On newer architectures, this corresponds to the number of SM units [INFO] [stdout] 115 | | pub unsafe fn NvAPI_GPU_GetShaderSubPipeCount; [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / nvapi! { [INFO] [stdout] 119 | | pub type GPU_GetGpuCoreCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 120 | | [INFO] [stdout] 121 | | /// Retrieves the total number of cores defined for a GPU. [INFO] [stdout] 122 | | /// Returns 0 on architectures that don't define GPU cores. [INFO] [stdout] 123 | | pub unsafe fn NvAPI_GPU_GetGpuCoreCount; [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvapi! { [INFO] [stdout] 5 | | pub type GPU_GetTachReadingFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pValue: *mut u32) -> NvAPI_Status; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | /// This API retrieves the fan speed tachometer reading for the specified physical GPU. [INFO] [stdout] 8 | | pub unsafe fn NvAPI_GPU_GetTachReading; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / nvenum! { [INFO] [stdout] 22 | | pub enum NV_COOLER_TYPE / CoolerType { [INFO] [stdout] 23 | | NVAPI_COOLER_TYPE_NONE / None = 0, [INFO] [stdout] 24 | | NVAPI_COOLER_TYPE_FAN / Fan = 1, [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / nvenum! { [INFO] [stdout] 35 | | pub enum NV_COOLER_CONTROLLER / CoolerController { [INFO] [stdout] 36 | | NVAPI_COOLER_CONTROLLER_NONE / None = 0, [INFO] [stdout] 37 | | NVAPI_COOLER_CONTROLLER_ADI / ADI = 1, [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / nvenum! { [INFO] [stdout] 47 | | pub enum NV_COOLER_POLICY / CoolerPolicy { [INFO] [stdout] 48 | | NVAPI_COOLER_POLICY_NONE / None = 0, [INFO] [stdout] 49 | | /// Manual adjustment of cooler level. Gets applied right away independent of temperature or performance level. [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / nvenum! { [INFO] [stdout] 76 | | pub enum NV_COOLER_TARGET / CoolerTarget { [INFO] [stdout] 77 | | NVAPI_COOLER_TARGET_NONE / None = 0, [INFO] [stdout] 78 | | NVAPI_COOLER_TARGET_GPU / GPU = 1, [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / nvenum! { [INFO] [stdout] 95 | | pub enum NV_COOLER_CONTROL / CoolerControl { [INFO] [stdout] 96 | | NVAPI_COOLER_CONTROL_NONE / None = 0, [INFO] [stdout] 97 | | /// ON/OFF [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / nvenum! { [INFO] [stdout] 109 | | pub enum NV_COOLER_ACTIVITY_LEVEL / CoolerActivityLevel { [INFO] [stdout] 110 | | NVAPI_INACTIVE / Inactive = 0, [INFO] [stdout] 111 | | NVAPI_ACTIVE / Active = 1, [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / nvapi! { [INFO] [stdout] 169 | | pub type GPU_GetCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerInfo: *mut NV_GPU_CO... [INFO] [stdout] 170 | | [INFO] [stdout] 171 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 177 | | pub unsafe fn NvAPI_GPU_GetCoolerSettings; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / nvapi! { [INFO] [stdout] 204 | | pub type GPU_SetCoolerLevelsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerLevels: *const NV_GPU_... [INFO] [stdout] 205 | | [INFO] [stdout] 206 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 218 | | pub unsafe fn NvAPI_GPU_SetCoolerLevels; [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / nvapi! { [INFO] [stdout] 222 | | pub type GPU_RestoreCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: u32... [INFO] [stdout] 223 | | [INFO] [stdout] 224 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 230 | | pub unsafe fn NvAPI_GPU_RestoreCoolerSettings; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / nvapi! { [INFO] [stdout] 262 | | pub type GPU_GetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *mut NV_GP... [INFO] [stdout] 263 | | [INFO] [stdout] 264 | | /// Undocumented function. [INFO] [stdout] 265 | | /// Retrieves the table of cooler and policy levels for the selected policy. Supported only for NVAPI_COOLER_POLICY_PERF. [INFO] [stdout] 266 | | pub unsafe fn NvAPI_GPU_GetCoolerPolicyTable; [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / nvapi! { [INFO] [stdout] 270 | | pub type GPU_SetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *const NV_... [INFO] [stdout] 271 | | [INFO] [stdout] 272 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 278 | | pub unsafe fn NvAPI_GPU_SetCoolerPolicyTable; [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / nvapi! { [INFO] [stdout] 282 | | pub type GPU_RestoreCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: ... [INFO] [stdout] 283 | | [INFO] [stdout] 284 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 290 | | pub unsafe fn NvAPI_GPU_RestoreCoolerPolicyTable; [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / nvenum! { [INFO] [stdout] 39 | | /// Domain index into NV_GPU_DYNAMIC_PSTATES_INFO_EX.utilization. [INFO] [stdout] 40 | | /// [INFO] [stdout] 41 | | /// Definition missing from the nvapi headers for some reason. [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / nvapi! { [INFO] [stdout] 73 | | pub type GPU_GetDynamicPstatesInfoExFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDynamicPstatesInfoEx: *mut NV_GPU_DYNAMIC_... [INFO] [stdout] 74 | | [INFO] [stdout] 75 | | /// This API retrieves the NV_GPU_DYNAMIC_PSTATES_INFO_EX structure for the specified physical GPU. [INFO] [stdout] ... | [INFO] [stdout] 85 | | pub unsafe fn NvAPI_GPU_GetDynamicPstatesInfoEx; [INFO] [stdout] 86 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / nvenum! { [INFO] [stdout] 89 | | pub enum NV_GPU_PERF_PSTATE_ID / PstateId { [INFO] [stdout] 90 | | NVAPI_GPU_PERF_PSTATE_P0 / P0 = 0, [INFO] [stdout] 91 | | NVAPI_GPU_PERF_PSTATE_P1 / P1 = 1, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / nvapi! { [INFO] [stdout] 116 | | pub type GPU_GetCurrentPstateFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCurrentPstate: *mut NV_GPU_PERF_PSTATE_ID) -> NvA... [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | /// This function retrieves the current performance state (P-State). [INFO] [stdout] 119 | | pub unsafe fn NvAPI_GPU_GetCurrentPstate; [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / nvenum! { [INFO] [stdout] 123 | | pub enum NV_GPU_PERF_VOLTAGE_INFO_DOMAIN_ID / VoltageInfoDomain { [INFO] [stdout] 124 | | NVAPI_GPU_PERF_VOLTAGE_INFO_DOMAIN_CORE / Core = 0, [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / nvenum! { [INFO] [stdout] 135 | | /// Used to identify clock type [INFO] [stdout] 136 | | pub enum NV_GPU_PERF_PSTATE20_CLOCK_TYPE_ID / PstateClockType { [INFO] [stdout] 137 | | /// Clock domains that use single frequency value within given pstate [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / nvapi! { [INFO] [stdout] 300 | | pub type GPU_GetPstates20Fn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pPstatesInfo: *mut NV_GPU_PERF_PSTATES20_INFO) -> NvAP... [INFO] [stdout] 301 | | [INFO] [stdout] 302 | | /// This API retrieves all performance states (P-States) 2.0 information. [INFO] [stdout] ... | [INFO] [stdout] 314 | | pub unsafe fn NvAPI_GPU_GetPstates20; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / nvapi! { [INFO] [stdout] 322 | | pub type GPU_SetPstates20Fn = extern "C" fn(hPhysicalGPU: super::NvPhysicalGpuHandle, pPstatesInfo: *const super::NV_GPU_PERF_PST... [INFO] [stdout] 323 | | [INFO] [stdout] 324 | | /// Undocumented private API [INFO] [stdout] 325 | | pub unsafe fn NvAPI_GPU_SetPstates20; [INFO] [stdout] 326 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / nvenum! { [INFO] [stdout] 12 | | /// An index into NV_GPU_CLOCK_FREQUENCIES.domain[] [INFO] [stdout] 13 | | pub enum NV_GPU_PUBLIC_CLOCK_ID / PublicClockId { [INFO] [stdout] 14 | | NVAPI_GPU_PUBLIC_CLOCK_GRAPHICS / Graphics = 0, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / nvenum! { [INFO] [stdout] 60 | | /// Used in NvAPI_GPU_GetAllClockFrequencies() [INFO] [stdout] 61 | | pub enum NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE / ClockFrequencyType { [INFO] [stdout] 62 | | NV_GPU_CLOCK_FREQUENCIES_CURRENT_FREQ / Current = 0, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / nvapi! { [INFO] [stdout] 83 | | pub type GPU_GetAllClockFrequenciesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClkFreqs: *mut NV_GPU_CLOCK_FREQUENCIES) ->... [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | /// This function retrieves the NV_GPU_CLOCK_FREQUENCIES structure for the specified physical GPU. [INFO] [stdout] ... | [INFO] [stdout] 93 | | pub unsafe fn NvAPI_GPU_GetAllClockFrequencies; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / nvapi! { [INFO] [stdout] 131 | | pub type GPU_GetUsagesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pUsagesInfo: *mut NV_USAGES_INFO) -> NvAPI_Status; [INFO] [stdout] 132 | | [INFO] [stdout] 133 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetDynamicPstatesInfoEx() [INFO] [stdout] 134 | | pub unsafe fn NvAPI_GPU_GetUsages; [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / nvapi! { [INFO] [stdout] 152 | | pub type GPU_GetAllClocksFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClocksInfo: *mut NV_CLOCKS_INFO) -> NvAPI_Status; [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetAllClockFrequencies() [INFO] [stdout] ... | [INFO] [stdout] 165 | | pub unsafe fn NvAPI_GPU_GetAllClocks; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / nvenum! { [INFO] [stdout] 289 | | pub enum NV_GPU_CLOCK_LOCK_MODE / ClockLockMode { [INFO] [stdout] 290 | | NVAPI_GPU_CLOCK_LOCK_NONE / None = 0, [INFO] [stdout] 291 | | NVAPI_GPU_CLOCK_LOCK_MANUAL / Manual = 3, [INFO] [stdout] 292 | | } [INFO] [stdout] 293 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvenum! { [INFO] [stdout] 5 | | /// Used in NV_GPU_THERMAL_SETTINGS [INFO] [stdout] 6 | | pub enum NV_THERMAL_TARGET / ThermalTarget { [INFO] [stdout] 7 | | NVAPI_THERMAL_TARGET_NONE / None = 0, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / nvenum! { [INFO] [stdout] 40 | | /// NV_GPU_THERMAL_SETTINGS [INFO] [stdout] 41 | | pub enum NV_THERMAL_CONTROLLER / ThermalController { [INFO] [stdout] 42 | | NVAPI_THERMAL_CONTROLLER_NONE / None = 0, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / nvapi! { [INFO] [stdout] 103 | | pub type GPU_GetThermalSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, sensorIndex: u32, pThermalSettings: *mut NV_GPU_... [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | /// This function retrieves the thermal information of all thermal sensors or specific thermal sensor associated with the selected GPU. [INFO] [stdout] ... | [INFO] [stdout] 110 | | pub unsafe fn NvAPI_GPU_GetThermalSettings; [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvenum! { [INFO] [stdout] 5 | | pub enum NV_MONITOR_CONN_TYPE / MonitorConnectorType { [INFO] [stdout] 6 | | NV_MONITOR_CONN_TYPE_UNINITIALIZED / Uninitialized = 0, [INFO] [stdout] 7 | | NV_MONITOR_CONN_TYPE_VGA / Vga = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / nvapi! { [INFO] [stdout] 88 | | pub type GPU_GetConnectedDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayI... [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | /// Due to space limitation NvAPI_GPU_GetConnectedOutputs can return maximum 32 devices, but [INFO] [stdout] ... | [INFO] [stdout] 109 | | pub unsafe fn NvAPI_GPU_GetConnectedDisplayIds; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / nvapi! { [INFO] [stdout] 113 | | pub type GPU_GetAllDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayIdCount... [INFO] [stdout] 114 | | [INFO] [stdout] 115 | | /// This API returns display IDs for all possible outputs on the GPU. [INFO] [stdout] ... | [INFO] [stdout] 121 | | pub unsafe fn NvAPI_GPU_GetAllDisplayIds; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / nvapi! { [INFO] [stdout] 174 | | pub type GPU_GetShaderPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 175 | | [INFO] [stdout] 176 | | pub unsafe fn NvAPI_GPU_GetShaderPipeCount; [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / nvenum! { [INFO] [stdout] 180 | | /// Undocumented function NvAPI_GPU_GetRamType() [INFO] [stdout] 181 | | pub enum NV_GPU_RAM_TYPE / RamType { [INFO] [stdout] 182 | | NV_GPU_RAM_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / nvapi! { [INFO] [stdout] 201 | | pub type GPU_GetRamTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pMemType: *mut NV_GPU_RAM_TYPE) -> NvAPI_Status; [INFO] [stdout] 202 | | [INFO] [stdout] 203 | | /// Undocumented function. [INFO] [stdout] 204 | | pub unsafe fn NvAPI_GPU_GetRamType; [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / nvenum! { [INFO] [stdout] 209 | | /// Undocumented function NvAPI_GPU_GetRamMaker() [INFO] [stdout] 210 | | pub enum NV_GPU_RAM_MAKER / RamMaker { [INFO] [stdout] 211 | | NV_GPU_RAM_MAKER_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 223 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nvapi-sys v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / nvapi! { [INFO] [stdout] 230 | | pub type GPU_GetRamMakerFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamMaker: *mut NV_GPU_RAM_MAKER) -> NvAPI_Status; [INFO] [stdout] 231 | | [INFO] [stdout] 232 | | /// Undocumented function. [INFO] [stdout] 233 | | pub unsafe fn NvAPI_GPU_GetRamMaker; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / nvapi! { [INFO] [stdout] 237 | | pub type GPU_GetRamBusWidthFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBusWidth: *mut u32) -> NvAPI_Status; [INFO] [stdout] 238 | | [INFO] [stdout] 239 | | /// Undocumented function. [INFO] [stdout] 240 | | pub unsafe fn NvAPI_GPU_GetRamBusWidth; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / nvapi! { [INFO] [stdout] 244 | | pub type GPU_GetRamBankCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBankCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 245 | | [INFO] [stdout] 246 | | /// Undocumented function. [INFO] [stdout] 247 | | pub unsafe fn NvAPI_GPU_GetRamBankCount; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / nvenum! { [INFO] [stdout] 251 | | /// Undocumented function NvAPI_GPU_GetFoundry() [INFO] [stdout] 252 | | pub enum NV_GPU_FOUNDRY / Foundry { [INFO] [stdout] 253 | | NV_GPU_FOUNDRY_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / nvapi! { [INFO] [stdout] 276 | | pub type GPU_GetFoundryFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pFoundry: *mut NV_GPU_FOUNDRY) -> NvAPI_Status; [INFO] [stdout] 277 | | [INFO] [stdout] 278 | | /// Undocumented function. [INFO] [stdout] 279 | | pub unsafe fn NvAPI_GPU_GetFoundry; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | / nvenum! { [INFO] [stdout] 287 | | pub enum NV_GPU_VENDOR / VendorId { [INFO] [stdout] 288 | | NV_GPU_VENDOR_UNKNOWN / Unknown = 0, [INFO] [stdout] 289 | | NV_GPU_VENDOR_ASUS / ASUS = 0x1043, [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / nvenum! { [INFO] [stdout] 10 | | pub enum NV_I2C_SPEED / I2cSpeed { [INFO] [stdout] 11 | | NVAPI_I2C_SPEED_DEFAULT / Default = 0, [INFO] [stdout] 12 | | NVAPI_I2C_SPEED_3KHZ / _3Khz = 1, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / nvapi! { [INFO] [stdout] 160 | | pub type NvAPI_I2CReadFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | /// This function reads the data buffer from the I2C port. [INFO] [stdout] ... | [INFO] [stdout] 181 | | pub unsafe fn NvAPI_I2CRead; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / nvapi! { [INFO] [stdout] 185 | | pub type NvAPI_I2CWriteFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stdout] 186 | | [INFO] [stdout] 187 | | /// This function writes the data buffer to the I2C port. [INFO] [stdout] ... | [INFO] [stdout] 206 | | pub unsafe fn NvAPI_I2CWrite; [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / nvapi! { [INFO] [stdout] 264 | | pub type NvAPI_I2CReadExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) -> ... [INFO] [stdout] 265 | | [INFO] [stdout] 266 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stdout] 267 | | pub unsafe fn NvAPI_I2CReadEx; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / nvapi! { [INFO] [stdout] 271 | | pub type NvAPI_I2CWriteExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) ->... [INFO] [stdout] 272 | | [INFO] [stdout] 273 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stdout] 274 | | pub unsafe fn NvAPI_I2CWriteEx; [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/nvapi.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn nvapi_QueryInterface(id: u32) -> ::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / nv_declare_handle! { [INFO] [stdout] 4 | | /// One or more physical GPUs acting in concert (SLI) [INFO] [stdout] 5 | | NvLogicalGpuHandle [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvLogicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvPhysicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / nv_declare_handle! { [INFO] [stdout] 14 | | /// Display Device driven by NVIDIA GPU(s) (an attached display) [INFO] [stdout] 15 | | NvDisplayHandle [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / nv_declare_handle! { [INFO] [stdout] 19 | | /// Monitor handle [INFO] [stdout] 20 | | NvMonitorHandle [INFO] [stdout] | | --------------- field in this struct [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvMonitorHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / nv_declare_handle! { [INFO] [stdout] 24 | | /// Unattached Display Device driven by NVIDIA GPU(s) [INFO] [stdout] 25 | | NvUnAttachedDisplayHandle [INFO] [stdout] | | ------------------------- field in this struct [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvUnAttachedDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / nv_declare_handle! { [INFO] [stdout] 29 | | /// A handle to an event registration instance [INFO] [stdout] 30 | | NvEventHandle [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvEventHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / nv_declare_handle! { [INFO] [stdout] 34 | | /// A handle to a Visual Computing Device [INFO] [stdout] 35 | | NvVisualComputingDeviceHandle [INFO] [stdout] | | ----------------------------- field in this struct [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvVisualComputingDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / nv_declare_handle! { [INFO] [stdout] 39 | | /// A handle to a Host Interface Card [INFO] [stdout] 40 | | NvHICHandle [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvHICHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / nv_declare_handle! { [INFO] [stdout] 44 | | /// A handle to a Sync device [INFO] [stdout] 45 | | NvGSyncDeviceHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvGSyncDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / nv_declare_handle! { [INFO] [stdout] 49 | | /// A handle to an SDI device [INFO] [stdout] 50 | | NvVioHandle [INFO] [stdout] | | ----------- field in this struct [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvVioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / nv_declare_handle! { [INFO] [stdout] 54 | | /// A handle to address a single transition request [INFO] [stdout] 55 | | NvTransitionHandle [INFO] [stdout] | | ------------------ field in this struct [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvTransitionHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / nv_declare_handle! { [INFO] [stdout] 59 | | /// NVIDIA HD Audio Device [INFO] [stdout] 60 | | NvAudioHandle [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvAudioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / nv_declare_handle! { [INFO] [stdout] 64 | | /// A handle for a 3D Vision Pro (3DVP) context [INFO] [stdout] 65 | | Nv3DVPContextHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPContextHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / nv_declare_handle! { [INFO] [stdout] 69 | | /// A handle for a 3DVP RF transceiver [INFO] [stdout] 70 | | Nv3DVPTransceiverHandle [INFO] [stdout] | | ----------------------- field in this struct [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPTransceiverHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / nv_declare_handle! { [INFO] [stdout] 74 | | /// A handle for a pair of 3DVP RF shutter glasses [INFO] [stdout] 75 | | Nv3DVPGlassesHandle [INFO] [stdout] | | ------------------- field in this struct [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Nv3DVPGlassesHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / nv_declare_handle! { [INFO] [stdout] 82 | | /// Unique source handle on the system [INFO] [stdout] 83 | | NvSourceHandle [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 84 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvSourceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / nv_declare_handle! { [INFO] [stdout] 87 | | /// Unique target handle on the system [INFO] [stdout] 88 | | NvTargetHandle [INFO] [stdout] | | -------------- field in this struct [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NvTargetHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/macros.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / nv_declare_handle! { [INFO] [stdout] 92 | | /// DirectX SwapChain objects [INFO] [stdout] 93 | | NVDX_SwapChainHandle [INFO] [stdout] | | -------------------- field in this struct [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NVDX_SwapChainHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/status.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / nvenum! { [INFO] [stdout] 4 | | /// NvAPI Status Values [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// All NvAPI functions return one of these codes. [INFO] [stdout] ... | [INFO] [stdout] 279 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/driverapi.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / nvapi! { [INFO] [stdout] 58 | | pub type GPU_GetMemoryInfoFn = extern "C" fn(hPhysicalGpu: handles::NvPhysicalGpuHandle, pMemoryInfo: *mut NV_DISPLAY_DRIVER_MEMORY_I... [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | /// This function retrieves the available driver memory footprint for the specified GPU. [INFO] [stdout] 61 | | /// If the GPU is in TCC Mode, only dedicatedVideoMemory will be returned in pMemoryInfo (NV_DISPLAY_DRIVER_MEMORY_INFO). [INFO] [stdout] 62 | | pub unsafe fn NvAPI_GPU_GetMemoryInfo; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / nvapi! { [INFO] [stdout] 60 | | pub type GPU_GetFullNameFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szName: *mut types::NvAPI_ShortString) -> NvAPI_Status; [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | /// This function retrieves the full GPU name as an ASCII string - for example, "Quadro FX 1400". [INFO] [stdout] 63 | | pub unsafe fn NvAPI_GPU_GetFullName; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / nvapi! { [INFO] [stdout] 67 | | pub type GPU_GetPhysicalFrameBufferSizeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSize: *mut u32) -> NvAPI_Status; [INFO] [stdout] 68 | | [INFO] [stdout] 69 | | /// This function returns the physical size of framebuffer in KB. This does NOT include any [INFO] [stdout] 70 | | /// system RAM that may be dedicated for use by the GPU. [INFO] [stdout] 71 | | pub unsafe fn NvAPI_GPU_GetPhysicalFrameBufferSize; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / nvapi! { [INFO] [stdout] 75 | | pub type GPU_GetVbiosVersionStringFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szBiosRevision: *mut types::NvAPI_ShortString... [INFO] [stdout] 76 | | [INFO] [stdout] 77 | | /// This function returns the full video BIOS version string in the form of xx.xx.xx.xx.yy where [INFO] [stdout] ... | [INFO] [stdout] 80 | | pub unsafe fn NvAPI_GPU_GetVbiosVersionString; [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / nvapi! { [INFO] [stdout] 84 | | pub type GPU_GetPCIIdentifiersFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDeviceId: *mut u32, pSubSystemId: *mut u32, pRev... [INFO] [stdout] 85 | | [INFO] [stdout] 86 | | /// This function returns the PCI identifiers associated with this GPU. [INFO] [stdout] 87 | | pub unsafe fn NvAPI_GPU_GetPCIIdentifiers; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / nvenum! { [INFO] [stdout] 91 | | /// Used in NvAPI_GPU_GetSystemType() [INFO] [stdout] 92 | | pub enum NV_SYSTEM_TYPE / SystemType { [INFO] [stdout] 93 | | NV_SYSTEM_TYPE_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / nvapi! { [INFO] [stdout] 104 | | pub type GPU_GetSystemTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSystemType: *mut NV_SYSTEM_TYPE) -> NvAPI_Status; [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | /// This function identifies whether the GPU is a notebook GPU or a desktop GPU. [INFO] [stdout] 107 | | pub unsafe fn NvAPI_GPU_GetSystemType; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / nvapi! { [INFO] [stdout] 111 | | pub type GPU_GetShaderSubPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | /// This function retrieves the number of Shader SubPipes on the GPU [INFO] [stdout] 114 | | /// On newer architectures, this corresponds to the number of SM units [INFO] [stdout] 115 | | pub unsafe fn NvAPI_GPU_GetShaderSubPipeCount; [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / nvapi! { [INFO] [stdout] 119 | | pub type GPU_GetGpuCoreCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 120 | | [INFO] [stdout] 121 | | /// Retrieves the total number of cores defined for a GPU. [INFO] [stdout] 122 | | /// Returns 0 on architectures that don't define GPU cores. [INFO] [stdout] 123 | | pub unsafe fn NvAPI_GPU_GetGpuCoreCount; [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvapi! { [INFO] [stdout] 5 | | pub type GPU_GetTachReadingFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pValue: *mut u32) -> NvAPI_Status; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | /// This API retrieves the fan speed tachometer reading for the specified physical GPU. [INFO] [stdout] 8 | | pub unsafe fn NvAPI_GPU_GetTachReading; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / nvenum! { [INFO] [stdout] 22 | | pub enum NV_COOLER_TYPE / CoolerType { [INFO] [stdout] 23 | | NVAPI_COOLER_TYPE_NONE / None = 0, [INFO] [stdout] 24 | | NVAPI_COOLER_TYPE_FAN / Fan = 1, [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / nvenum! { [INFO] [stdout] 35 | | pub enum NV_COOLER_CONTROLLER / CoolerController { [INFO] [stdout] 36 | | NVAPI_COOLER_CONTROLLER_NONE / None = 0, [INFO] [stdout] 37 | | NVAPI_COOLER_CONTROLLER_ADI / ADI = 1, [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / nvenum! { [INFO] [stdout] 47 | | pub enum NV_COOLER_POLICY / CoolerPolicy { [INFO] [stdout] 48 | | NVAPI_COOLER_POLICY_NONE / None = 0, [INFO] [stdout] 49 | | /// Manual adjustment of cooler level. Gets applied right away independent of temperature or performance level. [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / nvenum! { [INFO] [stdout] 76 | | pub enum NV_COOLER_TARGET / CoolerTarget { [INFO] [stdout] 77 | | NVAPI_COOLER_TARGET_NONE / None = 0, [INFO] [stdout] 78 | | NVAPI_COOLER_TARGET_GPU / GPU = 1, [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / nvenum! { [INFO] [stdout] 95 | | pub enum NV_COOLER_CONTROL / CoolerControl { [INFO] [stdout] 96 | | NVAPI_COOLER_CONTROL_NONE / None = 0, [INFO] [stdout] 97 | | /// ON/OFF [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / nvenum! { [INFO] [stdout] 109 | | pub enum NV_COOLER_ACTIVITY_LEVEL / CoolerActivityLevel { [INFO] [stdout] 110 | | NVAPI_INACTIVE / Inactive = 0, [INFO] [stdout] 111 | | NVAPI_ACTIVE / Active = 1, [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / nvapi! { [INFO] [stdout] 169 | | pub type GPU_GetCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerInfo: *mut NV_GPU_CO... [INFO] [stdout] 170 | | [INFO] [stdout] 171 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 177 | | pub unsafe fn NvAPI_GPU_GetCoolerSettings; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / nvapi! { [INFO] [stdout] 204 | | pub type GPU_SetCoolerLevelsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerLevels: *const NV_GPU_... [INFO] [stdout] 205 | | [INFO] [stdout] 206 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 218 | | pub unsafe fn NvAPI_GPU_SetCoolerLevels; [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / nvapi! { [INFO] [stdout] 222 | | pub type GPU_RestoreCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: u32... [INFO] [stdout] 223 | | [INFO] [stdout] 224 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 230 | | pub unsafe fn NvAPI_GPU_RestoreCoolerSettings; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / nvapi! { [INFO] [stdout] 262 | | pub type GPU_GetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *mut NV_GP... [INFO] [stdout] 263 | | [INFO] [stdout] 264 | | /// Undocumented function. [INFO] [stdout] 265 | | /// Retrieves the table of cooler and policy levels for the selected policy. Supported only for NVAPI_COOLER_POLICY_PERF. [INFO] [stdout] 266 | | pub unsafe fn NvAPI_GPU_GetCoolerPolicyTable; [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / nvapi! { [INFO] [stdout] 270 | | pub type GPU_SetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *const NV_... [INFO] [stdout] 271 | | [INFO] [stdout] 272 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 278 | | pub unsafe fn NvAPI_GPU_SetCoolerPolicyTable; [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/cooler.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / nvapi! { [INFO] [stdout] 282 | | pub type GPU_RestoreCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: ... [INFO] [stdout] 283 | | [INFO] [stdout] 284 | | /// Undocumented function. [INFO] [stdout] ... | [INFO] [stdout] 290 | | pub unsafe fn NvAPI_GPU_RestoreCoolerPolicyTable; [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / nvenum! { [INFO] [stdout] 39 | | /// Domain index into NV_GPU_DYNAMIC_PSTATES_INFO_EX.utilization. [INFO] [stdout] 40 | | /// [INFO] [stdout] 41 | | /// Definition missing from the nvapi headers for some reason. [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / nvapi! { [INFO] [stdout] 73 | | pub type GPU_GetDynamicPstatesInfoExFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDynamicPstatesInfoEx: *mut NV_GPU_DYNAMIC_... [INFO] [stdout] 74 | | [INFO] [stdout] 75 | | /// This API retrieves the NV_GPU_DYNAMIC_PSTATES_INFO_EX structure for the specified physical GPU. [INFO] [stdout] ... | [INFO] [stdout] 85 | | pub unsafe fn NvAPI_GPU_GetDynamicPstatesInfoEx; [INFO] [stdout] 86 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / nvenum! { [INFO] [stdout] 89 | | pub enum NV_GPU_PERF_PSTATE_ID / PstateId { [INFO] [stdout] 90 | | NVAPI_GPU_PERF_PSTATE_P0 / P0 = 0, [INFO] [stdout] 91 | | NVAPI_GPU_PERF_PSTATE_P1 / P1 = 1, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / nvapi! { [INFO] [stdout] 116 | | pub type GPU_GetCurrentPstateFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCurrentPstate: *mut NV_GPU_PERF_PSTATE_ID) -> NvA... [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | /// This function retrieves the current performance state (P-State). [INFO] [stdout] 119 | | pub unsafe fn NvAPI_GPU_GetCurrentPstate; [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / nvenum! { [INFO] [stdout] 123 | | pub enum NV_GPU_PERF_VOLTAGE_INFO_DOMAIN_ID / VoltageInfoDomain { [INFO] [stdout] 124 | | NVAPI_GPU_PERF_VOLTAGE_INFO_DOMAIN_CORE / Core = 0, [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / nvenum! { [INFO] [stdout] 135 | | /// Used to identify clock type [INFO] [stdout] 136 | | pub enum NV_GPU_PERF_PSTATE20_CLOCK_TYPE_ID / PstateClockType { [INFO] [stdout] 137 | | /// Clock domains that use single frequency value within given pstate [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / nvapi! { [INFO] [stdout] 300 | | pub type GPU_GetPstates20Fn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pPstatesInfo: *mut NV_GPU_PERF_PSTATES20_INFO) -> NvAP... [INFO] [stdout] 301 | | [INFO] [stdout] 302 | | /// This API retrieves all performance states (P-States) 2.0 information. [INFO] [stdout] ... | [INFO] [stdout] 314 | | pub unsafe fn NvAPI_GPU_GetPstates20; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/pstate.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / nvapi! { [INFO] [stdout] 322 | | pub type GPU_SetPstates20Fn = extern "C" fn(hPhysicalGPU: super::NvPhysicalGpuHandle, pPstatesInfo: *const super::NV_GPU_PERF_PST... [INFO] [stdout] 323 | | [INFO] [stdout] 324 | | /// Undocumented private API [INFO] [stdout] 325 | | pub unsafe fn NvAPI_GPU_SetPstates20; [INFO] [stdout] 326 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / nvenum! { [INFO] [stdout] 12 | | /// An index into NV_GPU_CLOCK_FREQUENCIES.domain[] [INFO] [stdout] 13 | | pub enum NV_GPU_PUBLIC_CLOCK_ID / PublicClockId { [INFO] [stdout] 14 | | NVAPI_GPU_PUBLIC_CLOCK_GRAPHICS / Graphics = 0, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / nvenum! { [INFO] [stdout] 60 | | /// Used in NvAPI_GPU_GetAllClockFrequencies() [INFO] [stdout] 61 | | pub enum NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE / ClockFrequencyType { [INFO] [stdout] 62 | | NV_GPU_CLOCK_FREQUENCIES_CURRENT_FREQ / Current = 0, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / nvapi! { [INFO] [stdout] 83 | | pub type GPU_GetAllClockFrequenciesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClkFreqs: *mut NV_GPU_CLOCK_FREQUENCIES) ->... [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | /// This function retrieves the NV_GPU_CLOCK_FREQUENCIES structure for the specified physical GPU. [INFO] [stdout] ... | [INFO] [stdout] 93 | | pub unsafe fn NvAPI_GPU_GetAllClockFrequencies; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / nvapi! { [INFO] [stdout] 131 | | pub type GPU_GetUsagesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pUsagesInfo: *mut NV_USAGES_INFO) -> NvAPI_Status; [INFO] [stdout] 132 | | [INFO] [stdout] 133 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetDynamicPstatesInfoEx() [INFO] [stdout] 134 | | pub unsafe fn NvAPI_GPU_GetUsages; [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / nvapi! { [INFO] [stdout] 152 | | pub type GPU_GetAllClocksFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClocksInfo: *mut NV_CLOCKS_INFO) -> NvAPI_Status; [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetAllClockFrequencies() [INFO] [stdout] ... | [INFO] [stdout] 165 | | pub unsafe fn NvAPI_GPU_GetAllClocks; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/clock.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / nvenum! { [INFO] [stdout] 289 | | pub enum NV_GPU_CLOCK_LOCK_MODE / ClockLockMode { [INFO] [stdout] 290 | | NVAPI_GPU_CLOCK_LOCK_NONE / None = 0, [INFO] [stdout] 291 | | NVAPI_GPU_CLOCK_LOCK_MANUAL / Manual = 3, [INFO] [stdout] 292 | | } [INFO] [stdout] 293 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvenum! { [INFO] [stdout] 5 | | /// Used in NV_GPU_THERMAL_SETTINGS [INFO] [stdout] 6 | | pub enum NV_THERMAL_TARGET / ThermalTarget { [INFO] [stdout] 7 | | NVAPI_THERMAL_TARGET_NONE / None = 0, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / nvenum! { [INFO] [stdout] 40 | | /// NV_GPU_THERMAL_SETTINGS [INFO] [stdout] 41 | | pub enum NV_THERMAL_CONTROLLER / ThermalController { [INFO] [stdout] 42 | | NVAPI_THERMAL_CONTROLLER_NONE / None = 0, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/thermal.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / nvapi! { [INFO] [stdout] 103 | | pub type GPU_GetThermalSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, sensorIndex: u32, pThermalSettings: *mut NV_GPU_... [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | /// This function retrieves the thermal information of all thermal sensors or specific thermal sensor associated with the selected GPU. [INFO] [stdout] ... | [INFO] [stdout] 110 | | pub unsafe fn NvAPI_GPU_GetThermalSettings; [INFO] [stdout] 111 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / nvenum! { [INFO] [stdout] 5 | | pub enum NV_MONITOR_CONN_TYPE / MonitorConnectorType { [INFO] [stdout] 6 | | NV_MONITOR_CONN_TYPE_UNINITIALIZED / Uninitialized = 0, [INFO] [stdout] 7 | | NV_MONITOR_CONN_TYPE_VGA / Vga = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / nvapi! { [INFO] [stdout] 88 | | pub type GPU_GetConnectedDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayI... [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | /// Due to space limitation NvAPI_GPU_GetConnectedOutputs can return maximum 32 devices, but [INFO] [stdout] ... | [INFO] [stdout] 109 | | pub unsafe fn NvAPI_GPU_GetConnectedDisplayIds; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/display.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / nvapi! { [INFO] [stdout] 113 | | pub type GPU_GetAllDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayIdCount... [INFO] [stdout] 114 | | [INFO] [stdout] 115 | | /// This API returns display IDs for all possible outputs on the GPU. [INFO] [stdout] ... | [INFO] [stdout] 121 | | pub unsafe fn NvAPI_GPU_GetAllDisplayIds; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / nvapi! { [INFO] [stdout] 174 | | pub type GPU_GetShaderPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 175 | | [INFO] [stdout] 176 | | pub unsafe fn NvAPI_GPU_GetShaderPipeCount; [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / nvenum! { [INFO] [stdout] 180 | | /// Undocumented function NvAPI_GPU_GetRamType() [INFO] [stdout] 181 | | pub enum NV_GPU_RAM_TYPE / RamType { [INFO] [stdout] 182 | | NV_GPU_RAM_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / nvapi! { [INFO] [stdout] 201 | | pub type GPU_GetRamTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pMemType: *mut NV_GPU_RAM_TYPE) -> NvAPI_Status; [INFO] [stdout] 202 | | [INFO] [stdout] 203 | | /// Undocumented function. [INFO] [stdout] 204 | | pub unsafe fn NvAPI_GPU_GetRamType; [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / nvenum! { [INFO] [stdout] 209 | | /// Undocumented function NvAPI_GPU_GetRamMaker() [INFO] [stdout] 210 | | pub enum NV_GPU_RAM_MAKER / RamMaker { [INFO] [stdout] 211 | | NV_GPU_RAM_MAKER_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 223 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / nvapi! { [INFO] [stdout] 230 | | pub type GPU_GetRamMakerFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamMaker: *mut NV_GPU_RAM_MAKER) -> NvAPI_Status; [INFO] [stdout] 231 | | [INFO] [stdout] 232 | | /// Undocumented function. [INFO] [stdout] 233 | | pub unsafe fn NvAPI_GPU_GetRamMaker; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / nvapi! { [INFO] [stdout] 237 | | pub type GPU_GetRamBusWidthFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBusWidth: *mut u32) -> NvAPI_Status; [INFO] [stdout] 238 | | [INFO] [stdout] 239 | | /// Undocumented function. [INFO] [stdout] 240 | | pub unsafe fn NvAPI_GPU_GetRamBusWidth; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / nvapi! { [INFO] [stdout] 244 | | pub type GPU_GetRamBankCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBankCount: *mut u32) -> NvAPI_Status; [INFO] [stdout] 245 | | [INFO] [stdout] 246 | | /// Undocumented function. [INFO] [stdout] 247 | | pub unsafe fn NvAPI_GPU_GetRamBankCount; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / nvenum! { [INFO] [stdout] 251 | | /// Undocumented function NvAPI_GPU_GetFoundry() [INFO] [stdout] 252 | | pub enum NV_GPU_FOUNDRY / Foundry { [INFO] [stdout] 253 | | NV_GPU_FOUNDRY_UNKNOWN / Unknown = 0, [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / nvapi! { [INFO] [stdout] 276 | | pub type GPU_GetFoundryFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pFoundry: *mut NV_GPU_FOUNDRY) -> NvAPI_Status; [INFO] [stdout] 277 | | [INFO] [stdout] 278 | | /// Undocumented function. [INFO] [stdout] 279 | | pub unsafe fn NvAPI_GPU_GetFoundry; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gpu/mod.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | / nvenum! { [INFO] [stdout] 287 | | pub enum NV_GPU_VENDOR / VendorId { [INFO] [stdout] 288 | | NV_GPU_VENDOR_UNKNOWN / Unknown = 0, [INFO] [stdout] 289 | | NV_GPU_VENDOR_ASUS / ASUS = 0x1043, [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/macros.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | ].into_iter().cloned() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / nvenum! { [INFO] [stdout] 10 | | pub enum NV_I2C_SPEED / I2cSpeed { [INFO] [stdout] 11 | | NVAPI_I2C_SPEED_DEFAULT / Default = 0, [INFO] [stdout] 12 | | NVAPI_I2C_SPEED_3KHZ / _3Khz = 1, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - ].into_iter().cloned() [INFO] [stdout] 107 + ].iter().cloned() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 103 ~ IntoIterator::into_iter([ [INFO] [stdout] 104 | $( [INFO] [stdout] 105 | $enum_name::$name [INFO] [stdout] 106 | ),* [INFO] [stdout] 107 ~ ]).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / nvapi! { [INFO] [stdout] 160 | | pub type NvAPI_I2CReadFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | /// This function reads the data buffer from the I2C port. [INFO] [stdout] ... | [INFO] [stdout] 181 | | pub unsafe fn NvAPI_I2CRead; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / nvapi! { [INFO] [stdout] 185 | | pub type NvAPI_I2CWriteFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stdout] 186 | | [INFO] [stdout] 187 | | /// This function writes the data buffer to the I2C port. [INFO] [stdout] ... | [INFO] [stdout] 206 | | pub unsafe fn NvAPI_I2CWrite; [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / nvapi! { [INFO] [stdout] 264 | | pub type NvAPI_I2CReadExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) -> ... [INFO] [stdout] 265 | | [INFO] [stdout] 266 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stdout] 267 | | pub unsafe fn NvAPI_I2CReadEx; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stdout] --> src/macros.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] ::: src/i2c.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / nvapi! { [INFO] [stdout] 271 | | pub type NvAPI_I2CWriteExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) ->... [INFO] [stdout] 272 | | [INFO] [stdout] 273 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stdout] 274 | | pub unsafe fn NvAPI_I2CWriteEx; [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/macros.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/handles.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / nv_declare_handle! { [INFO] [stdout] 9 | | /// A single physical GPU [INFO] [stdout] 10 | | NvPhysicalGpuHandle [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "bd58f8da3e1b072fe1c14e1163240e61172df89fc88705cc3b1ee56156edf38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd58f8da3e1b072fe1c14e1163240e61172df89fc88705cc3b1ee56156edf38f", kill_on_drop: false }` [INFO] [stdout] bd58f8da3e1b072fe1c14e1163240e61172df89fc88705cc3b1ee56156edf38f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 68f60855d20fde7fc34a9b55a2354dc3d006a2865e4526896d15c0a77fe58599 [INFO] running `Command { std: "docker" "start" "-a" "68f60855d20fde7fc34a9b55a2354dc3d006a2865e4526896d15c0a77fe58599", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/nvapi.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn nvapi_QueryInterface(id: u32) -> ::Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / nv_declare_handle! { [INFO] [stderr] 4 | | /// One or more physical GPUs acting in concert (SLI) [INFO] [stderr] 5 | | NvLogicalGpuHandle [INFO] [stderr] | | ------------------ field in this struct [INFO] [stderr] 6 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvLogicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] | | ------------------- field in this struct [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvPhysicalGpuHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / nv_declare_handle! { [INFO] [stderr] 14 | | /// Display Device driven by NVIDIA GPU(s) (an attached display) [INFO] [stderr] 15 | | NvDisplayHandle [INFO] [stderr] | | --------------- field in this struct [INFO] [stderr] 16 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / nv_declare_handle! { [INFO] [stderr] 19 | | /// Monitor handle [INFO] [stderr] 20 | | NvMonitorHandle [INFO] [stderr] | | --------------- field in this struct [INFO] [stderr] 21 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvMonitorHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / nv_declare_handle! { [INFO] [stderr] 24 | | /// Unattached Display Device driven by NVIDIA GPU(s) [INFO] [stderr] 25 | | NvUnAttachedDisplayHandle [INFO] [stderr] | | ------------------------- field in this struct [INFO] [stderr] 26 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvUnAttachedDisplayHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / nv_declare_handle! { [INFO] [stderr] 29 | | /// A handle to an event registration instance [INFO] [stderr] 30 | | NvEventHandle [INFO] [stderr] | | ------------- field in this struct [INFO] [stderr] 31 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvEventHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / nv_declare_handle! { [INFO] [stderr] 34 | | /// A handle to a Visual Computing Device [INFO] [stderr] 35 | | NvVisualComputingDeviceHandle [INFO] [stderr] | | ----------------------------- field in this struct [INFO] [stderr] 36 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvVisualComputingDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / nv_declare_handle! { [INFO] [stderr] 39 | | /// A handle to a Host Interface Card [INFO] [stderr] 40 | | NvHICHandle [INFO] [stderr] | | ----------- field in this struct [INFO] [stderr] 41 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvHICHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / nv_declare_handle! { [INFO] [stderr] 44 | | /// A handle to a Sync device [INFO] [stderr] 45 | | NvGSyncDeviceHandle [INFO] [stderr] | | ------------------- field in this struct [INFO] [stderr] 46 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvGSyncDeviceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | / nv_declare_handle! { [INFO] [stderr] 49 | | /// A handle to an SDI device [INFO] [stderr] 50 | | NvVioHandle [INFO] [stderr] | | ----------- field in this struct [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvVioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / nv_declare_handle! { [INFO] [stderr] 54 | | /// A handle to address a single transition request [INFO] [stderr] 55 | | NvTransitionHandle [INFO] [stderr] | | ------------------ field in this struct [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvTransitionHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | / nv_declare_handle! { [INFO] [stderr] 59 | | /// NVIDIA HD Audio Device [INFO] [stderr] 60 | | NvAudioHandle [INFO] [stderr] | | ------------- field in this struct [INFO] [stderr] 61 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvAudioHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | / nv_declare_handle! { [INFO] [stderr] 64 | | /// A handle for a 3D Vision Pro (3DVP) context [INFO] [stderr] 65 | | Nv3DVPContextHandle [INFO] [stderr] | | ------------------- field in this struct [INFO] [stderr] 66 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Nv3DVPContextHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / nv_declare_handle! { [INFO] [stderr] 69 | | /// A handle for a 3DVP RF transceiver [INFO] [stderr] 70 | | Nv3DVPTransceiverHandle [INFO] [stderr] | | ----------------------- field in this struct [INFO] [stderr] 71 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Nv3DVPTransceiverHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / nv_declare_handle! { [INFO] [stderr] 74 | | /// A handle for a pair of 3DVP RF shutter glasses [INFO] [stderr] 75 | | Nv3DVPGlassesHandle [INFO] [stderr] | | ------------------- field in this struct [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Nv3DVPGlassesHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | / nv_declare_handle! { [INFO] [stderr] 82 | | /// Unique source handle on the system [INFO] [stderr] 83 | | NvSourceHandle [INFO] [stderr] | | -------------- field in this struct [INFO] [stderr] 84 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvSourceHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | / nv_declare_handle! { [INFO] [stderr] 87 | | /// Unique target handle on the system [INFO] [stderr] 88 | | NvTargetHandle [INFO] [stderr] | | -------------- field in this struct [INFO] [stderr] 89 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NvTargetHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/macros.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:91:1 [INFO] [stderr] | [INFO] [stderr] 91 | / nv_declare_handle! { [INFO] [stderr] 92 | | /// DirectX SwapChain objects [INFO] [stderr] 93 | | NVDX_SwapChainHandle [INFO] [stderr] | | -------------------- field in this struct [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `NVDX_SwapChainHandle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/status.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / nvenum! { [INFO] [stderr] 4 | | /// NvAPI Status Values [INFO] [stderr] 5 | | /// [INFO] [stderr] 6 | | /// All NvAPI functions return one of these codes. [INFO] [stderr] ... | [INFO] [stderr] 279 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/driverapi.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / nvapi! { [INFO] [stderr] 58 | | pub type GPU_GetMemoryInfoFn = extern "C" fn(hPhysicalGpu: handles::NvPhysicalGpuHandle, pMemoryInfo: *mut NV_DISPLAY_DRIVER_MEMORY_I... [INFO] [stderr] 59 | | [INFO] [stderr] 60 | | /// This function retrieves the available driver memory footprint for the specified GPU. [INFO] [stderr] 61 | | /// If the GPU is in TCC Mode, only dedicatedVideoMemory will be returned in pMemoryInfo (NV_DISPLAY_DRIVER_MEMORY_INFO). [INFO] [stderr] 62 | | pub unsafe fn NvAPI_GPU_GetMemoryInfo; [INFO] [stderr] 63 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / nvapi! { [INFO] [stderr] 60 | | pub type GPU_GetFullNameFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szName: *mut types::NvAPI_ShortString) -> NvAPI_Status; [INFO] [stderr] 61 | | [INFO] [stderr] 62 | | /// This function retrieves the full GPU name as an ASCII string - for example, "Quadro FX 1400". [INFO] [stderr] 63 | | pub unsafe fn NvAPI_GPU_GetFullName; [INFO] [stderr] 64 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | / nvapi! { [INFO] [stderr] 67 | | pub type GPU_GetPhysicalFrameBufferSizeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSize: *mut u32) -> NvAPI_Status; [INFO] [stderr] 68 | | [INFO] [stderr] 69 | | /// This function returns the physical size of framebuffer in KB. This does NOT include any [INFO] [stderr] 70 | | /// system RAM that may be dedicated for use by the GPU. [INFO] [stderr] 71 | | pub unsafe fn NvAPI_GPU_GetPhysicalFrameBufferSize; [INFO] [stderr] 72 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | / nvapi! { [INFO] [stderr] 75 | | pub type GPU_GetVbiosVersionStringFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, szBiosRevision: *mut types::NvAPI_ShortString... [INFO] [stderr] 76 | | [INFO] [stderr] 77 | | /// This function returns the full video BIOS version string in the form of xx.xx.xx.xx.yy where [INFO] [stderr] ... | [INFO] [stderr] 80 | | pub unsafe fn NvAPI_GPU_GetVbiosVersionString; [INFO] [stderr] 81 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:83:1 [INFO] [stderr] | [INFO] [stderr] 83 | / nvapi! { [INFO] [stderr] 84 | | pub type GPU_GetPCIIdentifiersFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDeviceId: *mut u32, pSubSystemId: *mut u32, pRev... [INFO] [stderr] 85 | | [INFO] [stderr] 86 | | /// This function returns the PCI identifiers associated with this GPU. [INFO] [stderr] 87 | | pub unsafe fn NvAPI_GPU_GetPCIIdentifiers; [INFO] [stderr] 88 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | / nvenum! { [INFO] [stderr] 91 | | /// Used in NvAPI_GPU_GetSystemType() [INFO] [stderr] 92 | | pub enum NV_SYSTEM_TYPE / SystemType { [INFO] [stderr] 93 | | NV_SYSTEM_TYPE_UNKNOWN / Unknown = 0, [INFO] [stderr] ... | [INFO] [stderr] 97 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:103:1 [INFO] [stderr] | [INFO] [stderr] 103 | / nvapi! { [INFO] [stderr] 104 | | pub type GPU_GetSystemTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pSystemType: *mut NV_SYSTEM_TYPE) -> NvAPI_Status; [INFO] [stderr] 105 | | [INFO] [stderr] 106 | | /// This function identifies whether the GPU is a notebook GPU or a desktop GPU. [INFO] [stderr] 107 | | pub unsafe fn NvAPI_GPU_GetSystemType; [INFO] [stderr] 108 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:110:1 [INFO] [stderr] | [INFO] [stderr] 110 | / nvapi! { [INFO] [stderr] 111 | | pub type GPU_GetShaderSubPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stderr] 112 | | [INFO] [stderr] 113 | | /// This function retrieves the number of Shader SubPipes on the GPU [INFO] [stderr] 114 | | /// On newer architectures, this corresponds to the number of SM units [INFO] [stderr] 115 | | pub unsafe fn NvAPI_GPU_GetShaderSubPipeCount; [INFO] [stderr] 116 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | / nvapi! { [INFO] [stderr] 119 | | pub type GPU_GetGpuCoreCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stderr] 120 | | [INFO] [stderr] 121 | | /// Retrieves the total number of cores defined for a GPU. [INFO] [stderr] 122 | | /// Returns 0 on architectures that don't define GPU cores. [INFO] [stderr] 123 | | pub unsafe fn NvAPI_GPU_GetGpuCoreCount; [INFO] [stderr] 124 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / nvapi! { [INFO] [stderr] 5 | | pub type GPU_GetTachReadingFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pValue: *mut u32) -> NvAPI_Status; [INFO] [stderr] 6 | | [INFO] [stderr] 7 | | /// This API retrieves the fan speed tachometer reading for the specified physical GPU. [INFO] [stderr] 8 | | pub unsafe fn NvAPI_GPU_GetTachReading; [INFO] [stderr] 9 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | / nvenum! { [INFO] [stderr] 22 | | pub enum NV_COOLER_TYPE / CoolerType { [INFO] [stderr] 23 | | NVAPI_COOLER_TYPE_NONE / None = 0, [INFO] [stderr] 24 | | NVAPI_COOLER_TYPE_FAN / Fan = 1, [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / nvenum! { [INFO] [stderr] 35 | | pub enum NV_COOLER_CONTROLLER / CoolerController { [INFO] [stderr] 36 | | NVAPI_COOLER_CONTROLLER_NONE / None = 0, [INFO] [stderr] 37 | | NVAPI_COOLER_CONTROLLER_ADI / ADI = 1, [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | / nvenum! { [INFO] [stderr] 47 | | pub enum NV_COOLER_POLICY / CoolerPolicy { [INFO] [stderr] 48 | | NVAPI_COOLER_POLICY_NONE / None = 0, [INFO] [stderr] 49 | | /// Manual adjustment of cooler level. Gets applied right away independent of temperature or performance level. [INFO] [stderr] ... | [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | / nvenum! { [INFO] [stderr] 76 | | pub enum NV_COOLER_TARGET / CoolerTarget { [INFO] [stderr] 77 | | NVAPI_COOLER_TARGET_NONE / None = 0, [INFO] [stderr] 78 | | NVAPI_COOLER_TARGET_GPU / GPU = 1, [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | / nvenum! { [INFO] [stderr] 95 | | pub enum NV_COOLER_CONTROL / CoolerControl { [INFO] [stderr] 96 | | NVAPI_COOLER_CONTROL_NONE / None = 0, [INFO] [stderr] 97 | | /// ON/OFF [INFO] [stderr] ... | [INFO] [stderr] 102 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | / nvenum! { [INFO] [stderr] 109 | | pub enum NV_COOLER_ACTIVITY_LEVEL / CoolerActivityLevel { [INFO] [stderr] 110 | | NVAPI_INACTIVE / Inactive = 0, [INFO] [stderr] 111 | | NVAPI_ACTIVE / Active = 1, [INFO] [stderr] 112 | | } [INFO] [stderr] 113 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | / nvapi! { [INFO] [stderr] 169 | | pub type GPU_GetCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerInfo: *mut NV_GPU_CO... [INFO] [stderr] 170 | | [INFO] [stderr] 171 | | /// Undocumented function. [INFO] [stderr] ... | [INFO] [stderr] 177 | | pub unsafe fn NvAPI_GPU_GetCoolerSettings; [INFO] [stderr] 178 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | / nvapi! { [INFO] [stderr] 204 | | pub type GPU_SetCoolerLevelsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerLevels: *const NV_GPU_... [INFO] [stderr] 205 | | [INFO] [stderr] 206 | | /// Undocumented function. [INFO] [stderr] ... | [INFO] [stderr] 218 | | pub unsafe fn NvAPI_GPU_SetCoolerLevels; [INFO] [stderr] 219 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | / nvapi! { [INFO] [stderr] 222 | | pub type GPU_RestoreCoolerSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: u32... [INFO] [stderr] 223 | | [INFO] [stderr] 224 | | /// Undocumented function. [INFO] [stderr] ... | [INFO] [stderr] 230 | | pub unsafe fn NvAPI_GPU_RestoreCoolerSettings; [INFO] [stderr] 231 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 261 | / nvapi! { [INFO] [stderr] 262 | | pub type GPU_GetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *mut NV_GP... [INFO] [stderr] 263 | | [INFO] [stderr] 264 | | /// Undocumented function. [INFO] [stderr] 265 | | /// Retrieves the table of cooler and policy levels for the selected policy. Supported only for NVAPI_COOLER_POLICY_PERF. [INFO] [stderr] 266 | | pub unsafe fn NvAPI_GPU_GetCoolerPolicyTable; [INFO] [stderr] 267 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 269 | / nvapi! { [INFO] [stderr] 270 | | pub type GPU_SetCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: u32, pCoolerTable: *const NV_... [INFO] [stderr] 271 | | [INFO] [stderr] 272 | | /// Undocumented function. [INFO] [stderr] ... | [INFO] [stderr] 278 | | pub unsafe fn NvAPI_GPU_SetCoolerPolicyTable; [INFO] [stderr] 279 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/cooler.rs:281:5 [INFO] [stderr] | [INFO] [stderr] 281 | / nvapi! { [INFO] [stderr] 282 | | pub type GPU_RestoreCoolerPolicyTableFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, coolerIndex: *const u32, coolerCount: ... [INFO] [stderr] 283 | | [INFO] [stderr] 284 | | /// Undocumented function. [INFO] [stderr] ... | [INFO] [stderr] 290 | | pub unsafe fn NvAPI_GPU_RestoreCoolerPolicyTable; [INFO] [stderr] 291 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / nvenum! { [INFO] [stderr] 39 | | /// Domain index into NV_GPU_DYNAMIC_PSTATES_INFO_EX.utilization. [INFO] [stderr] 40 | | /// [INFO] [stderr] 41 | | /// Definition missing from the nvapi headers for some reason. [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | / nvapi! { [INFO] [stderr] 73 | | pub type GPU_GetDynamicPstatesInfoExFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDynamicPstatesInfoEx: *mut NV_GPU_DYNAMIC_... [INFO] [stderr] 74 | | [INFO] [stderr] 75 | | /// This API retrieves the NV_GPU_DYNAMIC_PSTATES_INFO_EX structure for the specified physical GPU. [INFO] [stderr] ... | [INFO] [stderr] 85 | | pub unsafe fn NvAPI_GPU_GetDynamicPstatesInfoEx; [INFO] [stderr] 86 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | / nvenum! { [INFO] [stderr] 89 | | pub enum NV_GPU_PERF_PSTATE_ID / PstateId { [INFO] [stderr] 90 | | NVAPI_GPU_PERF_PSTATE_P0 / P0 = 0, [INFO] [stderr] 91 | | NVAPI_GPU_PERF_PSTATE_P1 / P1 = 1, [INFO] [stderr] ... | [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | / nvapi! { [INFO] [stderr] 116 | | pub type GPU_GetCurrentPstateFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCurrentPstate: *mut NV_GPU_PERF_PSTATE_ID) -> NvA... [INFO] [stderr] 117 | | [INFO] [stderr] 118 | | /// This function retrieves the current performance state (P-State). [INFO] [stderr] 119 | | pub unsafe fn NvAPI_GPU_GetCurrentPstate; [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:122:1 [INFO] [stderr] | [INFO] [stderr] 122 | / nvenum! { [INFO] [stderr] 123 | | pub enum NV_GPU_PERF_VOLTAGE_INFO_DOMAIN_ID / VoltageInfoDomain { [INFO] [stderr] 124 | | NVAPI_GPU_PERF_VOLTAGE_INFO_DOMAIN_CORE / Core = 0, [INFO] [stderr] ... | [INFO] [stderr] 128 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:134:1 [INFO] [stderr] | [INFO] [stderr] 134 | / nvenum! { [INFO] [stderr] 135 | | /// Used to identify clock type [INFO] [stderr] 136 | | pub enum NV_GPU_PERF_PSTATE20_CLOCK_TYPE_ID / PstateClockType { [INFO] [stderr] 137 | | /// Clock domains that use single frequency value within given pstate [INFO] [stderr] ... | [INFO] [stderr] 142 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | / nvapi! { [INFO] [stderr] 300 | | pub type GPU_GetPstates20Fn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pPstatesInfo: *mut NV_GPU_PERF_PSTATES20_INFO) -> NvAP... [INFO] [stderr] 301 | | [INFO] [stderr] 302 | | /// This API retrieves all performance states (P-States) 2.0 information. [INFO] [stderr] ... | [INFO] [stderr] 314 | | pub unsafe fn NvAPI_GPU_GetPstates20; [INFO] [stderr] 315 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/pstate.rs:321:5 [INFO] [stderr] | [INFO] [stderr] 321 | / nvapi! { [INFO] [stderr] 322 | | pub type GPU_SetPstates20Fn = extern "C" fn(hPhysicalGPU: super::NvPhysicalGpuHandle, pPstatesInfo: *const super::NV_GPU_PERF_PST... [INFO] [stderr] 323 | | [INFO] [stderr] 324 | | /// Undocumented private API [INFO] [stderr] 325 | | pub unsafe fn NvAPI_GPU_SetPstates20; [INFO] [stderr] 326 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/clock.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / nvenum! { [INFO] [stderr] 12 | | /// An index into NV_GPU_CLOCK_FREQUENCIES.domain[] [INFO] [stderr] 13 | | pub enum NV_GPU_PUBLIC_CLOCK_ID / PublicClockId { [INFO] [stderr] 14 | | NVAPI_GPU_PUBLIC_CLOCK_GRAPHICS / Graphics = 0, [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/clock.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / nvenum! { [INFO] [stderr] 60 | | /// Used in NvAPI_GPU_GetAllClockFrequencies() [INFO] [stderr] 61 | | pub enum NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE / ClockFrequencyType { [INFO] [stderr] 62 | | NV_GPU_CLOCK_FREQUENCIES_CURRENT_FREQ / Current = 0, [INFO] [stderr] ... | [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/clock.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / nvapi! { [INFO] [stderr] 83 | | pub type GPU_GetAllClockFrequenciesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClkFreqs: *mut NV_GPU_CLOCK_FREQUENCIES) ->... [INFO] [stderr] 84 | | [INFO] [stderr] 85 | | /// This function retrieves the NV_GPU_CLOCK_FREQUENCIES structure for the specified physical GPU. [INFO] [stderr] ... | [INFO] [stderr] 93 | | pub unsafe fn NvAPI_GPU_GetAllClockFrequencies; [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/clock.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | / nvapi! { [INFO] [stderr] 131 | | pub type GPU_GetUsagesFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pUsagesInfo: *mut NV_USAGES_INFO) -> NvAPI_Status; [INFO] [stderr] 132 | | [INFO] [stderr] 133 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetDynamicPstatesInfoEx() [INFO] [stderr] 134 | | pub unsafe fn NvAPI_GPU_GetUsages; [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/clock.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | / nvapi! { [INFO] [stderr] 152 | | pub type GPU_GetAllClocksFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pClocksInfo: *mut NV_CLOCKS_INFO) -> NvAPI_Status; [INFO] [stderr] 153 | | [INFO] [stderr] 154 | | /// Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetAllClockFrequencies() [INFO] [stderr] ... | [INFO] [stderr] 165 | | pub unsafe fn NvAPI_GPU_GetAllClocks; [INFO] [stderr] 166 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/clock.rs:288:5 [INFO] [stderr] | [INFO] [stderr] 288 | / nvenum! { [INFO] [stderr] 289 | | pub enum NV_GPU_CLOCK_LOCK_MODE / ClockLockMode { [INFO] [stderr] 290 | | NVAPI_GPU_CLOCK_LOCK_NONE / None = 0, [INFO] [stderr] 291 | | NVAPI_GPU_CLOCK_LOCK_MANUAL / Manual = 3, [INFO] [stderr] 292 | | } [INFO] [stderr] 293 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/thermal.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / nvenum! { [INFO] [stderr] 5 | | /// Used in NV_GPU_THERMAL_SETTINGS [INFO] [stderr] 6 | | pub enum NV_THERMAL_TARGET / ThermalTarget { [INFO] [stderr] 7 | | NVAPI_THERMAL_TARGET_NONE / None = 0, [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/thermal.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / nvenum! { [INFO] [stderr] 40 | | /// NV_GPU_THERMAL_SETTINGS [INFO] [stderr] 41 | | pub enum NV_THERMAL_CONTROLLER / ThermalController { [INFO] [stderr] 42 | | NVAPI_THERMAL_CONTROLLER_NONE / None = 0, [INFO] [stderr] ... | [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/thermal.rs:102:1 [INFO] [stderr] | [INFO] [stderr] 102 | / nvapi! { [INFO] [stderr] 103 | | pub type GPU_GetThermalSettingsFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, sensorIndex: u32, pThermalSettings: *mut NV_GPU_... [INFO] [stderr] 104 | | [INFO] [stderr] 105 | | /// This function retrieves the thermal information of all thermal sensors or specific thermal sensor associated with the selected GPU. [INFO] [stderr] ... | [INFO] [stderr] 110 | | pub unsafe fn NvAPI_GPU_GetThermalSettings; [INFO] [stderr] 111 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/display.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / nvenum! { [INFO] [stderr] 5 | | pub enum NV_MONITOR_CONN_TYPE / MonitorConnectorType { [INFO] [stderr] 6 | | NV_MONITOR_CONN_TYPE_UNINITIALIZED / Uninitialized = 0, [INFO] [stderr] 7 | | NV_MONITOR_CONN_TYPE_VGA / Vga = 2, [INFO] [stderr] ... | [INFO] [stderr] 17 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/display.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / nvapi! { [INFO] [stderr] 88 | | pub type GPU_GetConnectedDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayI... [INFO] [stderr] 89 | | [INFO] [stderr] 90 | | /// Due to space limitation NvAPI_GPU_GetConnectedOutputs can return maximum 32 devices, but [INFO] [stderr] ... | [INFO] [stderr] 109 | | pub unsafe fn NvAPI_GPU_GetConnectedDisplayIds; [INFO] [stderr] 110 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/display.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | / nvapi! { [INFO] [stderr] 113 | | pub type GPU_GetAllDisplayIds = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pDisplayIds: *mut NV_GPU_DISPLAYIDS, pDisplayIdCount... [INFO] [stderr] 114 | | [INFO] [stderr] 115 | | /// This API returns display IDs for all possible outputs on the GPU. [INFO] [stderr] ... | [INFO] [stderr] 121 | | pub unsafe fn NvAPI_GPU_GetAllDisplayIds; [INFO] [stderr] 122 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / nvapi! { [INFO] [stderr] 174 | | pub type GPU_GetShaderPipeCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pCount: *mut u32) -> NvAPI_Status; [INFO] [stderr] 175 | | [INFO] [stderr] 176 | | pub unsafe fn NvAPI_GPU_GetShaderPipeCount; [INFO] [stderr] 177 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | / nvenum! { [INFO] [stderr] 180 | | /// Undocumented function NvAPI_GPU_GetRamType() [INFO] [stderr] 181 | | pub enum NV_GPU_RAM_TYPE / RamType { [INFO] [stderr] 182 | | NV_GPU_RAM_UNKNOWN / Unknown = 0, [INFO] [stderr] ... | [INFO] [stderr] 194 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | / nvapi! { [INFO] [stderr] 201 | | pub type GPU_GetRamTypeFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pMemType: *mut NV_GPU_RAM_TYPE) -> NvAPI_Status; [INFO] [stderr] 202 | | [INFO] [stderr] 203 | | /// Undocumented function. [INFO] [stderr] 204 | | pub unsafe fn NvAPI_GPU_GetRamType; [INFO] [stderr] 205 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | / nvenum! { [INFO] [stderr] 209 | | /// Undocumented function NvAPI_GPU_GetRamMaker() [INFO] [stderr] 210 | | pub enum NV_GPU_RAM_MAKER / RamMaker { [INFO] [stderr] 211 | | NV_GPU_RAM_MAKER_UNKNOWN / Unknown = 0, [INFO] [stderr] ... | [INFO] [stderr] 223 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | / nvapi! { [INFO] [stderr] 230 | | pub type GPU_GetRamMakerFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamMaker: *mut NV_GPU_RAM_MAKER) -> NvAPI_Status; [INFO] [stderr] 231 | | [INFO] [stderr] 232 | | /// Undocumented function. [INFO] [stderr] 233 | | pub unsafe fn NvAPI_GPU_GetRamMaker; [INFO] [stderr] 234 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | / nvapi! { [INFO] [stderr] 237 | | pub type GPU_GetRamBusWidthFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBusWidth: *mut u32) -> NvAPI_Status; [INFO] [stderr] 238 | | [INFO] [stderr] 239 | | /// Undocumented function. [INFO] [stderr] 240 | | pub unsafe fn NvAPI_GPU_GetRamBusWidth; [INFO] [stderr] 241 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | / nvapi! { [INFO] [stderr] 244 | | pub type GPU_GetRamBankCountFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pRamBankCount: *mut u32) -> NvAPI_Status; [INFO] [stderr] 245 | | [INFO] [stderr] 246 | | /// Undocumented function. [INFO] [stderr] 247 | | pub unsafe fn NvAPI_GPU_GetRamBankCount; [INFO] [stderr] 248 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | / nvenum! { [INFO] [stderr] 251 | | /// Undocumented function NvAPI_GPU_GetFoundry() [INFO] [stderr] 252 | | pub enum NV_GPU_FOUNDRY / Foundry { [INFO] [stderr] 253 | | NV_GPU_FOUNDRY_UNKNOWN / Unknown = 0, [INFO] [stderr] ... | [INFO] [stderr] 261 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:275:5 [INFO] [stderr] | [INFO] [stderr] 275 | / nvapi! { [INFO] [stderr] 276 | | pub type GPU_GetFoundryFn = extern "C" fn(hPhysicalGPU: NvPhysicalGpuHandle, pFoundry: *mut NV_GPU_FOUNDRY) -> NvAPI_Status; [INFO] [stderr] 277 | | [INFO] [stderr] 278 | | /// Undocumented function. [INFO] [stderr] 279 | | pub unsafe fn NvAPI_GPU_GetFoundry; [INFO] [stderr] 280 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gpu/mod.rs:286:5 [INFO] [stderr] | [INFO] [stderr] 286 | / nvenum! { [INFO] [stderr] 287 | | pub enum NV_GPU_VENDOR / VendorId { [INFO] [stderr] 288 | | NV_GPU_VENDOR_UNKNOWN / Unknown = 0, [INFO] [stderr] 289 | | NV_GPU_VENDOR_ASUS / ASUS = 0x1043, [INFO] [stderr] ... | [INFO] [stderr] 308 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/macros.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | ].into_iter().cloned() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/i2c.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / nvenum! { [INFO] [stderr] 10 | | pub enum NV_I2C_SPEED / I2cSpeed { [INFO] [stderr] 11 | | NVAPI_I2C_SPEED_DEFAULT / Default = 0, [INFO] [stderr] 12 | | NVAPI_I2C_SPEED_3KHZ / _3Khz = 1, [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `nvenum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 107 - ].into_iter().cloned() [INFO] [stderr] 107 + ].iter().cloned() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 103 ~ IntoIterator::into_iter([ [INFO] [stderr] 104 | $( [INFO] [stderr] 105 | $enum_name::$name [INFO] [stderr] 106 | ),* [INFO] [stderr] 107 ~ ]).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/i2c.rs:159:1 [INFO] [stderr] | [INFO] [stderr] 159 | / nvapi! { [INFO] [stderr] 160 | | pub type NvAPI_I2CReadFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stderr] 161 | | [INFO] [stderr] 162 | | /// This function reads the data buffer from the I2C port. [INFO] [stderr] ... | [INFO] [stderr] 181 | | pub unsafe fn NvAPI_I2CRead; [INFO] [stderr] 182 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/i2c.rs:184:1 [INFO] [stderr] | [INFO] [stderr] 184 | / nvapi! { [INFO] [stderr] 185 | | pub type NvAPI_I2CWriteFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO) -> NvAPI_Status; [INFO] [stderr] 186 | | [INFO] [stderr] 187 | | /// This function writes the data buffer to the I2C port. [INFO] [stderr] ... | [INFO] [stderr] 206 | | pub unsafe fn NvAPI_I2CWrite; [INFO] [stderr] 207 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/i2c.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 263 | / nvapi! { [INFO] [stderr] 264 | | pub type NvAPI_I2CReadExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) -> ... [INFO] [stderr] 265 | | [INFO] [stderr] 266 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stderr] 267 | | pub unsafe fn NvAPI_I2CReadEx; [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NvPhysicalGpuHandle`, which is not FFI-safe [INFO] [stderr] --> src/macros.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | pub type $name = extern "C" fn($($arg: $arg_ty),*) -> $ret; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] ::: src/i2c.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | / nvapi! { [INFO] [stderr] 271 | | pub type NvAPI_I2CWriteExFn = extern "C" fn(hPhysicalGpu: NvPhysicalGpuHandle, pI2cInfo: *mut NV_I2C_INFO_EX, pData: *mut u32) ->... [INFO] [stderr] 272 | | [INFO] [stderr] 273 | | /// Undocumented function. `pData` is often `{ 1, 0 }`? [INFO] [stderr] 274 | | pub unsafe fn NvAPI_I2CWriteEx; [INFO] [stderr] 275 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/macros.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct $name(*const ::std::os::raw::c_void); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/handles.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / nv_declare_handle! { [INFO] [stderr] 9 | | /// A single physical GPU [INFO] [stderr] 10 | | NvPhysicalGpuHandle [INFO] [stderr] 11 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `nvapi` which comes from the expansion of the macro `nv_declare_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `nvapi-sys` (lib) generated 77 warnings (run `cargo fix --lib -p nvapi-sys` to apply 23 suggestions) [INFO] [stderr] warning: `nvapi-sys` (lib test) generated 77 warnings (77 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/nvapi_sys-a37f10bb7972f76b) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test driverapi::NV_DISPLAY_DRIVER_MEMORY_INFO_VER_1::NV_DISPLAY_DRIVER_MEMORY_INFO_VER_1 ... ok [INFO] [stdout] test driverapi::NV_DISPLAY_DRIVER_MEMORY_INFO_VER_2::NV_DISPLAY_DRIVER_MEMORY_INFO_VER_2 ... ok [INFO] [stdout] test gpu::NV_BOARD_INFO_VER1::NV_BOARD_INFO_VER1 ... ok [INFO] [stdout] test gpu::clock::NV_GPU_CLOCK_FREQUENCIES_VER_1::NV_GPU_CLOCK_FREQUENCIES_VER_1 ... ok [INFO] [stdout] test gpu::clock::NV_GPU_CLOCK_FREQUENCIES_VER_2::NV_GPU_CLOCK_FREQUENCIES_VER_2 ... ok [INFO] [stdout] test gpu::clock::NV_GPU_CLOCK_FREQUENCIES_VER_3::NV_GPU_CLOCK_FREQUENCIES_VER_3 ... ok [INFO] [stdout] test gpu::clock::private::NV_CLOCKS_INFO_VER_1::NV_CLOCKS_INFO_VER_1 ... ok [INFO] [stdout] test gpu::clock::private::NV_CLOCK_LOCK_VER_2::NV_CLOCK_LOCK_VER_2 ... ok [INFO] [stdout] test gpu::clock::private::NV_CLOCK_MASKS_VER_1::NV_CLOCK_MASKS_VER_1 ... ok [INFO] [stdout] test gpu::clock::private::NV_CLOCK_TABLE_VER_1::NV_CLOCK_TABLE_VER_1 ... ok [INFO] [stdout] test driverapi::NV_DISPLAY_DRIVER_MEMORY_INFO_VER_3::NV_DISPLAY_DRIVER_MEMORY_INFO_VER_3 ... ok [INFO] [stdout] test gpu::clock::private::NV_USAGES_INFO_VER_1::NV_USAGES_INFO_VER_1 ... ok [INFO] [stdout] test gpu::cooler::private::NV_GPU_COOLER_POLICY_TABLE_VER_1::NV_GPU_COOLER_POLICY_TABLE_VER_1 ... ok [INFO] [stdout] test gpu::cooler::private::NV_GPU_COOLER_SETTINGS_VER_1::NV_GPU_COOLER_SETTINGS_VER_1 ... ok [INFO] [stdout] test gpu::display::NV_GPU_DISPLAYIDS_VER1::NV_GPU_DISPLAYIDS_VER1 ... ok [INFO] [stdout] test gpu::display::NV_GPU_DISPLAYIDS_VER2::NV_GPU_DISPLAYIDS_VER2 ... ok [INFO] [stdout] test gpu::cooler::private::NV_GPU_SETCOOLER_LEVEL_VER_1::NV_GPU_SETCOOLER_LEVEL_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_GPU_PERF_INFO_VER_1::NV_GPU_PERF_INFO_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_GPU_PERF_STATUS_VER_1::NV_GPU_PERF_STATUS_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_GPU_POWER_INFO_VER_1::NV_GPU_POWER_INFO_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_GPU_POWER_STATUS_VER_1::NV_GPU_POWER_STATUS_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_GPU_POWER_TOPO_VER_1::NV_GPU_POWER_TOPO_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_VFP_CURVE_VER_1::NV_VFP_CURVE_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_VOLTAGE_STATUS_VER_1::NV_VOLTAGE_STATUS_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_VOLT_STATUS_VER_1::NV_VOLT_STATUS_VER_1 ... ok [INFO] [stdout] test gpu::power::private::NV_VOLT_TABLE_VER_1::NV_VOLT_TABLE_VER_1 ... ok [INFO] [stdout] test gpu::pstate::NV_GPU_DYNAMIC_PSTATES_INFO_EX_VER::NV_GPU_DYNAMIC_PSTATES_INFO_EX_VER ... ok [INFO] [stdout] test gpu::pstate::NV_GPU_PERF_PSTATES20_INFO_VER1::NV_GPU_PERF_PSTATES20_INFO_VER1 ... ok [INFO] [stdout] test gpu::pstate::NV_GPU_PERF_PSTATES20_INFO_VER3::NV_GPU_PERF_PSTATES20_INFO_VER3 ... ok [INFO] [stdout] test gpu::thermal::NV_GPU_THERMAL_SETTINGS_VER_1::NV_GPU_THERMAL_SETTINGS_VER_1 ... ok [INFO] [stdout] test gpu::thermal::NV_GPU_THERMAL_SETTINGS_VER_2::NV_GPU_THERMAL_SETTINGS_VER_2 ... ok [INFO] [stdout] test gpu::thermal::private::NV_GPU_THERMAL_INFO_VER_2::NV_GPU_THERMAL_INFO_VER_2 ... ok [INFO] [stdout] test gpu::clock::private::NV_CLOCK_RANGES_VER_1::NV_CLOCK_RANGES_VER_1 ... ok [INFO] [stdout] test gpu::pstate::NV_GPU_PERF_PSTATES20_INFO_VER2::NV_GPU_PERF_PSTATES20_INFO_VER2 ... ok [INFO] [stdout] test gpu::power::private::NV_VOLTAGE_BOOST_PERCENT_VER_1::NV_VOLTAGE_BOOST_PERCENT_VER_1 ... ok [INFO] [stdout] test gpu::thermal::private::NV_GPU_THERMAL_LIMIT_VER_2::NV_GPU_THERMAL_LIMIT_VER_2 ... ok [INFO] [stdout] test i2c::NV_I2C_INFO_VER1::NV_I2C_INFO_VER1 ... ok [INFO] [stdout] test i2c::NV_I2C_INFO_VER2::NV_I2C_INFO_VER2 ... ok [INFO] [stdout] test i2c::NV_I2C_INFO_VER3::NV_I2C_INFO_VER3 ... ok [INFO] [stdout] test i2c::private::NV_I2C_INFO_EX_VER3::NV_I2C_INFO_EX_VER3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68f60855d20fde7fc34a9b55a2354dc3d006a2865e4526896d15c0a77fe58599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f60855d20fde7fc34a9b55a2354dc3d006a2865e4526896d15c0a77fe58599", kill_on_drop: false }` [INFO] [stdout] 68f60855d20fde7fc34a9b55a2354dc3d006a2865e4526896d15c0a77fe58599