Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Debian Bug Tracking System
Thu, 05 Nov 2026 17:10
Bug#1114359: marked as done (rust-libsensors-sys: FTBFS: error: test failed, to rerun pass `--lib`)
Author: Debian Bug Tracking System
Date: Thu, 05 Nov 2026 17:10
Date: Thu, 05 Nov 2026 17:10
644 lines
32920 bytes
32920 bytes
This is a multi-part message in MIME format...
------------=_1793898543-3559983-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Thu, 05 Nov 2026 17:07:46 +0000
with message-id <E1xP0wE-00000004v42-2Lvr@fasolo.debian.org>
and subject line Bug#1114359: fixed in rust-libsensors-sys 0.2.0-2
has caused the Debian Bug report #1114359,
regarding rust-libsensors-sys: FTBFS: error: test failed, to rerun pass `--=
lib`
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1114359: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1114359
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1793898543-3559983-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 5 Sep 2025 18:25:45 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-121.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC
autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 47; hammy, 150; neutral, 320; spammy,
0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto,
0.000-+--Hx-authordomain:debian.org, 0.000-+--H*F:U*sanvila
Return-path: <sanvila@debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:44516)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1uub85-00Decq-0z
for submit@bugs.debian.org;
Fri, 05 Sep 2025 18:25:45 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:46422)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.94.2)
(envelope-from <sanvila@debian.org>)
id 1uub83-00BnjU-KJ
for submit@bugs.debian.org; Fri, 05 Sep 2025 18:25:43 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=7ySo8qhdGvcL5bLTmF73Um0RZpx3ualh5h40OMT+d4s=; b=kYPT/JUeNYTUsdzAHlmLcU5cgQ
9cOclTbT86eQWrP1gajR1IHKrrzV/4o+J02eHrI/2+4yrI0MlT54uu7S5EZ9jx/MD7fUeXHRvXGmA
zJ1FI/qO47OZxGdpL1otddlQDL7rOLYF6b64f8xwJ4bGniAtpjnCdEICyQV6JNln0bVROAf7tdjLT
GWHldGUL/k7A/dcupXCsxXTmYGIin/3Ho4d5ojbKm4bM1H4rA0Bjq3xKcB4z+1TZsbkJekeqh83+/
2d1pQQThOA/mPyedRt27VQ+0nhtWnY0W/c5ZRjxzgTudQsZ6iw79vV0Mr0oLKRkKSqm+m27dbkWYb
K0o8U0NQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1uub82-0042QL-0e
for submit@bugs.debian.org;
Fri, 05 Sep 2025 18:25:42 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: rust-libsensors-sys: FTBFS: error: test failed, to rerun pass `--lib`
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1uub82-0042QL-0e@paradis.debian.org>
Date: Fri, 05 Sep 2025 18:25:42 +0000
Delivered-To: submit@bugs.debian.org
Package: src:rust-libsensors-sys
Version: 0.2.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-libsensors-sys, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem cargo
dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
Removed 0 files
dh_autoreconf_clean -O--buildsystem=cargo
dh_clean -O--buildsystem=cargo
debian/rules binary
dh binary --buildsystem cargo
dh_update_autotools_config -O--buildsystem=cargo
dh_autoreconf -O--buildsystem=cargo
dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
dh_auto_build -O--buildsystem=cargo
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- test --all
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
warning: no edition set: defaulting to the 2015 edition while the latest is 2024
Compiling libsensors-sys v0.2.0 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_sc [too-long-redacted] KGBUILDDIR>>/target/debug/deps`
Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE='' CARG [too-long-redacted] 1acf8d3614c/build-script-build`
[libsensors-sys 0.2.0] cargo:rustc-link-lib=dylib=sensors
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libsenso [too-long-redacted] argo/registry -l dylib=sensors`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libsenso [too-long-redacted] argo/registry -l dylib=sensors`
warning: dereferencing a null pointer
--> src/sensors.rs:42:19
|
42 | unsafe { &(*(::std::ptr::null::<_IO_marker>()))._next as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
|
= note: `#[warn(deref_nullptr)]` on by default
warning: dereferencing a null pointer
--> src/sensors.rs:52:19
|
52 | unsafe { &(*(::std::ptr::null::<_IO_marker>()))._sbuf as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:62:19
|
62 | unsafe { &(*(::std::ptr::null::<_IO_marker>()))._pos as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:118:19
|
118 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:128:19
|
128 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:138:19
|
138 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:148:19
|
148 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:158:19
|
158 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:168:19
|
168 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:178:19
|
178 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:188:19
|
188 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:198:19
|
198 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:208:19
|
208 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:218:19
|
218 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:228:19
|
228 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:238:19
|
238 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:248:19
|
248 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:258:19
|
258 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:268:19
|
268 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:278:19
|
278 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:288:19
|
288 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:298:19
|
298 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:308:19
|
308 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:318:19
|
318 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:328:19
|
328 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:338:19
|
338 | unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad1 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:348:19
|
348 | unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad2 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:358:19
|
358 | unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad3 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:368:19
|
368 | unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad4 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:378:19
|
378 | unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:388:19
|
388 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:398:19
|
398 | unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:431:19
|
431 | unsafe { &(*(::std::ptr::null::<sensors_bus_id>())).type_ as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:441:19
|
441 | unsafe { &(*(::std::ptr::null::<sensors_bus_id>())).nr as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:472:19
|
472 | unsafe { &(*(::std::ptr::null::<sensors_chip_name>())).prefix as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:482:19
|
482 | unsafe { &(*(::std::ptr::null::<sensors_chip_name>())).bus as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:492:19
|
492 | unsafe { &(*(::std::ptr::null::<sensors_chip_name>())).addr as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:502:19
|
502 | unsafe { &(*(::std::ptr::null::<sensors_chip_name>())).path as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:693:19
|
693 | unsafe { &(*(::std::ptr::null::<sensors_feature>())).name as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:703:19
|
703 | unsafe { &(*(::std::ptr::null::<sensors_feature>())).number as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:713:19
|
713 | unsafe { &(*(::std::ptr::null::<sensors_feature>())).type_ as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:724:14
|
724 | &(*(::std::ptr::null::<sensors_feature>())).first_subfeature as *const _ as usize
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:735:19
|
735 | unsafe { &(*(::std::ptr::null::<sensors_feature>())).padding1 as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:767:19
|
767 | unsafe { &(*(::std::ptr::null::<sensors_subfeature>())).name as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:777:19
|
777 | unsafe { &(*(::std::ptr::null::<sensors_subfeature>())).number as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:787:19
|
787 | unsafe { &(*(::std::ptr::null::<sensors_subfeature>())).type_ as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:797:19
|
797 | unsafe { &(*(::std::ptr::null::<sensors_subfeature>())).mapping as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: dereferencing a null pointer
--> src/sensors.rs:807:19
|
807 | unsafe { &(*(::std::ptr::null::<sensors_subfeature>())).flags as *const _ as usize },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
warning: `libsensors-sys` (lib test) generated 48 warnings
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s
Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='nyantec GmbH <dev@nyantec.com>' CARGO_PKG_DESCRIPTION='Rust bindings to libsensors' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MirOS CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libsensors-sys CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libsensors-sys-9338a5cdf8ecf99a/out /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsensors_sys-e99298602913df06`
running 6 tests
thread 'sensors::bindgen_test_layout__IO_FILE' panicked at src/sensors.rs:118:18:
null pointer dereference occurred
stack backtrace:
0: rust_begin_unwind
at /usr/src/rustc-1.86.0/library/std/src/panicking.rs:695:5
1: core::panicking::panic_nounwind_fmt::runtime
at /usr/src/rustc-1.86.0/library/core/src/panicking.rs:117:22
2: core::panicking::panic_nounwind_fmt
at /usr/src/rustc-1.86.0/library/core/src/intrinsics/mod.rs:3886:9
3: core::panicking::panic_null_pointer_dereference
at /usr/src/rustc-1.86.0/library/core/src/panicking.rs:304:5
4: libsensors_sys::sensors::bindgen_test_layout__IO_FILE
at /usr/share/cargo/registry/libsensors-sys-0.2.0/src/sensors.rs:118:18
5: libsensors_sys::sensors::bindgen_test_layout__IO_FILE::{{closure}}
at /usr/share/cargo/registry/libsensors-sys-0.2.0/src/sensors.rs:106:34
6: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.86.0/library/core/src/ops/function.rs:250:5
7: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.86.0/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread caused non-unwinding panic. aborting.
error: test failed, to rerun pass `--lib`
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] SIGABRT: process abort signal)
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
------------=_1793898543-3559983-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1114359-close) by bugs.debian.org; 5 Nov 2026 17:07:47 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-112.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
FREEMAIL_FORGED_REPLYTO,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
PGPSIGNATURE,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 93; hammy, 150; neutral, 119; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:59568)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xP0wF-00EvhM-1V
for 1114359-close@bugs.debian.org;
Thu, 05 Nov 2026 17:07:47 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xP0wF-0075Bl-1F
for 1114359-close@bugs.debian.org;
Thu, 05 Nov 2026 17:07:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=pOK47uXoZFuQS6h7jfWcqBcd6nn9dkINYuP4w62YQAc=; b=M48PfsRQykaVaK8W0J1dCnfeP3
z1FDQZlTidmGORLOmjQ2w1WXV00YQF1xuCjHZoHCTd/4JlAqe/2fjBfRKy+QD7/lLnCNpL1wGtlsS
vI7vYq3nKuzBJOpo6NGv0sYLfP3n1rfTfmsxp4JxszzWdBRFA33ZWkw1srfCxRVfqjliQTfsHcso+
lW22gymmfrNf4dePGQnHfBbeSocPwOMMnDResxL5mk6BxhmsRUZsWsfaMxRP+fnGtwKkbIrICwSbV
VpFUG9h4+/STfrydZbzM0k+364j2X/3UQ35qz+Midb+98o/t10cm8+vgRfgxDSENthlCKH6ceZlt8
dhKBNNSA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xP0wE-00000004v42-2Lvr;
Thu, 05 Nov 2026 17:07:46 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Ayushman Bhattacharya <ayushman.elixpo@gmail.com>
To: 1114359-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: rust-libsensors-sys
Debian: DAK
Debian-Changes: rust-libsensors-sys_0.2.0-2_source.changes
Debian-Source: rust-libsensors-sys
Debian-Version: 0.2.0-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1114359: fixed in rust-libsensors-sys 0.2.0-2
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============5050984153113283832=="
Message-Id: <E1xP0wE-00000004v42-2Lvr@fasolo.debian.org>
Date: Thu, 05 Nov 2026 17:07:46 +0000
--===============5050984153113283832==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: rust-libsensors-sys
Source-Version: 0.2.0-2
Done: Ayushman Bhattacharya <ayushman.elixpo@gmail.com>
We believe that the bug you reported is fixed in the latest version of
rust-libsensors-sys, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1114359@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ayushman Bhattacharya <ayushman.elixpo@gmail.com> (supplier of updated rust-l=
ibsensors-sys package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 05 Nov 2026 10:51:56 -0600
Source: rust-libsensors-sys
Architecture: source
Version: 0.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian=
.net>
Changed-By: Ayushman Bhattacharya <ayushman.elixpo@gmail.com>
Closes: 1114359
Changes:
rust-libsensors-sys (0.2.0-2) unstable; urgency=3Dmedium
.
* Team upload.
* Compute field offsets with offset_of! in the layout tests instead of
dereferencing a null pointer, which now panics (Closes: #1114359).
Checksums-Sha1:
9152599f3daa88aed86f8e47f42967eca8bf509b 2290 rust-libsensors-sys_0.2.0-2.dsc
7d93015bac4fb67011ab8c8c0c0408111637e419 4824 rust-libsensors-sys_0.2.0-2.de=
bian.tar.xz
688ce92672824fd8ca7448864bf309a693cad949 8383 rust-libsensors-sys_0.2.0-2_so=
urce.buildinfo
Checksums-Sha256:
e28e08bef91f55ee441ad363886340c0cacc785cded8fe1814586ea5e223b2a9 2290 rust-l=
ibsensors-sys_0.2.0-2.dsc
c7a856635f90cf6146504ee0a7e0306e9e4eb9e2b41571f62867202a7c9c9513 4824 rust-l=
ibsensors-sys_0.2.0-2.debian.tar.xz
64f403070a1614615c622d2f35662b0186904a1e3c506d3528802b8ffb4b52e3 8383 rust-l=
ibsensors-sys_0.2.0-2_source.buildinfo
Files:
5ad81eced2b0d48b6fd0bf7e7d34a49a 2290 rust optional rust-libsensors-sys_0.2.=
0-2.dsc
d6a841e6647b7d7692b0ae2c0f2d3368 4824 rust optional rust-libsensors-sys_0.2.=
0-2.debian.tar.xz
3df6245a0f0e87105db74a03a3ac8adb 8383 rust optional rust-libsensors-sys_0.2.=
0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmrstEAACgkQ4n8s+EWM
L6REAg//cZVntovAJVwMBoS5optIz12q4uyiIvaklFd9zJZ+QlBt8Fu1s0yyvG5X
u0stMNESgUhSnGUjzyMzzGwpxMY2hrHAXXC6WVhe4wXfJRhGJ+LR2ups48qBw5PC
1aX8Un2K1U/sXnms4m8R/KhpVLtT7lb4LSo29NaOs1mi0PpSycpnxKSDfPQClHxq
OxZrVsof+JoxrfG8Xs7uy0LXnes7Xtig9tAU+ut5HWgAH1cd096Ag/CJ8VsQhaX7
YbuefjR/UWEe8hFUF5rxq0p7piOCfwRJv4drpELh5HyneHGHAJr7ff0iP4xv1Qwk
IDZp9YuXOV98EOK/xE/taxlGiyqaGHL//RGw8VfIc/mbOSSSLoKyacdh5SthimB6
Lduhwx1pdAlXdp1rflrhpWt/KMhbTSeXZocNJAIdde7JqAuo0LDtbYb5/85fnfc0
HH+s6yBV3bjNPGjodLVED84KUWyl+ywDuHCdipicaufgfTWJgmczRiZybRLaI8rC
3VDu1wvWs0kAdtNmiQv2BZ0XpyH0++NymSuPbv1gmPowby2zJNmXAUOq0sSLNfjn
DGb0M1xnibtPX/qZlQYYYrYtuzHkljluiO9d31roYRHOD+X/iGXcZ/I+EfmCcqZ9
KOTB6K4hZ8Ba2BTlOJFJj91yDQGMHE7CFjhy9LzWutGqWyu9IWg=3D
=3DnKV2
-----END PGP SIGNATURE-----
--===============5050984153113283832==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCauy34gAKCRCb9qggYcy5
IZopAP0ToYUQn6z/bNW8s5Sr2N9YpeWv5wvbLVEzzuikzeegSwEAqdMuHmImnOv2
6R70U1Muj57zxhA8A303E8KYSkQB+gk=
=4EON
-----END PGP SIGNATURE-----
--===============5050984153113283832==--
------------=_1793898543-3559983-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads