[Pkg-rust-maintainers] Bug#1117373: rust-trackable: FTBFS: error: doctest failed, to rerun pass `--doc`

Santiago Vila sanvila at debian.org
Sun Oct 5 15:15:17 BST 2025


Package: src:rust-trackable
Version: 1.3.0-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/202510/

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-trackable, 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 = 

[... snipped ...]

     |            ^^^^^^^
     |
     = help: consider using a Cargo feature instead
     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
              [lints.rust]
              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `doc_cfg`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/src/parse.rs:1100:12
     |
1100 | #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
     |            ^^^^^^^
     |
     = help: consider using a Cargo feature instead
     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
              [lints.rust]
              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `doc_cfg`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/src/parse.rs:1116:12
     |
1116 | #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
     |            ^^^^^^^
     |
     = help: consider using a Cargo feature instead
     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
              [lints.rust]
              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `doc_cfg`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/src/parse.rs:1126:12
     |
1126 | #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
     |            ^^^^^^^
     |
     = help: consider using a Cargo feature instead
     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
              [lints.rust]
              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: method `inner` is never used
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/src/attr.rs:470:8
    |
466 | pub trait FilterAttrs<'a> {
    |           ----------- method in this trait
...
470 |     fn inner(self) -> Self::Ret;
    |        ^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

warning: field `0` is never read
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-1.0.109/src/expr.rs:1110:28
     |
1110 |     pub struct AllowStruct(bool);
     |                ----------- ^^^^
     |                |
     |                field in this struct
     |
     = help: consider removing this field

warning: `syn` (lib) generated 522 warnings (90 duplicates)
   Compiling trackable_derive v1.0.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=trackabl [too-long-redacted] rn proc_macro --cap-lints warn`
   Compiling trackable v1.3.0 (/<<PKGBUILDDIR>>)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=trackabl [too-long-redacted] stry=/usr/share/cargo/registry`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=trackabl [too-long-redacted] stry=/usr/share/cargo/registry`
     Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=your_own_e [too-long-redacted] stry=/usr/share/cargo/registry`
    Finished `test` profile [unoptimized + debuginfo] target(s) in 4.53s
     Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] eps/trackable-db6833aaba17bfd7`

running 5 tests
test error::test::it_works ... ok
test macros::test::track_assert_works ... ok
test macros::test::track_works ... ok
test test::it_works ... ok
test macros::test::track_try_unwrap_works - should panic ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s

   Doc-tests trackable
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=trackabl [too-long-redacted] alize"))' --error-format human`

running 18 tests
test src/error.rs - error::ErrorKindExt::cause (line 211) ... ok
test src/error.rs - error (line 5) ... ok
test src/error.rs - error::ErrorKindExt::error (line 195) ... ok
test src/error.rs - error::ErrorKindExt::takes_over (line 232) ... FAILED
test src/error.rs - error::TrackableError (line 331) - compile ... ok
test src/lib.rs - (line 6) - compile ... ok
test src/error.rs - error::TrackableError (line 282) ... ok
test src/lib.rs - History (line 206) ... ok
test src/lib.rs - Location::new (line 281) ... ok
test src/lib.rs - Trackable (line 84) ... FAILED
test src/macros.rs - macros::derive_traits_for_trackable_error_newtype (line 450) ... ok
test src/macros.rs - macros::track (line 9) ... FAILED
test src/macros.rs - macros::track_any_err (line 80) ... FAILED
test src/macros.rs - macros::track_assert (line 132) ... FAILED
test src/macros.rs - macros::track_assert_some (line 267) ... FAILED
test src/macros.rs - macros::track_panic (line 329) ... ok
test src/macros.rs - macros::track_try_unwrap (line 406) - compile ... ok
test src/macros.rs - macros::track_panic (line 349) ... FAILED

failures:

---- src/error.rs - error::ErrorKindExt::takes_over (line 232) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/error.rs:21:3:
assertion `left == right` failed
  left: "\nERROR: Kind1\nHISTORY:\n  [0] at src/error.rs:16\n  [1] at src/error.rs:19\n"
 right: "\nERROR: Kind1\nHISTORY:\n  [0] at src/error.rs:17\n  [1] at src/error.rs:20\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


---- src/lib.rs - Trackable (line 84) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/lib.rs:26:5:
assertion `left == right` failed
  left: "\nHISTORY:\n  [0] at src/lib.rs:22\n  [1] at src/lib.rs:23 -- Hello\n  [2] at src/lib.rs:24 -- Hello World!\n"
 right: "\nHISTORY:\n  [0] at src/lib.rs:23\n  [1] at src/lib.rs:24 -- Hello\n  [2] at src/lib.rs:25 -- Hello World!\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


---- src/macros.rs - macros::track (line 9) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/macros.rs:20:1:
assertion `left == right` failed
  left: "\nFailed (cause; something wrong)\nHISTORY:\n  [0] at src/macros.rs:9\n  [1] at src/macros.rs:14 -- message=\"This is a note about this location\"\n  [2] at src/macros.rs:18 -- Hello World!\n"
 right: "\nFailed (cause; something wrong)\nHISTORY:\n  [0] at src/macros.rs:10\n  [1] at src/macros.rs:15 -- message=\"This is a note about this location\"\n  [2] at src/macros.rs:19 -- Hello World!\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


---- src/macros.rs - macros::track_any_err (line 80) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/macros.rs:11:1:
assertion `left == right` failed
  left: "\nFailed (cause; receiving on a closed channel)\nHISTORY:\n  [0] at src/macros.rs:9 -- sender dropped\n"
 right: "\nFailed (cause; receiving on a closed channel)\nHISTORY:\n  [0] at src/macros.rs:10 -- sender dropped\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


---- src/macros.rs - macros::track_assert (line 132) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/macros.rs:17:1:
assertion `left == right` failed
  left: "\nFailed (cause; assertion failed: `a > 0.0 && b > 0.0`; a=1.0, b=-2.0)\nHISTORY:\n  [0] at src/macros.rs:8\n"
 right: "\nFailed (cause; assertion failed: `a > 0.0 && b > 0.0`; a=1.0, b=-2.0)\nHISTORY:\n  [0] at src/macros.rs:9\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


---- src/macros.rs - macros::track_assert_some (line 267) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/macros.rs:17:1:
assertion `left == right` failed
  left: "\nFailed (cause; assertion failed: `a.checked_sub(b).is_some()`)\nHISTORY:\n  [0] at src/macros.rs:8\n"
 right: "\nFailed (cause; assertion failed: `a.checked_sub(b).is_some()`)\nHISTORY:\n  [0] at src/macros.rs:9\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


---- src/macros.rs - macros::track_panic (line 349) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at src/macros.rs:10:1:
assertion `left == right` failed
  left: "\nFailed\nHISTORY:\n  [0] at src/macros.rs:9\n"
 right: "\nFailed\nHISTORY:\n  [0] at src/macros.rs:10\n"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /usr/src/rustc-1.88.0/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.88.0/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: rust_out::main
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.



failures:
    src/error.rs - error::ErrorKindExt::takes_over (line 232)
    src/lib.rs - Trackable (line 84)
    src/macros.rs - macros::track (line 9)
    src/macros.rs - macros::track_any_err (line 80)
    src/macros.rs - macros::track_assert (line 132)
    src/macros.rs - macros::track_assert_some (line 267)
    src/macros.rs - macros::track_panic (line 349)

test result: FAILED. 11 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.05s

error: doctest failed, to rerun pass `--doc`
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
--------------------------------------------------------------------------------



More information about the Pkg-rust-maintainers mailing list