===> Building for dusage-0.3.6 Locking 1 package to latest compatible version Updating dusage v0.3.5 (/Users/pbulk/build/sysutils/dusage/work/dusage-0.3.6) -> v0.3.6 Compiling libc v0.2.147 Compiling rustix v0.38.3 Compiling errno v0.3.1 Compiling bitflags v2.3.3 Compiling is-terminal v0.4.9 Compiling utf8parse v0.2.1 Compiling anstyle-parse v0.2.1 Compiling anstyle-query v1.0.0 Compiling autocfg v1.1.0 Compiling anstyle v1.0.1 Compiling colorchoice v1.0.0 Compiling anstream v0.3.2 Compiling memoffset v0.7.1 Compiling serde v1.0.167 Compiling once_cell v1.18.0 Compiling clap_lex v0.5.0 Compiling strsim v0.10.0 Compiling clap_builder v4.3.11 Compiling clap v4.3.11 Compiling utf8-width v0.1.6 Compiling pin-utils v0.1.0 Compiling cfg-if v1.0.0 Compiling lazy_static v1.4.0 Compiling bitflags v1.3.2 Compiling static_assertions v1.1.0 Compiling nix v0.26.2 Compiling colored v2.0.4 Compiling byte-unit v4.0.19 Compiling autoclap v0.3.15 Compiling dusage v0.3.6 (/Users/pbulk/build/sysutils/dusage/work/dusage-0.3.6) error[E0308]: mismatched types --> src/stats.rs:23:44 | 23 | let size_disk = statvfs.blocks() * statvfs.fragment_size(); | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` error[E0277]: cannot multiply `u32` by `u64` --> src/stats.rs:23:42 | 23 | let size_disk = statvfs.blocks() * statvfs.fragment_size(); | ^ no implementation for `u32 * u64` | = help: the trait `Mul<u64>` is not implemented for `u32` = help: the following other types implement trait `Mul<Rhs>`: `&'a u32` implements `Mul<u32>` `&u32` implements `Mul<&u32>` `u32` implements `Mul<&u32>` `u32` implements `Mul<Duration>` `u32` implements `Mul` error[E0308]: mismatched types --> src/stats.rs:26:59 | 26 | let available_disk = statvfs.blocks_available() * statvfs.fragment_size(); | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` error[E0277]: cannot multiply `u32` by `u64` --> src/stats.rs:26:57 | 26 | let available_disk = statvfs.blocks_available() * statvfs.fragment_size(); | ^ no implementation for `u32 * u64` | = help: the trait `Mul<u64>` is not implemented for `u32` = help: the following other types implement trait `Mul<Rhs>`: `&'a u32` implements `Mul<u32>` `&u32` implements `Mul<&u32>` `u32` implements `Mul<&u32>` `u32` implements `Mul<Duration>` `u32` implements `Mul` error[E0308]: mismatched types --> src/stats.rs:27:49 | 27 | let free_disk = statvfs.blocks_free() * statvfs.fragment_size(); | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` error[E0277]: cannot multiply `u32` by `u64` --> src/stats.rs:27:47 | 27 | let free_disk = statvfs.blocks_free() * statvfs.fragment_size(); | ^ no implementation for `u32 * u64` | = help: the trait `Mul<u64>` is not implemented for `u32` = help: the following other types implement trait `Mul<Rhs>`: `&'a u32` implements `Mul<u32>` `&u32` implements `Mul<&u32>` `u32` implements `Mul<&u32>` `u32` implements `Mul<Duration>` `u32` implements `Mul` error[E0308]: mismatched types --> src/stats.rs:53:13 | 53 | size_disk, | ^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 53 | size_disk: size_disk.into(), | ++++++++++ +++++++ error[E0308]: mismatched types --> src/stats.rs:54:13 | 54 | used_disk, | ^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 54 | used_disk: used_disk.into(), | ++++++++++ +++++++ error[E0308]: mismatched types --> src/stats.rs:55:13 | 55 | available_disk, | ^^^^^^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 55 | available_disk: available_disk.into(), | +++++++++++++++ +++++++ error[E0308]: mismatched types --> src/stats.rs:59:13 | 59 | total_inodes, | ^^^^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 59 | total_inodes: total_inodes.into(), | +++++++++++++ +++++++ error[E0308]: mismatched types --> src/stats.rs:60:13 | 60 | used_inodes, | ^^^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 60 | used_inodes: used_inodes.into(), | ++++++++++++ +++++++ error[E0308]: mismatched types --> src/stats.rs:61:13 | 61 | available_inodes, | ^^^^^^^^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 61 | available_inodes: available_inodes.into(), | +++++++++++++++++ +++++++ Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `dusage` (lib) due to 12 previous errors *** Error code 101 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/dusage *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/dusage