feat: dynamically-sized CpuSet #2590
Draft
Cirrus CI / Linux aarch64 musl
failed
Feb 2, 2025 in 2m 54s
Task Summary
Instruction build failed in 02:45
Details
✅ 00:03 clone
✅ 00:03 setup
❌ 02:45 build
| ^^^^^^^^^^^ help: a type alias with a similar name exists: `libc_cpu_set`
error: unused imports: `SysconfVar`, `sysconf`
--> src/sched.rs:164:25
|
164 | use crate::unistd::{sysconf, Pid, SysconfVar};
| ^^^^^^^ ^^^^^^^^^^
|
note: the lint level is defined here
--> src/lib.rs:51:9
|
51 | #![deny(unused)]
| ^^^^^^
= note: `#[deny(unused_imports)]` implied by `#[deny(unused)]`
error[E0204]: the trait `Copy` may not be implemented for this type
--> src/sched.rs:188:21
|
188 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
| ^^^^
...
191 | Dynamic(Vec<libc_cpu_set>),
| ----------------- this field does not implement `Copy`
|
= note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
Some errors have detailed explanations: E0204, E0412.
For more information about an error, try `rustc --explain E0204`.
The following warnings were emitted during compilation:
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
warning: cargo:rustc-check-cfg requires -Zcheck-cfg=output flag
error: could not compile `nix` due to 4 previous errors
Exit status: 101
Loading