Source: rust-interprocess
Version: 2.4.3-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=rust-interprocess&arch=armhf&ver=2.4.3-1&stamp=1787705916&raw=0

...
error: cannot construct `timespec` with struct literal syntax due to private 
fields
   --> src/os/unix/c_wrappers.rs:418:8
    |
418 |     Ok(libc::timespec { tv_sec, tv_nsec: d.subsec_nanos() as _ })
    |        ^^^^^^^^^^^^^^
    |
    = note: ...and other private field `__pad` that was not provided
help: consider using the `Default` trait
    |
418 -     Ok(libc::timespec { tv_sec, tv_nsec: d.subsec_nanos() as _ })
418 +     Ok(<libc::timespec as std::default::Default>::default())
    |

For more information about this error, try `rustc --explain E0602`.
warning: `interprocess` (lib) generated 1 warning
error: could not compile `interprocess` (lib) due to 1 previous error; 1 
warning emitted
...

Reply via email to