• Bug#1098625: rust-clio: FTBFS: error: unexpected `cfg` condition value:

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:11 2025
    Package: src:rust-clio
    Version: 0.3.5-5
    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
    dh_auto_clean --buildsystem=rust
    /usr/share/dh-rust/bin/cargo clean
    debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 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_clean -XCargo.toml.orig
    debian/rules binary
    dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure --buildsystem=rust

    [... snipped ...]

    |
    27 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:137:28
    |
    137 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:143:32
    |
    143 | #[cfg(not(all(windows, feature = "wincon")))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:155:32
    |
    155 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:166:32
    |
    166 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:180:32
    |
    180 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:225:32
    |
    225 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:243:32
    |
    243 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:260:32
    |
    260 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:269:32
    |
    269 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:279:32
    |
    279 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:288:32
    |
    288 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `wincon`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/anstream-0.6.15/src/auto.rs:298:32
    |
    298 | #[cfg(all(windows, feature = "wincon"))]
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `auto`, `default`, and `test`
    = help: consider adding `wincon` 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: `anstream` (lib) generated 20 warnings
    Compiling syn v2.0.96
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=syn CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.96 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.96/Cargo.toml CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.
    ' CARGO_PKG_DESCRIPTION='Parser for Rust source code' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=syn CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/syn' CARGO_PKG_
    RUST_VERSION=1.61 CARGO_PKG_VERSION=2.0.96 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=96 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name syn --edition=2021 /<<PKGBUILDDIR>>/
    debian/cargo_registry/syn-2.0.96/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-i
    mpls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "
    derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "visit", "visit-mut"))' -C metadata=3eb56599bf86b28c -C extra-filename=-de98bed64e68c338 --out-dir /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L dependency=/<<
    PKGBUILDDIR>>/target/release/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-994c5f3504bf0702.rmeta --extern quote=/<<PKGBUILDDIR>>/target/release/deps/libquote-2fbb8a089d2ca160.rmeta --extern unicode_ident=/<<PKGBUILDDIR>>/
    target/release/deps/libunicode_ident-9b5fcf932bc04d9c.rmeta --cap-lints warn`
    Compiling clap_lex v0.7.4
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=clap_lex CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/clap_lex-0.7.4 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/clap_lex-0.7.4/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_
    DESCRIPTION='Minimal, flexible command line parser' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=clap_lex CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/clap-rs/clap' CARGO_PKG_
    RUST_VERSION=1.74 CARGO_PKG_VERSION=0.7.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name clap_lex --edition=2021 /<<
    PKGBUILDDIR>>/debian/cargo_registry/clap_lex-0.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=rust_2018_idioms '--w
    arn=clippy::zero_sized_map_values' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=
    clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_
    if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::
    negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--allow=clippy::multiple_bound_locations' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::
    lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=
    clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_
    collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_
    deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir'
    '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' '--allow=clippy::blocks_in_conditions' '--allow=clippy::assigning_clones' --check-cfg 'cfg(docsrs,
    test)' --check-cfg 'cfg(feature, values())' -C metadata=e2ff74567c6810a3 -C extra-filename=-95f76038645c424c --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<
    PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints warn --remap-path-prefix clio_0.3.5=/usr/share/cargo/registry/clio-0.3.5`
    Compiling same-file v1.0.6
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=same_file CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/same-file-1.0.6 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/same-file-1.0.6/Cargo.toml CARGO_PKG_AUTHORS='Andrew
    Gallant <jamslam@gmail.com>' CARGO_PKG_DESCRIPTION='A simple crate for determining whether two file paths point to the same file.
    ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/same-file' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=same-file CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/same-file' CARGO_PKG_RUST_
    VERSION='' CARGO_PKG_VERSION=1.0.6 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name same_file --edition=2018 /<<PKGBUILDDIR>>/
    debian/cargo_registry/same-file-1.0.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg '
    cfg(feature, values())' -C metadata=b1bece66f3ebcd51 -C extra-filename=-ed6be22f0066b2a1 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<PKGBUILDDIR
    /target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints warn --remap-path-prefix clio_0.3.5=/usr/share/cargo/registry/clio-0.3.5`
    warning: unused return value of `into_raw_fd` that must be used
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/same-file-1.0.6/src/unix.rs:23:13
    |
    23 | self.file.take().unwrap().into_raw_fd();
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: losing the raw file descriptor may leak resources
    = note: `#[warn(unused_must_use)]` on by default
    help: use `let _ = ...` to ignore the resulting value
    |
    23 | let _ = self.file.take().unwrap().into_raw_fd();
    | +++++++

    warning: `same-file` (lib) generated 1 warning
    Compiling strsim v0.10.0
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=strsim CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/strsim-0.10.0 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/strsim-0.10.0/Cargo.toml CARGO_PKG_AUTHORS='Danny Guo <danny@
    dannyguo.com>' CARGO_PKG_DESCRIPTION='Implementations of string similarity metrics. Includes Hamming, Levenshtein,
    OSA, Damerau-Levenshtein, Jaro, Jaro-Winkler, and Sørensen-Dice.
    ' CARGO_PKG_HOMEPAGE='https://github.com/dguo/strsim-rs' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=strsim CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dguo/strsim-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=
    0.10.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=10 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name strsim --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/strsim-0.
    10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C
    metadata=920c1a979798e169 -C extra-filename=-2a1869807a988ae2 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-lin
    ux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints warn --remap-path-prefix clio_0.3.5=/usr/share/cargo/registry/clio-0.3.5`
    Compiling heck v0.4.1
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=heck CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/heck-0.4.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/heck-0.4.1/Cargo.toml CARGO_PKG_AUTHORS='Without Boats <woboats@gmail.
    ' CARGO_PKG_DESCRIPTION='heck is a case conversion library.' CARGO_PKG_HOMEPAGE='https://github.com/withoutboats/heck' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=heck CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY=
    'https://github.com/withoutboats/heck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.4.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --
    crate-name heck --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/heck-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=n
    o -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unicode", "unicode-segmentation"))' -C metadata=e67d6cc37905eb92 -C extra-filename=-585878ce6d6b1c96 --out-dir /<<PKGBUILDDIR>
    /target/release/deps -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints warn`
    Compiling fastrand v2.1.1
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=fastrand CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/fastrand-2.1.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/fastrand-2.1.1/Cargo.toml CARGO_PKG_AUTHORS='Stjepan Glavina <
    stjepang@gmail.com>' CARGO_PKG_DESCRIPTION='A simple and fast random number generator' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=fastrand CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://
    github.com/smol-rs/fastrand' CARGO_PKG_RUST_VERSION=1.36 CARGO_PKG_VERSION=2.1.1 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-
    name fastrand --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/fastrand-2.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C e
    mbed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=06e9ea814baf4603 -C extra-filename=-d47806c45a8af541 --out-
    dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-
    lints warn --remap-path-prefix clio_0.3.5=/usr/share/cargo/registry/clio-0.3.5` warning: unexpected `cfg` condition value: `js`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/fastrand-2.1.1/src/global_rng.rs:202:5
    |
    202 | feature = "js"
    | ^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `alloc`, `default`, and `std`
    = help: consider adding `js` 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: `js`
    --> /<<PKGBUILDDIR>>/debian/cargo_registry/fastrand-2.1.1/src/global_rng.rs:214:9
    |
    214 | not(feature = "js")
    | ^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `alloc`, `default`, and `std`
    = help: consider adding `js` 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

    Compiling once_cell v1.20.2
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=once_cell CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.20.2 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.20.2/Cargo.toml CARGO_PKG_AUTHORS='Aleksey
    Kladov <aleksey.kladov@gmail.com>' CARGO_PKG_DESCRIPTION='Single assignment cells and lazy values.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=once_cell CARGO_PKG_README=README.md CARGO_PKG_
    REPOSITORY='https://github.com/matklad/once_cell' CARGO_PKG_RUST_VERSION=1.60 CARGO_PKG_VERSION=1.20.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=20 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/
    deps rustc --crate-name once_cell --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.20.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C
    opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-
    atomic", "race", "std", "unstable"))' -C metadata=4e5dd8ceba8082b1 -C extra-filename=-8e2b3f70f1d5350b --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/<<
    PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints warn --remap-path-prefix clio_0.3.5=/usr/share/cargo/registry/clio-0.3.5`
    warning: `fastrand` (lib) generated 2 warnings
    Compiling clap_derive v4.5.18
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=clap_derive CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/clap_derive-4.5.18 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/clap_derive-4.5.18/Cargo.toml CARGO_PKG_AUTHORS=''
    CARGO_PKG_DESCRIPTION='Parse command line argument by defining a struct, derive crate.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=clap_derive CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='
    https://github.com/clap-rs/clap' CARGO_PKG_RUST_VERSION=1.74 CARGO_PKG_VERSION=4.5.18 CARGO_PKG_VERSION_MAJOR=4 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=18 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --
    crate-name clap_derive --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/clap_derive-4.5.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynami
    c -C embed-bitcode=no --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '
    --warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_
    functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=
    clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--allow=clippy::multiple_bound_locations' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--wa
    rn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons'
    '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_
    of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::
    explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::c
    reate_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' '--allow=clippy::blocks_in_conditions' '--allow=clippy::assigning_clones' -C debug-
    assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("debug", "default", "deprecated", "raw-deprecated", "unstable-v5"))' -C metadata=41b8f9c5c73f1288 -C extra-filename=-7a3d8a37a06b9c71 --out-dir /<<
    PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern heck=/<<PKGBUILDDIR>>/target/release/deps/libheck-585878ce6d6b1c96.rlib --extern proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_
    macro2-994c5f3504bf0702.rlib --extern quote=/<<PKGBUILDDIR>>/target/release/deps/libquote-2fbb8a089d2ca160.rlib --extern syn=/<<PKGBUILDDIR>>/target/release/deps/libsyn-de98bed64e68c338.rlib --extern proc_macro --cap-lints warn`
    Compiling tempfile v3.15.0
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tempfile CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tempfile-3.15.0 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/tempfile-3.15.0/Cargo.toml CARGO_PKG_AUTHORS='Steven Allen <
    steven@stebalien.com>:The Rust Project Developers:Ashley Mannix <ashleymannix@live.com.au>:Jason White <me@jasonwhite.io>' CARGO_PKG_DESCRIPTION='A library for managing temporary files and directories.' CARGO_PKG_HOMEPAGE='https://stebalien.com/projects/
    tempfile-rs/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=tempfile CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Stebalien/tempfile' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=3.15.0 CARGO_PKG_
    VERSION_MAJOR=3 CARGO_PKG_VERSION_MINOR=15 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name tempfile --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/tempfile
    -3.15.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="getrandom"' --check-cfg 'cfg(
    docsrs,test)' --check-cfg 'cfg(feature, values("default", "getrandom", "nightly"))' -C metadata=c4b83f726dfa4acb -C extra-filename=-a9e032f96f24bf5e --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu
    -C strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern cfg_if=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-0fa458f00ccdae76.
    rmeta --extern fastrand=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libfastrand-d47806c45a8af541.rmeta --extern getrandom=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libgetrandom-3a93f864bebca9c6.rmeta --e
    xtern once_cell=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libonce_cell-8e2b3f70f1d5350b.rmeta --extern rustix=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/librustix-0c3e6191677323fb.rmeta --cap-lints warn --remap-
    path-prefix clio_0.3.5=/usr/share/cargo/registry/clio-0.3.5`
    Compiling clap_builder v4.5.23
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=clap_builder CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/clap_builder-4.5.23 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/clap_builder-4.5.23/Cargo.toml CARGO_PKG_AUTHORS=''
    CARGO_PKG_DESCRIPTION='A simple to use, efficient, and full-featured Command Line Argument Parser' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=clap_builder CARGO_PKG_README=README.md CARGO_PKG_
    REPOSITORY='https://github.com/clap-rs/clap' CARGO_PKG_RUST_VERSION=1.74 CARGO_PKG_VERSION=4.5.23 CARGO_PKG_VERSION_MAJOR=4 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=23 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps
    rustc --crate-name clap_builder --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/clap_builder-4.5.23/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,li
    nk -C opt-level=3 -C embed-bitcode=no --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=
    unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::semicolon_if_nothing_returned' '--warn=
    clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_
    ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--allow=clippy::multiple_bound_locations' '--warn=clipp

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Feb 22 10:20:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sat, 22 Feb 2025 09:09:16 +0000
    with message-id <E1tllVc-008e1M-O9@fasolo.debian.org>
    and subject line Bug#1098625: fixed in rust-clio 0.3.5-6
    has caused the Debian Bug report #1098625,
    regarding rust-clio: FTBFS: error: unexpected `cfg` condition value: `http`
    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.)


    --
    1098625: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098625
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:29:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-119.3 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,GMAIL,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 173; hammy, 150; neutral, 597; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debi