Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dynamically-sized CpuSet #2590

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

feat: dynamically-sized CpuSet

bd00bba
Select commit
Loading
Failed to load commit list.
Draft

feat: dynamically-sized CpuSet #2590

feat: dynamically-sized CpuSet
bd00bba
Select commit
Loading
Failed to load commit list.
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