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

add volume_serial_number on disk for Windows #1252

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

add `volume_serial_number` on `disk` for Windows

6c3484d
Select commit
Loading
Failed to load commit list.
Open

add volume_serial_number on disk for Windows #1252

add `volume_serial_number` on `disk` for Windows
6c3484d
Select commit
Loading
Failed to load commit list.
Cirrus CI / rust nightly on freebsd 13 failed Apr 14, 2024 in 18s

Task Summary

Instruction test failed in 00:05

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:01 clone
✅ 00:10 setup
❌ 00:05 test

. $HOME/.cargo/env
#!/bin/sh
# rustup shell setup
# affix colons on either side of $PATH to simplify matching
case ":${PATH}:" in
    *:"$HOME/.cargo/bin":*)
        ;;
    *)
        # Prepending path in case a system-installed rustc needs to be overridden
        export PATH="$HOME/.cargo/bin:$PATH"
        ;;
esac
cargo check
    Updating crates.io index
 Downloading crates ...
  Downloaded bstr v1.9.1
  Downloaded either v1.10.0
  Downloaded crossbeam-utils v0.8.19
  Downloaded crossbeam-epoch v0.9.18
  Downloaded crossbeam-deque v0.8.5
  Downloaded cfg-if v1.0.0
  Downloaded serde v1.0.197
  Downloaded libc v0.2.153
  Downloaded rayon-core v1.12.1
  Downloaded rayon v1.10.0
  Downloaded regex-automata v0.4.6
  Downloaded memchr v2.7.2
   Compiling crossbeam-utils v0.8.19
   Compiling rayon-core v1.12.1
   Compiling libc v0.2.153
    Checking memchr v2.7.2
    Checking crossbeam-epoch v0.9.18
    Checking crossbeam-deque v0.8.5
    Checking either v1.10.0
    Checking regex-automata v0.4.6
    Checking rayon v1.10.0
    Checking bstr v1.9.1
    Checking cfg-if v1.0.0
    Checking sysinfo v0.30.9 (/tmp/cirrus-ci-build)
error[E0599]: no method named `volume_serial_number` found for struct `DiskInner` in the current scope
    --> src/common.rs:2433:20
     |
2433 |         self.inner.volume_serial_number()
     |                    ^^^^^^^^^^^^^^^^^^^^ method not found in `DiskInner`
     |
    ::: src/unix/freebsd/disk.rs:11:1
     |
11   | pub(crate) struct DiskInner {
     | --------------------------- method `volume_serial_number` not found for this struct

For more information about this error, try `rustc --explain E0599`.
error: could not compile `sysinfo` (lib) due to 1 previous error

Exit status: 101