[Pkg-rust-maintainers] Bug#1134125: starship FTBFS: no method named `to_string_as` found for struct `systemstat::ByteSize` in the current scope
Adrian Bunk
bunk at debian.org
Thu Apr 16 19:35:47 BST 2026
Source: starship
Version: 1.22.1-8.1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=starship&ver=1.22.1-8.1%2Bb1
...
error[E0599]: no method named `to_string_as` found for struct `systemstat::ByteSize` in the current scope
--> src/modules/memory_usage.rs:13:32
|
13 | let mut display_bytes = bs.to_string_as(true);
| ^^^^^^^^^^^^
|
help: there is a method `to_string` with a similar name, but with different arguments
--> /usr/src/rustc-1.94.1/library/alloc/src/string.rs:2882:4
For more information about this error, try `rustc --explain E0599`.
warning: `starship` (lib) generated 1 warning
error: could not compile `starship` (lib) due to 1 previous error; 1 warning emitted
...
More information about the Pkg-rust-maintainers
mailing list