[Pkg-rust-maintainers] Bug#1124210: rust-tracing-core: FTBFS: error: test failed, to rerun pass `--lib`
Santiago Vila
sanvila at debian.org
Sun Dec 28 18:27:08 GMT 2025
Package: src:rust-tracing-core
Version: 0.1.34-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
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 cannot 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-tracing-core, 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 -XCargo.toml.orig -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'],) {}
Compiling once_cell v1.21.3
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=once_cel [too-long-redacted] stry=/usr/share/cargo/registry`
Compiling tracing-core v0.1.34 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tracing_core CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tracing_core CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
warning: unnecessary parentheses around type
--> src/field.rs:1238:63
|
1238 | fn record_debug(&mut self, field: &Field, _: &dyn (crate::stdlib::fmt::Debug)) {
| ^ ^
|
note: the lint level is defined here
--> src/lib.rs:144:5
|
144 | unused_parens,
| ^^^^^^^^^^^^^
help: remove these parentheses
|
1238 - fn record_debug(&mut self, field: &Field, _: &dyn (crate::stdlib::fmt::Debug)) {
1238 + fn record_debug(&mut self, field: &Field, _: &dyn crate::stdlib::fmt::Debug) {
|
warning: unnecessary parentheses around type
--> src/field.rs:1257:63
|
1257 | fn record_debug(&mut self, field: &Field, _: &dyn (crate::stdlib::fmt::Debug)) {
| ^ ^
|
help: remove these parentheses
|
1257 - fn record_debug(&mut self, field: &Field, _: &dyn (crate::stdlib::fmt::Debug)) {
1257 + fn record_debug(&mut self, field: &Field, _: &dyn crate::stdlib::fmt::Debug) {
|
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=macros CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=local_dispatch_before_init CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
warning: `tracing-core` (lib test) generated 2 warnings (run `cargo fix --lib -p tracing-core --tests` to apply 2 suggestions)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=missed_register_callsite CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=dispatch CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=global_dispatch CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.30s
Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Core primitives for application-level tracing.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=tracing-core CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tokio-rs/tracing' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.34 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=34 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' /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/tracing_core-2a13b05605f1c94f`
running 20 tests
test dispatcher::test::default_dispatch ... ok
test dispatcher::test::default_no_subscriber ... ok
test dispatcher::test::dispatch_downcasts ... ok
test dispatcher::test::dispatch_is ... ok
test dispatcher::test::events_dont_infinite_loop ... ok
test dispatcher::test::spans_dont_infinite_loop ... ok
test field::test::empty_fields_are_skipped ... ok
test field::test::empty_value_set_is_empty ... ok
test field::test::fields_from_other_callsets_are_skipped ... ok
test field::test::index_of_field_in_fieldset_is_correct ... ok
test field::test::record_bytes ... ok
test field::test::record_debug_fn ... ok
test field::test::record_error ... ok
test field::test::sparse_value_sets_are_not_empty ... ok
test field::test::value_set_with_no_values_is_empty ... ok
test metadata::tests::filter_level_conversion ... ok
test metadata::tests::level_filter_is_usize_sized ... ok
test metadata::tests::level_filter_reprs ... ok
test metadata::tests::level_from_str ... ok
test field::test::value_sets_with_fields_from_other_callsites_are_empty ... FAILED
failures:
---- field::test::value_sets_with_fields_from_other_callsites_are_empty stdout ----
thread 'field::test::value_sets_with_fields_from_other_callsites_are_empty' (561) panicked at src/field.rs:1209:9:
assertion failed: valueset.is_empty()
stack backtrace:
0: __rustc::rust_begin_unwind
at /usr/src/rustc-1.91.1/library/std/src/panicking.rs:698:5
1: core::panicking::panic_fmt
at /usr/src/rustc-1.91.1/library/core/src/panicking.rs:75:14
2: core::panicking::panic
at /usr/src/rustc-1.91.1/library/core/src/panicking.rs:145:5
3: tracing_core::field::test::value_sets_with_fields_from_other_callsites_are_empty
at /usr/share/cargo/registry/tracing-core-0.1.34/src/field.rs:1209:9
4: tracing_core::field::test::value_sets_with_fields_from_other_callsites_are_empty::{{closure}}
at /usr/share/cargo/registry/tracing-core-0.1.34/src/field.rs:1201:63
5: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.91.1/library/core/src/ops/function.rs:250:5
6: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.91.1/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
failures:
field::test::value_sets_with_fields_from_other_callsites_are_empty
test result: FAILED. 19 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
error: test failed, to rerun pass `--lib`
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 failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-rust-maintainers
mailing list