[Pkg-rust-maintainers] Bug#1077901: rust-input-linux FTBFS on 32-bit with 64-bit time_t

Adrian Bunk bunk at debian.org
Sun Aug 4 10:18:25 BST 2024


Source: rust-input-linux
Version: 0.6.0-1
Severity: important
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=rust-input-linux&ver=0.6.0-1

...
error[E0308]: mismatched types
  --> src/time.rs:32:13
   |
32 |             tv_usec: usecs as suseconds_t,
   |                      ^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32`

error[E0308]: mismatched types
  --> src/time.rs:61:22
   |
61 |         (self.0).tv_usec = value as suseconds_t
   |         ----------------   ^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32`
   |         |
   |         expected due to the type of this binding

For more information about this error, try `rustc --explain E0308`.
error: could not compile `input-linux` (lib) due to 2 previous errors
...



More information about the Pkg-rust-maintainers mailing list