[INFO] fetching crate pytorch-cpuinfo-pieces 0.0.1... [INFO] checking pytorch-cpuinfo-pieces-0.0.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pytorch-cpuinfo-pieces 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pytorch-cpuinfo-pieces 0.0.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pytorch-cpuinfo-pieces 0.0.1 [INFO] finished tweaking crates.io crate pytorch-cpuinfo-pieces 0.0.1 [INFO] tweaked toml for crates.io crate pytorch-cpuinfo-pieces 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.61.0 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f71fde4c170cf3104d17a6a08fe82c854fb846c0da46630140e7b6ae21a8f55e [INFO] running `Command { std: "docker" "start" "-a" "f71fde4c170cf3104d17a6a08fe82c854fb846c0da46630140e7b6ae21a8f55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f71fde4c170cf3104d17a6a08fe82c854fb846c0da46630140e7b6ae21a8f55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71fde4c170cf3104d17a6a08fe82c854fb846c0da46630140e7b6ae21a8f55e", kill_on_drop: false }` [INFO] [stdout] f71fde4c170cf3104d17a6a08fe82c854fb846c0da46630140e7b6ae21a8f55e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99986099069e0846927df9f9c2e85a610578fe524fa8ec3508d3b8bfa5568e05 [INFO] running `Command { std: "docker" "start" "-a" "99986099069e0846927df9f9c2e85a610578fe524fa8ec3508d3b8bfa5568e05", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.61.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling pytorch-cpuinfo-pieces v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs (38 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.91s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling pytorch-cpuinfo-pieces v0.0.1 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:51811 [INFO] [stdout] | [INFO] [stdout] 3 | ..., "::" , stringify ! (core_count))) ; } extern "C" { pub fn cpuinfo_initialize () -> bool ; } extern "C" { pub fn cpuinfo_deinitialize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:51865 [INFO] [stdout] | [INFO] [stdout] 3 | ...{ pub fn cpuinfo_initialize () -> bool ; } extern "C" { pub fn cpuinfo_deinitialize () ; } # [repr (C)] # [derive (Debug , Copy , Clon... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69048 [INFO] [stdout] | [INFO] [stdout] 3 | ...a) , "::" , stringify ! (lwp))) ; } extern "C" { pub static mut cpuinfo_isa : cpuinfo_x86_isa ; } extern "C" { pub fn cpuinfo_get_proc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69110 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_isa : cpuinfo_x86_isa ; } extern "C" { pub fn cpuinfo_get_processors () -> * const cpuinfo_processor ; } extern "C" { pub fn cpuinfo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69189 [INFO] [stdout] | [INFO] [stdout] 3 | ...-> * const cpuinfo_processor ; } extern "C" { pub fn cpuinfo_get_cores () -> * const cpuinfo_core ; } extern "C" { pub fn cpuinfo_get_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69258 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> * const cpuinfo_core ; } extern "C" { pub fn cpuinfo_get_clusters () -> * const cpuinfo_cluster ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:51811 [INFO] [stdout] | [INFO] [stdout] 3 | ..., "::" , stringify ! (core_count))) ; } extern "C" { pub fn cpuinfo_initialize () -> bool ; } extern "C" { pub fn cpuinfo_deinitialize... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69333 [INFO] [stdout] | [INFO] [stdout] 3 | ...> * const cpuinfo_cluster ; } extern "C" { pub fn cpuinfo_get_packages () -> * const cpuinfo_package ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:51865 [INFO] [stdout] | [INFO] [stdout] 3 | ...{ pub fn cpuinfo_initialize () -> bool ; } extern "C" { pub fn cpuinfo_deinitialize () ; } # [repr (C)] # [derive (Debug , Copy , Clon... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69408 [INFO] [stdout] | [INFO] [stdout] 3 | ... * const cpuinfo_package ; } extern "C" { pub fn cpuinfo_get_uarchs () -> * const cpuinfo_uarch_info ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69048 [INFO] [stdout] | [INFO] [stdout] 3 | ...a) , "::" , stringify ! (lwp))) ; } extern "C" { pub static mut cpuinfo_isa : cpuinfo_x86_isa ; } extern "C" { pub fn cpuinfo_get_proc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69484 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_uarch_info ; } extern "C" { pub fn cpuinfo_get_l1i_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69110 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_isa : cpuinfo_x86_isa ; } extern "C" { pub fn cpuinfo_get_processors () -> * const cpuinfo_processor ; } extern "C" { pub fn cpuinfo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69559 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l1d_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69189 [INFO] [stdout] | [INFO] [stdout] 3 | ...-> * const cpuinfo_processor ; } extern "C" { pub fn cpuinfo_get_cores () -> * const cpuinfo_core ; } extern "C" { pub fn cpuinfo_get_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69634 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l2_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_ge... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69258 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> * const cpuinfo_core ; } extern "C" { pub fn cpuinfo_get_clusters () -> * const cpuinfo_cluster ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69708 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l3_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_ge... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69333 [INFO] [stdout] | [INFO] [stdout] 3 | ...> * const cpuinfo_cluster ; } extern "C" { pub fn cpuinfo_get_packages () -> * const cpuinfo_package ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69782 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l4_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_ge... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69408 [INFO] [stdout] | [INFO] [stdout] 3 | ... * const cpuinfo_package ; } extern "C" { pub fn cpuinfo_get_uarchs () -> * const cpuinfo_uarch_info ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69856 [INFO] [stdout] | [INFO] [stdout] 3 | ...onst cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_processor (index : u32) -> * const cpuinfo_processor ; } extern "C" { pub fn cp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69484 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_uarch_info ; } extern "C" { pub fn cpuinfo_get_l1i_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69559 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l1d_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69945 [INFO] [stdout] | [INFO] [stdout] 3 | ...const cpuinfo_processor ; } extern "C" { pub fn cpuinfo_get_core (index : u32) -> * const cpuinfo_core ; } extern "C" { pub fn cpuinfo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69634 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l2_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_ge... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70024 [INFO] [stdout] | [INFO] [stdout] 3 | ...* const cpuinfo_core ; } extern "C" { pub fn cpuinfo_get_cluster (index : u32) -> * const cpuinfo_cluster ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69708 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l3_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_ge... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70109 [INFO] [stdout] | [INFO] [stdout] 3 | ...onst cpuinfo_cluster ; } extern "C" { pub fn cpuinfo_get_package (index : u32) -> * const cpuinfo_package ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69782 [INFO] [stdout] | [INFO] [stdout] 3 | ... -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l4_caches () -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_ge... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70194 [INFO] [stdout] | [INFO] [stdout] 3 | ...nst cpuinfo_package ; } extern "C" { pub fn cpuinfo_get_uarch (index : u32) -> * const cpuinfo_uarch_info ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69856 [INFO] [stdout] | [INFO] [stdout] 3 | ...onst cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_processor (index : u32) -> * const cpuinfo_processor ; } extern "C" { pub fn cp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70280 [INFO] [stdout] | [INFO] [stdout] 3 | ...t cpuinfo_uarch_info ; } extern "C" { pub fn cpuinfo_get_l1i_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:69945 [INFO] [stdout] | [INFO] [stdout] 3 | ...const cpuinfo_processor ; } extern "C" { pub fn cpuinfo_get_core (index : u32) -> * const cpuinfo_core ; } extern "C" { pub fn cpuinfo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70365 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l1d_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70024 [INFO] [stdout] | [INFO] [stdout] 3 | ...* const cpuinfo_core ; } extern "C" { pub fn cpuinfo_get_cluster (index : u32) -> * const cpuinfo_cluster ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70450 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l2_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70109 [INFO] [stdout] | [INFO] [stdout] 3 | ...onst cpuinfo_cluster ; } extern "C" { pub fn cpuinfo_get_package (index : u32) -> * const cpuinfo_package ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70534 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l3_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70194 [INFO] [stdout] | [INFO] [stdout] 3 | ...nst cpuinfo_package ; } extern "C" { pub fn cpuinfo_get_uarch (index : u32) -> * const cpuinfo_uarch_info ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70618 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l4_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70280 [INFO] [stdout] | [INFO] [stdout] 3 | ...t cpuinfo_uarch_info ; } extern "C" { pub fn cpuinfo_get_l1i_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70702 [INFO] [stdout] | [INFO] [stdout] 3 | ...: u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_processors_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_cor... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70365 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l1d_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpui... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70765 [INFO] [stdout] | [INFO] [stdout] 3 | ...fo_get_processors_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_cores_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_cluste... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70450 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l2_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70823 [INFO] [stdout] | [INFO] [stdout] 3 | ...puinfo_get_cores_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_clusters_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_pack... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70884 [INFO] [stdout] | [INFO] [stdout] 3 | ...nfo_get_clusters_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_packages_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_uarc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70534 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l3_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70945 [INFO] [stdout] | [INFO] [stdout] 3 | ...info_get_packages_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_uarchs_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1i_c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70618 [INFO] [stdout] | [INFO] [stdout] 3 | ... const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_l4_cache (index : u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71004 [INFO] [stdout] | [INFO] [stdout] 3 | ...info_get_uarchs_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1i_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70702 [INFO] [stdout] | [INFO] [stdout] 3 | ...: u32) -> * const cpuinfo_cache ; } extern "C" { pub fn cpuinfo_get_processors_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_cor... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71067 [INFO] [stdout] | [INFO] [stdout] 3 | ..._get_l1i_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1d_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l2_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71130 [INFO] [stdout] | [INFO] [stdout] 3 | ..._get_l1d_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l2_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l3_c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70765 [INFO] [stdout] | [INFO] [stdout] 3 | ...fo_get_processors_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_cores_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_cluste... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71192 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_get_l2_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l3_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l4_c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70823 [INFO] [stdout] | [INFO] [stdout] 3 | ...puinfo_get_cores_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_clusters_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_pack... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71254 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_get_l3_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l4_caches_count () -> u32 ; } extern "C" { # [doc = " Returns uppe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70884 [INFO] [stdout] | [INFO] [stdout] 3 | ...nfo_get_clusters_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_packages_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_uarc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71316 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> u32 ; } extern "C" { # [doc = " Returns upper bound on cache size."] pub fn cpuinfo_get_max_cache_size () -> u32 ; } extern "C" {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:70945 [INFO] [stdout] | [INFO] [stdout] 3 | ...info_get_packages_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_uarchs_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1i_c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71425 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the logical processor that executes the current thread."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same logical processor for any time."] # [doc = " Callers should treat the result as only a hint, and be prepared to handle NULL return value."] pub fn cpuinfo_get_current_processor () -> * const cpuinfo_processor ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71004 [INFO] [stdout] | [INFO] [stdout] 3 | ...info_get_uarchs_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1i_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71813 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the core that executes the current thread."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same core for any time."] # [doc = " Callers should treat the result as only a hint, and be prepared to handle NULL return value."] pub fn cpuinfo_get_current_core () -> * const cpuinfo_core ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71067 [INFO] [stdout] | [INFO] [stdout] 3 | ..._get_l1i_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l1d_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l2_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:72165 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the microarchitecture index of the core that executes the current thread."] # [doc = " If the system does not support such identification, the function returns 0."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same type of core for any time."] # [doc = " Callers should treat the result as only a hint."] pub fn cpuinfo_get_current_uarch_index () -> u32 ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71130 [INFO] [stdout] | [INFO] [stdout] 3 | ..._get_l1d_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l2_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l3_c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:72590 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the microarchitecture index of the core that executes the current thread."] # [doc = " If the system does not support such identification, the function returns the user-specified default value."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same type of core for any time."] # [doc = " Callers should treat the result as only a hint."] pub fn cpuinfo_get_current_uarch_index_with_default (default_uarch_index : u32) -> u32 ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71192 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_get_l2_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l3_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l4_c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71254 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_get_l3_caches_count () -> u32 ; } extern "C" { pub fn cpuinfo_get_l4_caches_count () -> u32 ; } extern "C" { # [doc = " Returns uppe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71316 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> u32 ; } extern "C" { # [doc = " Returns upper bound on cache size."] pub fn cpuinfo_get_max_cache_size () -> u32 ; } extern "C" {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71425 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the logical processor that executes the current thread."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same logical processor for any time."] # [doc = " Callers should treat the result as only a hint, and be prepared to handle NULL return value."] pub fn cpuinfo_get_current_processor () -> * const cpuinfo_processor ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:71813 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the core that executes the current thread."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same core for any time."] # [doc = " Callers should treat the result as only a hint, and be prepared to handle NULL return value."] pub fn cpuinfo_get_current_core () -> * const cpuinfo_core ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:72165 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the microarchitecture index of the core that executes the current thread."] # [doc = " If the system does not support such identification, the function returns 0."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same type of core for any time."] # [doc = " Callers should treat the result as only a hint."] pub fn cpuinfo_get_current_uarch_index () -> u32 ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/pytorch-cpuinfo-pieces-a70efb5a14c11406/out/cpuinfo.rs:3:72590 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Identify the microarchitecture index of the core that executes the current thread."] # [doc = " If the system does not support such identification, the function returns the user-specified default value."] # [doc = ""] # [doc = " There is no guarantee that the thread will stay on the same type of core for any time."] # [doc = " Callers should treat the result as only a hint."] pub fn cpuinfo_get_current_uarch_index_with_default (default_uarch_index : u32) -> u32 ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pytorch-cpuinfo-pieces` (lib) due to 39 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pytorch-cpuinfo-pieces` (lib test) due to 39 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "99986099069e0846927df9f9c2e85a610578fe524fa8ec3508d3b8bfa5568e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99986099069e0846927df9f9c2e85a610578fe524fa8ec3508d3b8bfa5568e05", kill_on_drop: false }` [INFO] [stdout] 99986099069e0846927df9f9c2e85a610578fe524fa8ec3508d3b8bfa5568e05