[INFO] fetching crate hwloc2 2.2.0... [INFO] testing hwloc2-2.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate hwloc2 2.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate hwloc2 2.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hwloc2 2.2.0 [INFO] finished tweaking crates.io crate hwloc2 2.2.0 [INFO] tweaked toml for crates.io crate hwloc2 2.2.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate hwloc2 2.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf5c5671b0faa10154f215f181e4c471a606cfbaac4e1d0bd3133ee35f8dd13 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecf5c5671b0faa10154f215f181e4c471a606cfbaac4e1d0bd3133ee35f8dd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf5c5671b0faa10154f215f181e4c471a606cfbaac4e1d0bd3133ee35f8dd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf5c5671b0faa10154f215f181e4c471a606cfbaac4e1d0bd3133ee35f8dd13", kill_on_drop: false }` [INFO] [stdout] ecf5c5671b0faa10154f215f181e4c471a606cfbaac4e1d0bd3133ee35f8dd13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7251229e45ffa7602e6d80c02d86d3648f87c8856f226a2141ff18ec9f471948 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7251229e45ffa7602e6d80c02d86d3648f87c8856f226a2141ff18ec9f471948", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling hwloc2 v2.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling errno v0.2.5 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.37s [INFO] running `Command { std: "docker" "inspect" "7251229e45ffa7602e6d80c02d86d3648f87c8856f226a2141ff18ec9f471948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7251229e45ffa7602e6d80c02d86d3648f87c8856f226a2141ff18ec9f471948", kill_on_drop: false }` [INFO] [stdout] 7251229e45ffa7602e6d80c02d86d3648f87c8856f226a2141ff18ec9f471948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11dfed4a5a8ac76df1c7befcc06332c7bc134e4d2ae866a609bbee70fce318ee [INFO] running `Command { std: "docker" "start" "-a" "11dfed4a5a8ac76df1c7befcc06332c7bc134e4d2ae866a609bbee70fce318ee", kill_on_drop: false }` [INFO] [stderr] Compiling hwloc2 v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/bind_to_last_core.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/bind_to_last_core.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let mut topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_to_last_core.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | topo.get_cpubind(CpuBindFlags::CPUBIND_PROCESS)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_to_last_core.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | topo.get_cpu_location(CpuBindFlags::CPUBIND_PROCESS)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_to_last_core.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | match topo.set_cpubind(cpuset, CpuBindFlags::CPUBIND_PROCESS) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_to_last_core.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | topo.get_cpubind(CpuBindFlags::CPUBIND_PROCESS)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_to_last_core.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | topo.get_cpu_location(CpuBindFlags::CPUBIND_PROCESS)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/bind_to_last_core.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | let core_depth = topo.depth_or_below_for_type(&ObjectType::Core).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Topology` in this scope [INFO] [stdout] --> examples/bind_to_last_core.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn last_core(topo: &mut Topology) -> &TopologyObject { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TopologyObject` in this scope [INFO] [stdout] --> examples/bind_to_last_core.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn last_core(topo: &mut Topology) -> &TopologyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/processor_cache.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/processor_cache.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/processor_cache.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | let pu = topo.objects_with_type(&ObjectType::PU).unwrap()[0]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/processor_cache.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ObjectType::L1Cache | ObjectType::L2Cache | ObjectType::L3Cache | ObjectType::L4Cache | ObjectType::L5Cache => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/processor_cache.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | ObjectType::L1Cache | ObjectType::L2Cache | ObjectType::L3Cache | ObjectType::L4Cache | ObjectType::L5Cache => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/processor_cache.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | ObjectType::L1Cache | ObjectType::L2Cache | ObjectType::L3Cache | ObjectType::L4Cache | ObjectType::L5Cache => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/processor_cache.rs:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | ObjectType::L1Cache | ObjectType::L2Cache | ObjectType::L3Cache | ObjectType::L4Cache | ObjectType::L5Cache => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/processor_cache.rs:18:101 [INFO] [stdout] | [INFO] [stdout] 18 | ObjectType::L1Cache | ObjectType::L2Cache | ObjectType::L3Cache | ObjectType::L4Cache | ObjectType::L5Cache => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/walk_tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/walk_tree.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Topology` in this scope [INFO] [stdout] --> examples/walk_tree.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_children(topo: &Topology, obj: &TopologyObject, depth: usize) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/walk_linear.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TopologyObject` in this scope [INFO] [stdout] --> examples/walk_tree.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_children(topo: &Topology, obj: &TopologyObject, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/walk_linear.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/number_of_packages.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/bind_threads.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/number_of_packages.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/number_of_packages.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | let package_depth = topo.depth_for_type(&ObjectType::Package); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDepthError` [INFO] [stdout] --> examples/number_of_packages.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Err(TypeDepthError::TypeDepthUnknown) => println!("*** The number of packages is unknown"), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TypeDepthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/bind_threads.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let topo = Arc::new(Mutex::new(Topology::new().unwrap())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/bind_threads.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | .objects_with_type(&ObjectType::Core) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_threads.rs:46:70 [INFO] [stdout] | [INFO] [stdout] 46 | let before = locked_topo.get_cpubind_for_thread(tid, CpuBindFlags::CPUBIND_THREAD); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_threads.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | .set_cpubind_for_thread(tid, bind_to, CpuBindFlags::CPUBIND_THREAD) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_threads.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | let after = locked_topo.get_cpubind_for_thread(tid, CpuBindFlags::CPUBIND_THREAD); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/bind_threads.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | let cores = (*topology).objects_with_type(&ObjectType::Core).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Topology` in this scope [INFO] [stdout] --> examples/bind_threads.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn cpuset_for_core(topology: &Topology, idx: usize) -> CpuSet { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CpuSet` in this scope [INFO] [stdout] --> examples/bind_threads.rs:73:56 [INFO] [stdout] | [INFO] [stdout] 73 | fn cpuset_for_core(topology: &Topology, idx: usize) -> CpuSet { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 5 previous errors [INFO] [stderr] error: could not compile `hwloc2` due to 3 previous errors [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/bind_process.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/bind_process.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_process.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | topo.get_cpubind_for_process(pid, CpuBindFlags::CPUBIND_PROCESS) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_process.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(l) = topo.get_cpu_location_for_process(pid, CpuBindFlags::CPUBIND_PROCESS) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_process.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | topo.set_cpubind_for_process(pid, cpuset, CpuBindFlags::CPUBIND_PROCESS) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_process.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | topo.get_cpubind_for_process(pid, CpuBindFlags::CPUBIND_PROCESS) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuBindFlags` [INFO] [stdout] --> examples/bind_process.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(l) = topo.get_cpu_location_for_process(pid, CpuBindFlags::CPUBIND_PROCESS) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CpuBindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> examples/bind_process.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | let core_depth = topo.depth_or_below_for_type(&ObjectType::Core).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Topology` in this scope [INFO] [stdout] --> examples/bind_process.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn last_core(topo: &mut Topology) -> &TopologyObject { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TopologyObject` in this scope [INFO] [stdout] --> examples/bind_process.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | fn last_core(topo: &mut Topology) -> &TopologyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 10 previous errors [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 11 previous errors [INFO] [stdout] error[E0463]: can't find crate for `hwloc` [INFO] [stdout] --> examples/support.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hwloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topology` [INFO] [stdout] --> examples/support.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let topo = Topology::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Topology` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc2` due to 3 previous errors [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11dfed4a5a8ac76df1c7befcc06332c7bc134e4d2ae866a609bbee70fce318ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11dfed4a5a8ac76df1c7befcc06332c7bc134e4d2ae866a609bbee70fce318ee", kill_on_drop: false }` [INFO] [stdout] 11dfed4a5a8ac76df1c7befcc06332c7bc134e4d2ae866a609bbee70fce318ee