• Bug#1102386: scaphandre: FTBFS: [ERROR] (mdbook::utils): Caused By: Dup

    From Santiago Vila@21:1/5 to All on Tue Apr 8 15:00:01 2025
    Package: src:scaphandre
    Version: 1.0.2-3
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --with-linktree
    dh_auto_clean --buildsystem=rust -O--with-linktree
    /usr/share/dh-rust/bin/cargo clean
    debian cargo wrapper: options, profiles, parallel, lto: ['parallel=1'] [] ['-j1'] 0
    debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 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--with-linktree
    dh_clean -XCargo.toml.orig -O--with-linktree
    debian/rules binary
    dh binary --with-linktree
    dh_update_autotools_config -O--with-linktree
    dh_autoreconf -O--with-linktree

    [... snipped ...]

    --> /<<PKGBUILDDIR>>/debian/cargo_registry/ordered-float-4.2.2/src/lib.rs:2578:7
    |
    2578 | #[cfg(feature = "proptest")]
    | ^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `bytemuck`, `default`, `rand`, `randtest`, `serde`, and `std`
    = help: consider adding `proptest` as a feature in `Cargo.toml`
    = 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 value: `arbitrary`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/ordered-float-4.2.2/src/lib.rs:2611:7
    |
    2611 | #[cfg(feature = "arbitrary")]
    | ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `bytemuck`, `default`, `rand`, `randtest`, `serde`, and `std`
    = help: consider adding `arbitrary` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

    warning: `ordered-float` (lib) generated 8 warnings
    Compiling scaphandre v1.0.2 (/<<PKGBUILDDIR>>)
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=scaphand [too-long-redacted] tive=/usr/lib/x86_64-linux-gnu`
    warning: unexpected `cfg` condition value: `riemann`
    --> src/exporters/mod.rs:13:7
    |
    13 | #[cfg(feature = "riemann")]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `riemann` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
    = note: `#[warn(unexpected_cfgs)]` on by default

    warning: unexpected `cfg` condition value: `warpten`
    --> src/exporters/mod.rs:17:7
    |
    17 | #[cfg(feature = "warpten")]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `warpten` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:28:7
    |
    28 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/json.rs:398:19
    |
    398 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/json.rs:404:23
    |
    404 | #[cfg(not(feature = "containers"))]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    src/exporters/utils.rs:7:7
    |
    7 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/utils.rs:128:7
    |
    128 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/utils.rs:137:7
    |
    137 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:132:11
    |
    132 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:135:11
    |
    135 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:138:11
    |
    138 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:141:11
    |
    141 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:144:11
    |
    144 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:147:11
    |
    147 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:150:11
    |
    150 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:153:11
    |
    153 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:156:11
    |
    156 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:159:11
    |
    159 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:233:11
    |
    233 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:835:11
    |
    835 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:854:11
    |
    854 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:176:15
    |
    176 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:223:19
    |
    223 | #[cfg(not(feature = "containers"))]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:874:15
    |
    874 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/exporters/mod.rs:934:19
    |
    934 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:13:32
    |
    13 | #[cfg(all(target_os = "linux", feature = "containers"))]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:210:11
    |
    210 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:212:11
    |
    212 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:214:11
    |
    214 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:225:19
    |
    225 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:227:19
    |
    227 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:229:19
    |
    229 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:416:11
    |
    416 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:437:11
    |
    437 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:247:15
    |
    247 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:249:15
    |
    249 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:251:15
    |
    251 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:264:19
    |
    264 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:266:19
    |
    266 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = 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 value: `containers`
    --> src/sensors/utils.rs:268:19
    |
    268 | #[cfg(feature = "containers")]
    | ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `containers` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

    warning: `scaphandre` (lib) generated 40 warnings
    Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=scaphandre [too-long-redacted] tive=/usr/lib/x86_64-linux-gnu`
    warning: unexpected `cfg` condition value: `riemann`
    --> src/main.rs:101:11
    |
    101 | #[cfg(feature = "riemann")]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `riemann` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
    = note: `#[warn(unexpected_cfgs)]` on by default

    warning: unexpected `cfg` condition value: `warpten`
    --> src/main.rs:105:11
    |
    105 | #[cfg(feature = "warpten")]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `warpten` as a feature in `Cargo.toml`
    = 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 value: `riemann`
    --> src/main.rs:261:15
    |
    261 | #[cfg(feature = "riemann")]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `riemann` as a feature in `Cargo.toml`
    = 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 value: `warpten`
    --> src/main.rs:265:15
    |
    265 | #[cfg(feature = "warpten")]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `hyper`, `isahc`, `json`, `prometheus`, `prometheuspush`, `qemu`, `serde`, `serde_json`, and `tokio`
    = help: consider adding `warpten` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

    warning: `scaphandre` (bin "scaphandre") generated 4 warnings
    Finished `release` profile [optimized] target(s) in 4m 01s
    debian/rules execute_after_dh_auto_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    cmark-gfm README.md > README.html
    cmark-gfm --to plaintext README.md > README.txt
    cmark-gfm CHANGELOG.md > CHANGELOG.html
    cmark-gfm --to plaintext CHANGELOG.md > CHANGELOG.txt
    mdbook build --dest-dir docs
    2025-04-08 11:46:00 [ERROR] (mdbook::utils): Error: Summary parsing failed for file="/<<PKGBUILDDIR>>/docs_src/SUMMARY.md"
    2025-04-08 11:46:00 [ERROR] (mdbook::utils): Caused By: Duplicate file in SUMMARY.md: "references/sensor-msr_rapl.md"
    make[1]: *** [debian/rules:57: execute_after_dh_auto_build] Error 101
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:44: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

    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:scaphandre, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NoisyCoil@21:1/5 to All on Thu Apr 24 00:30:01 2025
    This is a multi-part MIME message sent by reportbug.


    Source: scaphandre
    Followup-For: Bug #1102386
    X-Debbugs-Cc: noisycoil@tutanota.com
    Control: tags -1 + patch

    Came across this while doing other work, you will find a patch in attachment.

    Cheers!

    RnJvbSBiMDg5Y2Q2ZjA5MGI5YWQ1MGUyYjU3YTE3YjNjMDM0YWQyNDA3ZTA5IE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