Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1242205

Bug#1103275: rust-sudo-rs: Autopkgtests fail on 32-bit architectures

From Jeremy Bícha <jeremy.bicha@canonical.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103275: rust-sudo-rs: Autopkgtests fail on 32-bit architectures
Date 2025-04-15 22:40 +0200
Message-ID <KBVex-dMzy-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1103275: rust-sudo-rs: Autopkgtests fail on 32-bit architectures Jeremy Bícha <jeremy.bicha@canonical.com> - 2025-04-15 22:40 +0200

csiph-web