add volume_serial_number
on disk
for Windows
#1252
Open
Cirrus CI / rust 1.74 on freebsd 13
failed
Apr 14, 2024 in 29s
Task Summary
Instruction test failed in 00:04
Details
✅ 00:01 clone
✅ 00:21 setup
❌ 00:04 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 crossbeam-utils v0.8.19
Downloaded cfg-if v1.0.0
Downloaded either v1.10.0
Downloaded crossbeam-deque v0.8.5
Downloaded crossbeam-epoch v0.9.18
Downloaded rayon-core v1.12.1
Downloaded serde v1.0.197
Downloaded memchr v2.7.2
Downloaded rayon v1.10.0
Downloaded bstr v1.9.1
Downloaded regex-automata v0.4.6
Downloaded libc v0.2.153
Compiling crossbeam-utils v0.8.19
Compiling rayon-core v1.12.1
Compiling libc v0.2.153
Checking regex-automata v0.4.6
Checking crossbeam-epoch v0.9.18
Checking crossbeam-deque v0.8.5
Checking either v1.10.0
Checking memchr v2.7.2
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 previous error
Exit status: 101
Loading