Source: rust-pipewire
Version: 0.8.0-4
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=rust-pipewire&ver=0.8.0-4

...
error[E0308]: mismatched types
   --> src/thread_loop.rs:142:43
    |
142 |             nix::sys::time::TimeSpec::new(abstime.tv_sec, abstime.tv_nsec)
    |             ----------------------------- ^^^^^^^^^^^^^^ expected `i64`, 
found `i32`
    |             |
    |             arguments to this function are incorrect
    |
note: associated function defined here
   --> /usr/share/cargo/registry/nix-0.27.1/src/sys/time.rs:339:18
    |
339 |     pub const fn new(seconds: time_t, nanoseconds: timespec_tv_nsec_t) -> 
Self {
    |                  ^^^
help: you can convert an `i32` to an `i64`
    |
142 |             nix::sys::time::TimeSpec::new(abstime.tv_sec.into(), 
abstime.tv_nsec)
    |                                                         +++++++

error[E0308]: mismatched types
   --> src/thread_loop.rs:152:25
    |
152 |                 tv_sec: abstime.tv_sec(),
    |                         ^^^^^^^^^^^^^^^^ expected `i32`, found `i64`

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

Reply via email to