[Pkg-rust-maintainers] Bug#1103275: rust-sudo-rs: Autopkgtests fail on 32-bit architectures
Jeremy Bícha
jeremy.bicha at canonical.com
Tue Apr 15 21:25:29 BST 2025
Source: rust-sudo-rs
Version: 0.2.5-3
Severity: serious
Tags: upstream
The autopkgtests for rust-sudo-rs are failing on 32-bit architectures.
This is preventing the latest update from migrating to Testing.
I'm filing an upstream bug for this.
Autopkgtest log excerpt
======================
error[E0308]: arguments to this function are incorrect
--> src/system/time.rs:165:12
|
165 | Ok(ProcessCreateTime::new(spec.tv_sec, spec.tv_nsec))
| ^^^^^^^^^^^^^^^^^^^^^^ ----------- ------------
expected `i64`, found `i32`
| |
| expected `i64`, found `i32`
|
note: associated function defined here
--> src/system/time.rs:141:12
|
141 | pub fn new(secs: i64, nsecs: i64) -> ProcessCreateTime {
| ^^^ --------- ----------
help: you can convert an `i32` to an `i64`
|
165 | Ok(ProcessCreateTime::new(spec.tv_sec.into(), spec.tv_nsec))
| +++++++
help: you can convert an `i32` to an `i64`
|
165 | Ok(ProcessCreateTime::new(spec.tv_sec, spec.tv_nsec.into()))
| +++++++
For more information about this error, try `rustc --explain E0308`.
error: could not compile `sudo-rs` (lib test) due to 1 previous error
Thank you,
Jeremy Bícha
More information about the Pkg-rust-maintainers
mailing list