add volume_serial_number
on disk
for Windows
#1252
Open
Cirrus CI / rust 1.74 on mac m1
failed
Apr 14, 2024 in 33s
Task Summary
Instruction test failed in 00:02
Details
✅ 00:01 clone
✅ 00:27 setup
❌ 00:02 test
source $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-deque v0.8.5
Downloaded cfg-if v1.0.0
Downloaded either v1.10.0
Downloaded crossbeam-utils v0.8.19
Downloaded crossbeam-epoch v0.9.18
Downloaded core-foundation-sys v0.8.6
Downloaded serde v1.0.197
Downloaded rayon v1.10.0
Downloaded regex-automata v0.4.6
Downloaded libc v0.2.153
Downloaded bstr v1.9.1
Downloaded rayon-core v1.12.1
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 regex-automata v0.4.6
Checking either v1.10.0
Checking cfg-if v1.0.0
Checking core-foundation-sys v0.8.6
Checking crossbeam-epoch v0.9.18
Checking crossbeam-deque v0.8.5
Checking bstr v1.9.1
Checking rayon v1.10.0
Checking sysinfo v0.30.9 (/private/var/folders/1z/65jd_97j40z81zjth6w6qbs40000gn/T/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/apple/disk.rs:22:1
|
22 | 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