[INFO] fetching crate libcpuid_dump 0.1.2... [INFO] testing libcpuid_dump-0.1.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate libcpuid_dump 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate libcpuid_dump 0.1.2 [INFO] finished tweaking crates.io crate libcpuid_dump 0.1.2 [INFO] tweaked toml for crates.io crate libcpuid_dump 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libcpuid_dump 0.1.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding windows v0.34.0 (available: v0.62.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows v0.34.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90515e5242f4668a181d7452855550616540313d5311ca4cc38917a44083096c [INFO] running `Command { std: "docker" "start" "-a" "90515e5242f4668a181d7452855550616540313d5311ca4cc38917a44083096c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90515e5242f4668a181d7452855550616540313d5311ca4cc38917a44083096c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90515e5242f4668a181d7452855550616540313d5311ca4cc38917a44083096c", kill_on_drop: false }` [INFO] [stdout] 90515e5242f4668a181d7452855550616540313d5311ca4cc38917a44083096c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4722b6610a4f444b5441abc5b4ff7378baf94714175afc85cba5241c3f95ee9 [INFO] running `Command { std: "docker" "start" "-a" "f4722b6610a4f444b5441abc5b4ff7378baf94714175afc85cba5241c3f95ee9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling libcpuid_dump v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CacheProp, TopoId, TopoLevelType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> codename/fms.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> vendor.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> micro_arch_level.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> proc_name.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> cache_prop.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> info_01h_ebx.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> monitor_mwait_00_05h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> hybrid_info_00_1ah.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> topo_info.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, TopoLevelType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> hybrid_topology.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{cpuid, CacheType, CacheProp, HybridCoreType, HybridInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_size_id_80_08h_ecx.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_pkg_type_80_01h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, FamModStep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_ext_topo_80_26h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let thread_count = (cpuid!(topo_leaf, 0x1).ebx >> 16) & 0xFF; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let leaf_01h = cpuid!(0x1, 0x0); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let cpuid = cpuid!(topo_leaf, 0x0); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let check_topoext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let cpuid = cpuid!(0x8000_001E, 0x0).ebx; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let cpuid = cpuid!(cache_leaf, 0x0); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { core::arch::x86_64::__cpuid_count($leaf, 0x0) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: codename/fms.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | Self::from(&cpuid!(0x1)) [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: vendor.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: vendor.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | cpuid!(0x1, 0x0), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | cpuid!(0x7, 0x0), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | cpuid!(0x8000_0001, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | cpuid!(0x8000_0002, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | cpuid!(0x8000_0003, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | cpuid!(0x8000_0004, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: cache_prop.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | let amd_topo_ext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: cache_prop.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | let prop = Self::from(&cpuid!(leaf, sub_leaf)); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: info_01h_ebx.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Self::from(&cpuid!(0x1, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: monitor_mwait_00_05h.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | Self::from(&cpuid!(0x5, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: intel_tlb_param_00_18h.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let max_sub_leaf = cpuid!(0x18, 0).eax; [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: intel_tlb_param_00_18h.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let cpuid = cpuid!(0x18, sub_leaf); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_info_00_1ah.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | Self::get_hybrid_info_from_cpuid(&cpuid!(0x1A, 0x0)) [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: topo_info.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let cpuid = cpuid!(leaf, SUB_LEAF); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: topo_info.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let cpuid = cpuid!(topo_leaf, sub_leaf); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let eax = cpuid!(0x1, 0x0).eax; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let apicid = initial_apic_id!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `initial_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let max_apic_id = max_apic_id!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `max_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let cpuid = cpuid!(cache_leaf, sub_leaf); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | let cpuid = (cpuid!(0x7, 0x0).edx >> 15) & 0b1; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | let leaf_1ah = cpuid!(0x1A, 0x0); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: addr_size_80_08h_eax.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_size_id_80_08h_ecx.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_pkg_type_80_01h.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | Self::from(&cpuid!(0x8000_0001, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_proc_topo_80_1eh.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Self::from(&cpuid!(0x8000_001E, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_ext_topo_80_26h.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | Self::from(&cpuid!(LEAF, sub_leaf)) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_ext_topo_80_26h.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let cpuid = cpuid!(LEAF, INPUT_ECX); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (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 2.49s [INFO] running `Command { std: "docker" "inspect" "f4722b6610a4f444b5441abc5b4ff7378baf94714175afc85cba5241c3f95ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4722b6610a4f444b5441abc5b4ff7378baf94714175afc85cba5241c3f95ee9", kill_on_drop: false }` [INFO] [stdout] f4722b6610a4f444b5441abc5b4ff7378baf94714175afc85cba5241c3f95ee9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58dede4abf5c1f5bc5f7dd617504f93f0688eb26717b5aae22fdd3cdf8f35bae [INFO] running `Command { std: "docker" "start" "-a" "58dede4abf5c1f5bc5f7dd617504f93f0688eb26717b5aae22fdd3cdf8f35bae", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CacheProp, TopoId, TopoLevelType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> codename/fms.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> vendor.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> micro_arch_level.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> proc_name.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> cache_prop.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> info_01h_ebx.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> monitor_mwait_00_05h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> hybrid_info_00_1ah.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> topo_info.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, TopoLevelType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> hybrid_topology.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{cpuid, CacheType, CacheProp, HybridCoreType, HybridInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_size_id_80_08h_ecx.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_pkg_type_80_01h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, FamModStep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_ext_topo_80_26h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let thread_count = (cpuid!(topo_leaf, 0x1).ebx >> 16) & 0xFF; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let leaf_01h = cpuid!(0x1, 0x0); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let cpuid = cpuid!(topo_leaf, 0x0); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let check_topoext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let cpuid = cpuid!(0x8000_001E, 0x0).ebx; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let cpuid = cpuid!(cache_leaf, 0x0); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { core::arch::x86_64::__cpuid_count($leaf, 0x0) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: codename/fms.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | Self::from(&cpuid!(0x1)) [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: vendor.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: vendor.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | cpuid!(0x1, 0x0), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | cpuid!(0x7, 0x0), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | cpuid!(0x8000_0001, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | cpuid!(0x8000_0002, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | cpuid!(0x8000_0003, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | cpuid!(0x8000_0004, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: cache_prop.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | let amd_topo_ext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: cache_prop.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | let prop = Self::from(&cpuid!(leaf, sub_leaf)); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: info_01h_ebx.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Self::from(&cpuid!(0x1, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: monitor_mwait_00_05h.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | Self::from(&cpuid!(0x5, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libcpuid_dump v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: intel_tlb_param_00_18h.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let max_sub_leaf = cpuid!(0x18, 0).eax; [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: intel_tlb_param_00_18h.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let cpuid = cpuid!(0x18, sub_leaf); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_info_00_1ah.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | Self::get_hybrid_info_from_cpuid(&cpuid!(0x1A, 0x0)) [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: topo_info.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let cpuid = cpuid!(leaf, SUB_LEAF); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: topo_info.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let cpuid = cpuid!(topo_leaf, sub_leaf); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let eax = cpuid!(0x1, 0x0).eax; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let apicid = initial_apic_id!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `initial_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let max_apic_id = max_apic_id!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `max_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let cpuid = cpuid!(cache_leaf, sub_leaf); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | let cpuid = (cpuid!(0x7, 0x0).edx >> 15) & 0b1; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | let leaf_1ah = cpuid!(0x1A, 0x0); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: addr_size_80_08h_eax.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_size_id_80_08h_ecx.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_pkg_type_80_01h.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | Self::from(&cpuid!(0x8000_0001, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_proc_topo_80_1eh.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Self::from(&cpuid!(0x8000_001E, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_ext_topo_80_26h.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | Self::from(&cpuid!(LEAF, sub_leaf)) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_ext_topo_80_26h.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let cpuid = cpuid!(LEAF, INPUT_ECX); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CacheProp, TopoId, TopoLevelType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> codename/fms.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> vendor.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> micro_arch_level.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> proc_name.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> cache_prop.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> info_01h_ebx.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> monitor_mwait_00_05h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> hybrid_info_00_1ah.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> topo_info.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, TopoLevelType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> hybrid_topology.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{cpuid, CacheType, CacheProp, HybridCoreType, HybridInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_size_id_80_08h_ecx.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_pkg_type_80_01h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult, FamModStep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpuid` [INFO] [stdout] --> amd_ext_topo_80_26h.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let thread_count = (cpuid!(topo_leaf, 0x1).ebx >> 16) & 0xFF; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let leaf_01h = cpuid!(0x1, 0x0); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let cpuid = cpuid!(topo_leaf, 0x0); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let check_topoext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let cpuid = cpuid!(0x8000_001E, 0x0).ebx; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: util.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let cpuid = cpuid!(cache_leaf, 0x0); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { core::arch::x86_64::__cpuid_count($leaf, 0x0) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: codename/fms.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | Self::from(&cpuid!(0x1)) [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: vendor.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: vendor.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | cpuid!(0x1, 0x0), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | cpuid!(0x7, 0x0), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: micro_arch_level.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | cpuid!(0x8000_0001, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | cpuid!(0x8000_0002, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | cpuid!(0x8000_0003, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: proc_name.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | cpuid!(0x8000_0004, 0x0), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: cache_prop.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | let amd_topo_ext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: cache_prop.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | let prop = Self::from(&cpuid!(leaf, sub_leaf)); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: info_01h_ebx.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Self::from(&cpuid!(0x1, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: monitor_mwait_00_05h.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | Self::from(&cpuid!(0x5, 0x0)) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: intel_tlb_param_00_18h.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let max_sub_leaf = cpuid!(0x18, 0).eax; [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: intel_tlb_param_00_18h.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let cpuid = cpuid!(0x18, sub_leaf); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_info_00_1ah.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | Self::get_hybrid_info_from_cpuid(&cpuid!(0x1A, 0x0)) [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: topo_info.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let cpuid = cpuid!(leaf, SUB_LEAF); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: topo_info.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let cpuid = cpuid!(topo_leaf, sub_leaf); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let eax = cpuid!(0x1, 0x0).eax; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let apicid = initial_apic_id!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `initial_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let max_apic_id = max_apic_id!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `max_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let cpuid = cpuid!(cache_leaf, sub_leaf); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | let cpuid = (cpuid!(0x7, 0x0).edx >> 15) & 0b1; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: hybrid_topology.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | let leaf_1ah = cpuid!(0x1A, 0x0); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: addr_size_80_08h_eax.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_size_id_80_08h_ecx.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_pkg_type_80_01h.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | Self::from(&cpuid!(0x8000_0001, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_proc_topo_80_1eh.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Self::from(&cpuid!(0x8000_001E, 0x0)) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_ext_topo_80_26h.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | Self::from(&cpuid!(LEAF, sub_leaf)) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: amd_ext_topo_80_26h.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let cpuid = cpuid!(LEAF, INPUT_ECX); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cpuid` (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 0.70s [INFO] running `Command { std: "docker" "inspect" "58dede4abf5c1f5bc5f7dd617504f93f0688eb26717b5aae22fdd3cdf8f35bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58dede4abf5c1f5bc5f7dd617504f93f0688eb26717b5aae22fdd3cdf8f35bae", kill_on_drop: false }` [INFO] [stdout] 58dede4abf5c1f5bc5f7dd617504f93f0688eb26717b5aae22fdd3cdf8f35bae [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8fceb637741f594000b49cfb8b39b119a55eb5e6079ccdbac7777cfcfe1ef6f5 [INFO] running `Command { std: "docker" "start" "-a" "8fceb637741f594000b49cfb8b39b119a55eb5e6079ccdbac7777cfcfe1ef6f5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> util.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CacheProp, TopoId, TopoLevelType}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> codename/fms.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> vendor.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> micro_arch_level.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> proc_name.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> cache_prop.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult, CpuVendor}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> info_01h_ebx.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> monitor_mwait_00_05h.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> hybrid_info_00_1ah.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> topo_info.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult, TopoLevelType}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> hybrid_topology.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{cpuid, CacheType, CacheProp, HybridCoreType, HybridInfo}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> amd_size_id_80_08h_ecx.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> amd_pkg_type_80_01h.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult, FamModStep}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpuid` [INFO] [stderr] --> amd_ext_topo_80_26h.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cpuid, CpuidResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: util.rs:86:29 [INFO] [stderr] | [INFO] [stderr] 86 | let thread_count = (cpuid!(topo_leaf, 0x1).ebx >> 16) & 0xFF; [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: util.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | let leaf_01h = cpuid!(0x1, 0x0); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: util.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | let cpuid = cpuid!(topo_leaf, 0x0); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: util.rs:114:27 [INFO] [stderr] | [INFO] [stderr] 114 | let check_topoext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: util.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | let cpuid = cpuid!(0x8000_001E, 0x0).ebx; [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: util.rs:125:21 [INFO] [stderr] | [INFO] [stderr] 125 | let cpuid = cpuid!(cache_leaf, 0x0); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | unsafe { core::arch::x86_64::__cpuid_count($leaf, 0x0) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: codename/fms.rs:214:21 [INFO] [stderr] | [INFO] [stderr] 214 | Self::from(&cpuid!(0x1)) [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: vendor.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: vendor.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | Self::from(&cpuid!(0x0, 0x0)) [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: micro_arch_level.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | cpuid!(0x1, 0x0), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: micro_arch_level.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | cpuid!(0x7, 0x0), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: micro_arch_level.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | cpuid!(0x8000_0001, 0x0), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: proc_name.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | cpuid!(0x8000_0002, 0x0), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: proc_name.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | cpuid!(0x8000_0003, 0x0), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: proc_name.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | cpuid!(0x8000_0004, 0x0), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: cache_prop.rs:128:38 [INFO] [stderr] | [INFO] [stderr] 128 | let amd_topo_ext = ((cpuid!(0x8000_0001, 0x0).ecx >> 22) & 0b1) != 0; [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: cache_prop.rs:166:36 [INFO] [stderr] | [INFO] [stderr] 166 | let prop = Self::from(&cpuid!(leaf, sub_leaf)); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: info_01h_ebx.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | Self::from(&cpuid!(0x1, 0x0)) [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: monitor_mwait_00_05h.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | Self::from(&cpuid!(0x5, 0x0)) [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: intel_tlb_param_00_18h.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | let max_sub_leaf = cpuid!(0x18, 0).eax; [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: intel_tlb_param_00_18h.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | let cpuid = cpuid!(0x18, sub_leaf); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_info_00_1ah.rs:96:43 [INFO] [stderr] | [INFO] [stderr] 96 | Self::get_hybrid_info_from_cpuid(&cpuid!(0x1A, 0x0)) [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: topo_info.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | let cpuid = cpuid!(leaf, SUB_LEAF); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: topo_info.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let cpuid = cpuid!(topo_leaf, sub_leaf); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | let eax = cpuid!(0x1, 0x0).eax; [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:56:29 [INFO] [stderr] | [INFO] [stderr] 56 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:124:30 [INFO] [stderr] | [INFO] [stderr] 124 | let apicid = initial_apic_id!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `initial_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:128:33 [INFO] [stderr] | [INFO] [stderr] 128 | let cpuid = cpuid!(*cache_leaf, sub_leaf); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:191:27 [INFO] [stderr] | [INFO] [stderr] 191 | let max_apic_id = max_apic_id!(); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` which comes from the expansion of the macro `max_apic_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:194:25 [INFO] [stderr] | [INFO] [stderr] 194 | let cpuid = cpuid!(cache_leaf, sub_leaf); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:274:22 [INFO] [stderr] | [INFO] [stderr] 274 | let cpuid = (cpuid!(0x7, 0x0).edx >> 15) & 0b1; [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: hybrid_topology.rs:290:32 [INFO] [stderr] | [INFO] [stderr] 290 | let leaf_1ah = cpuid!(0x1A, 0x0); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: addr_size_80_08h_eax.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: amd_size_id_80_08h_ecx.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | Self::from(&cpuid!(0x8000_0008, 0x0)) [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: amd_pkg_type_80_01h.rs:215:21 [INFO] [stderr] | [INFO] [stderr] 215 | Self::from(&cpuid!(0x8000_0001, 0x0)) [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: amd_proc_topo_80_1eh.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | Self::from(&cpuid!(0x8000_001E, 0x0)) [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: amd_ext_topo_80_26h.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | Self::from(&cpuid!(LEAF, sub_leaf)) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe { core::arch::x86_64::__cpuid_count($leaf, $sub_leaf) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: amd_ext_topo_80_26h.rs:174:21 [INFO] [stderr] | [INFO] [stderr] 174 | let cpuid = cpuid!(LEAF, INPUT_ECX); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cpuid` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libcpuid_dump` (lib) generated 52 warnings (run `cargo fix --lib -p libcpuid_dump` to apply 14 suggestions) [INFO] [stderr] warning: `libcpuid_dump` (lib test) generated 52 warnings (52 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/libcpuid_dump-fdba80e84fcd9551) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cache_prop::test_cache_prop ... ok [INFO] [stdout] test micro_arch_level::test_micro_arch_level ... ok [INFO] [stdout] test proc_name::test_proc_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libcpuid_dump [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8fceb637741f594000b49cfb8b39b119a55eb5e6079ccdbac7777cfcfe1ef6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fceb637741f594000b49cfb8b39b119a55eb5e6079ccdbac7777cfcfe1ef6f5", kill_on_drop: false }` [INFO] [stdout] 8fceb637741f594000b49cfb8b39b119a55eb5e6079ccdbac7777cfcfe1ef6f5