Package: src:lintian-brush
Version: 0.160
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 python3,bash_completion --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if test -f Cargo.lock.saved; then mv Cargo.lock.saved Cargo.lock; fi
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3,bash_completion --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild

[... snipped ...]

       Fresh want v0.3.0
       Fresh deb822-lossless v0.2.3
       Fresh openssl v0.10.70
       Fresh generic-array v0.14.7
       Fresh crossbeam-utils v0.8.19
       Fresh serde_json v1.0.139
       Fresh httparse v1.8.0
       Fresh debversion v0.4.4
       Fresh futures-channel v0.3.31
       Fresh inotify-sys v0.1.5
       Fresh tower-service v0.3.3
       Fresh same-file v1.0.6
       Fresh bitflags v1.3.2
       Fresh linux-raw-sys v0.4.14
       Fresh openssl-probe v0.1.2
       Fresh native-tls v0.2.13
       Fresh rustix v0.38.37
       Fresh inotify v0.9.6
       Fresh walkdir v2.5.0
       Fresh hyper v1.5.2
       Fresh crossbeam-channel v0.5.14
       Fresh unicode-linebreak v0.1.4
       Fresh filetime v0.2.24
       Fresh getrandom v0.2.15
       Fresh strsim v0.10.0
       Fresh unicode-width v0.1.14
       Fresh clap_lex v0.7.4
       Fresh smawk v0.3.2
       Fresh fastrand v2.1.1
       Fresh tempfile v3.15.0
       Fresh textwrap v0.16.1
   Compiling clap_builder v4.5.23
     Running `rustc --crate-name clap_builder --edition=2021 
/usr/share/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,link -C embed-bitcode=no -C debuginfo=2 
--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=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' '--wa
 rn=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' --cfg 'feature="color"' --cfg 
'feature="error-context"' --cfg 'feature="help"' --cfg 'feature="std"' --cfg 
'feature="suggestions"' --cfg 'feature="usage"' --check-cfg 'cfg(docsrs,test)' 
--check-cfg 'cfg(feature, values("cargo", "color", "debug", "default", 
"deprecated", "env", "error-context", "help", "std", "string", "suggestions", 
"unicode", "unstable-doc", "unstable-ext", "unstable-styles", "unstable-v5", 
"usage", "wrap_help"))' -C metadata=48fea7592a35e9
 83 -C extra-filename=-c370cc57cbadf945 --out-dir 
/<<PKGBUILDDIR>>/target/debug/deps -L 
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
anstream=/<<PKGBUILDDIR>>/target/debug/deps/libanstream-2c140e12543ebf69.rmeta 
--extern 
anstyle=/<<PKGBUILDDIR>>/target/debug/deps/libanstyle-2b8dfcd1cbf18f17.rmeta 
--extern 
clap_lex=/<<PKGBUILDDIR>>/target/debug/deps/libclap_lex-4fc0a3753f56abf0.rmeta 
--extern 
strsim=/<<PKGBUILDDIR>>/target/debug/deps/libstrsim-d00432f11e4f3b18.rmeta 
--cap-lints allow`
       Fresh notify v6.1.1
       Fresh hyper-util v0.1.10
       Fresh syn v1.0.109
       Fresh tokio-native-tls v0.3.1
       Fresh crypto-common v0.1.6
       Fresh block-buffer v0.10.4
       Fresh http-body-util v0.1.2
       Fresh sync_wrapper v1.0.2
       Fresh clap_derive v4.5.18
       Fresh csv-core v0.1.11
       Fresh difflib v0.4.0
       Fresh rustls-pki-types v1.11.0
       Fresh whoami v1.5.2
       Fresh tower-layer v0.3.3
       Fresh lazy_static v1.5.0
       Fresh patchkit v0.2.1
       Fresh tower v0.5.2
       Fresh debian-changelog v0.2.0
       Fresh rustls-pemfile v2.2.0
       Fresh csv v1.3.0
   Compiling clap v4.5.23
     Running `rustc --crate-name clap --edition=2021 
/usr/share/cargo/registry/clap-4.5.23/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 debuginfo=2 
--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=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::expli
 cit_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' --cfg 'feature="color"' --cfg 
'feature="default"' --cfg 'feature="derive"' --cfg 'feature="error-context"' 
--cfg 'feature="help"' --cfg 'feature="std"' --cfg 'feature="suggestions"' 
--cfg 'feature="usage"' --check-cfg 'cfg(docsrs,test)' --check-cfg 
'cfg(feature, values("cargo", "color", "debug", "default", "deprecated", 
"derive", "env", "error-context", "help", "std", "string", "suggestions", 
"unicode", "unstable-derive-ui-tests", "unstable-ext", "unstable-styles", 
"usage",
  "wrap_help"))' -C metadata=ba835467ab5830c8 -C 
extra-filename=-79a13c46eb70ace1 --out-dir /<<PKGBUILDDIR>>/target/debug/deps 
-L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
clap_builder=/<<PKGBUILDDIR>>/target/debug/deps/libclap_builder-c370cc57cbadf945.rmeta
 --extern 
clap_derive=/<<PKGBUILDDIR>>/target/debug/deps/libclap_derive-75008886b392ee07.so
 --cap-lints allow`
       Fresh hyper-tls v0.6.0
       Fresh digest v0.10.7
       Fresh ctor v0.1.26
       Fresh dirty-tracker v0.3.0
       Fresh anyhow v1.0.95
       Fresh debian-control v0.1.39
       Fresh serde_urlencoded v0.7.1
       Fresh pyo3-filelike v0.3.0
       Fresh encoding_rs v0.8.35
       Fresh toml_datetime v0.6.8
       Fresh ipnet v2.11.0
       Fresh base64 v0.22.1
       Fresh cpufeatures v0.2.16
       Fresh mime v0.3.17
       Fresh winnow v0.6.26
       Fresh toml_edit v0.22.22
       Fresh reqwest v0.12.12
       Fresh sha1 v0.10.6
       Fresh breezyshim v0.1.227
       Fresh distro-info v0.4.0
   Compiling merge3 v0.2.0
     Running `rustc --crate-name merge3 --edition=2021 
/usr/share/cargo/registry/merge3-0.2.0/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 debuginfo=2 --cfg 
'feature="cli"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' 
--check-cfg 'cfg(feature, values("cli", "default", "patiencediff"))' -C 
metadata=4c4403267c3c798c -C extra-filename=-9a0b47d301e9ec10 --out-dir 
/<<PKGBUILDDIR>>/target/debug/deps -L 
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
clap=/<<PKGBUILDDIR>>/target/debug/deps/libclap-79a13c46eb70ace1.rmeta --extern 
difflib=/<<PKGBUILDDIR>>/target/debug/deps/libdifflib-9d5ea27f6f7c9d2e.rmeta 
--cap-lints allow`
       Fresh semver v1.0.23
       Fresh debian-copyright v0.1.27
       Fresh svp-client v0.2.0
       Fresh dep3 v0.1.28
       Fresh makefile-lossless v0.1.7
       Fresh env_filter v0.1.3
       Fresh configparser v3.0.3
       Fresh hex v0.4.3
       Fresh maplit v1.0.2
       Fresh humantime v2.1.0
       Fresh env_logger v0.11.6
   Compiling debian-analyzer v0.158.25 (/<<PKGBUILDDIR>>/analyzer)
     Running `rustc --crate-name debian_analyzer --edition=2021 
analyzer/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 debuginfo=2 --cfg 
'feature="default"' --cfg 'feature="merge3"' --cfg 'feature="python"' --cfg 
'feature="svp"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, 
values("cli", "default", "merge3", "python", "svp", "udd"))' -C 
metadata=dd180a59ca765f57 -C extra-filename=-a86fc316a6c377a5 --out-dir 
/<<PKGBUILDDIR>>/target/debug/deps -C 
incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L 
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
breezyshim=/<<PKGBUILDDIR>>/target/debug/deps/libbreezyshim-4fd57ba40009ecc0.rmeta
 --extern 
chrono=/<<PKGBUILDDIR>>/target/debug/deps/libchrono-9c502fe9f52310c0.rmeta 
--extern 
configparser=/<<PKGBUILDDIR>>/target/debug/deps/libconfigparser-45da2b8ace35c6ba.rmeta
 --extern deb822_lossless=/<<PKGBUILDDIR>>/target/d
 ebug/deps/libdeb822_lossless-13b8f90f2570aa8e.rmeta --extern 
debian_changelog=/<<PKGBUILDDIR>>/target/debug/deps/libdebian_changelog-a959f0459784d0b4.rmeta
 --extern 
debian_control=/<<PKGBUILDDIR>>/target/debug/deps/libdebian_control-7fbbfda59ab0ef56.rmeta
 --extern 
debian_copyright=/<<PKGBUILDDIR>>/target/debug/deps/libdebian_copyright-89c23a8396edb6cc.rmeta
 --extern 
debversion=/<<PKGBUILDDIR>>/target/debug/deps/libdebversion-2d8a8723322906f5.rmeta
 --extern 
dep3=/<<PKGBUILDDIR>>/target/debug/deps/libdep3-5c595355905c16a2.rmeta --extern 
difflib=/<<PKGBUILDDIR>>/target/debug/deps/libdifflib-9d5ea27f6f7c9d2e.rmeta 
--extern 
distro_info=/<<PKGBUILDDIR>>/target/debug/deps/libdistro_info-abf95ffdd4c2534b.rmeta
 --extern 
filetime=/<<PKGBUILDDIR>>/target/debug/deps/libfiletime-2feb26db04e50790.rmeta 
--extern hex=/<<PKGBUILDDIR>>/target/debug/deps/libhex-34fd02d920d70c19.rmeta 
--extern 
lazy_regex=/<<PKGBUILDDIR>>/target/debug/deps/liblazy_regex-a4401519728a6a85.rmeta
 --extern lazy_static=/<<PKG
 BUILDDIR>>/target/debug/deps/liblazy_static-3def9b366b945f76.rmeta --extern 
log=/<<PKGBUILDDIR>>/target/debug/deps/liblog-80b371625fe37e7a.rmeta --extern 
makefile_lossless=/<<PKGBUILDDIR>>/target/debug/deps/libmakefile_lossless-1bd25b3e794feac0.rmeta
 --extern 
maplit=/<<PKGBUILDDIR>>/target/debug/deps/libmaplit-769492bf984fdaba.rmeta 
--extern 
merge3=/<<PKGBUILDDIR>>/target/debug/deps/libmerge3-9a0b47d301e9ec10.rmeta 
--extern 
patchkit=/<<PKGBUILDDIR>>/target/debug/deps/libpatchkit-ce67ebfda66e46e0.rmeta 
--extern pyo3=/<<PKGBUILDDIR>>/target/debug/deps/libpyo3-1c93b2c7576749cb.rmeta 
--extern 
reqwest=/<<PKGBUILDDIR>>/target/debug/deps/libreqwest-d47879a75b31a15f.rmeta 
--extern 
semver=/<<PKGBUILDDIR>>/target/debug/deps/libsemver-b40ae10b87371bad.rmeta 
--extern 
serde=/<<PKGBUILDDIR>>/target/debug/deps/libserde-78e21e658f144a08.rmeta 
--extern 
serde_json=/<<PKGBUILDDIR>>/target/debug/deps/libserde_json-41924f0149678d70.rmeta
 --extern sha1=/<<PKGBUILDDIR>>/target/debug/deps/libsha1-a11cc1105
 ef3c0ca.rmeta --extern 
svp_client=/<<PKGBUILDDIR>>/target/debug/deps/libsvp_client-af6d8f18422c0c6d.rmeta
 --extern 
tempfile=/<<PKGBUILDDIR>>/target/debug/deps/libtempfile-ab246538be0ecbb0.rmeta 
--extern 
toml_edit=/<<PKGBUILDDIR>>/target/debug/deps/libtoml_edit-e6d908326d608f08.rmeta
 --extern url=/<<PKGBUILDDIR>>/target/debug/deps/liburl-a98a5bed97b4d057.rmeta 
-L native=/usr/lib/x86_64-linux-gnu`
warning: unexpected `cfg` condition value: `gil-refs`
   --> analyzer/src/lib.rs:187:9
    |
187 |         import_exception!(breezy.transport, NoSuchFile);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `merge3`, 
`python`, `svp`, and `udd`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = 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
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: unexpected `cfg` condition value: `gil-refs`
   --> analyzer/src/lib.rs:187:9
    |
187 |         import_exception!(breezy.transport, NoSuchFile);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `merge3`, 
`python`, `svp`, and `udd`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for 
more information about checking conditional configuration
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: `debian-analyzer` (lib) generated 2 warnings
   Compiling deb-transition-apply v0.158.0 (/<<PKGBUILDDIR>>/transition-apply)
     Running `rustc --crate-name deb_transition_apply --edition=2021 
transition-apply/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 debuginfo=2 --cfg 
'feature="cli"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, 
values("cli"))' -C metadata=5e5d72ce23997563 -C 
extra-filename=-0c543c06fe623d0f --out-dir /<<PKGBUILDDIR>>/target/debug/deps 
-C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L 
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
breezyshim=/<<PKGBUILDDIR>>/target/debug/deps/libbreezyshim-4fd57ba40009ecc0.rmeta
 --extern 
clap=/<<PKGBUILDDIR>>/target/debug/deps/libclap-79a13c46eb70ace1.rmeta --extern 
deb822_lossless=/<<PKGBUILDDIR>>/target/debug/deps/libdeb822_lossless-13b8f90f2570aa8e.rmeta
 --extern 
debian_analyzer=/<<PKGBUILDDIR>>/target/debug/deps/libdebian_analyzer-a86fc316a6c377a5.rmeta
 --extern debian_control=/<<PKGBUILDDIR>>/target/debug/
 deps/libdebian_control-7fbbfda59ab0ef56.rmeta --extern 
env_logger=/<<PKGBUILDDIR>>/target/debug/deps/libenv_logger-da08cf6d3ea4439d.rmeta
 --extern 
lazy_regex=/<<PKGBUILDDIR>>/target/debug/deps/liblazy_regex-a4401519728a6a85.rmeta
 --extern 
lazy_static=/<<PKGBUILDDIR>>/target/debug/deps/liblazy_static-3def9b366b945f76.rmeta
 --extern log=/<<PKGBUILDDIR>>/target/debug/deps/liblog-80b371625fe37e7a.rmeta 
--extern 
regex=/<<PKGBUILDDIR>>/target/debug/deps/libregex-bbcb33a44707f666.rmeta 
--extern 
svp_client=/<<PKGBUILDDIR>>/target/debug/deps/libsvp_client-af6d8f18422c0c6d.rmeta
 -L native=/usr/lib/x86_64-linux-gnu`
warning: unused variable: `operator`
  --> transition-apply/src/lib.rs:30:12
   |
30 | fn compare(operator: &Comparison, value: &str, other: &str) -> bool {
   |            ^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_operator`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `value`
  --> transition-apply/src/lib.rs:30:35
   |
30 | fn compare(operator: &Comparison, value: &str, other: &str) -> bool {
   |                                   ^^^^^ help: if this is intentional, 
prefix it with an underscore: `_value`

warning: unused variable: `other`
  --> transition-apply/src/lib.rs:30:48
   |
30 | fn compare(operator: &Comparison, value: &str, other: &str) -> bool {
   |                                                ^^^^^ help: if this is 
intentional, prefix it with an underscore: `_other`

warning: `deb-transition-apply` (lib) generated 3 warnings
     Running `rustc --crate-name deb_transition_apply --edition=2021 
transition-apply/src/main.rs --error-format=json 
--json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin 
--emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="cli"' 
--check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("cli"))' -C 
metadata=89feaba51516c523 -C extra-filename=-6f512f98ddaf1870 --out-dir 
/<<PKGBUILDDIR>>/target/debug/deps -C 
incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L 
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
breezyshim=/<<PKGBUILDDIR>>/target/debug/deps/libbreezyshim-4fd57ba40009ecc0.rlib
 --extern clap=/<<PKGBUILDDIR>>/target/debug/deps/libclap-79a13c46eb70ace1.rlib 
--extern 
deb_transition_apply=/<<PKGBUILDDIR>>/target/debug/deps/libdeb_transition_apply-0c543c06fe623d0f.rlib
 --extern 
deb822_lossless=/<<PKGBUILDDIR>>/target/debug/deps/libdeb822_lossless-13b8f90f2570aa8e.rlib
 --extern debian_analyzer=/<<PKGBUILDDIR>>/target/debug/d
 eps/libdebian_analyzer-a86fc316a6c377a5.rlib --extern 
debian_control=/<<PKGBUILDDIR>>/target/debug/deps/libdebian_control-7fbbfda59ab0ef56.rlib
 --extern 
env_logger=/<<PKGBUILDDIR>>/target/debug/deps/libenv_logger-da08cf6d3ea4439d.rlib
 --extern 
lazy_regex=/<<PKGBUILDDIR>>/target/debug/deps/liblazy_regex-a4401519728a6a85.rlib
 --extern 
lazy_static=/<<PKGBUILDDIR>>/target/debug/deps/liblazy_static-3def9b366b945f76.rlib
 --extern log=/<<PKGBUILDDIR>>/target/debug/deps/liblog-80b371625fe37e7a.rlib 
--extern 
regex=/<<PKGBUILDDIR>>/target/debug/deps/libregex-bbcb33a44707f666.rlib 
--extern 
svp_client=/<<PKGBUILDDIR>>/target/debug/deps/libsvp_client-af6d8f18422c0c6d.rlib
 -L native=/usr/lib/x86_64-linux-gnu`
warning: unused import: `self`
 --> transition-apply/src/main.rs:2:31
  |
2 | use breezyshim::workingtree::{self, WorkingTree};
  |                               ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `debian_analyzer::control::TemplatedControlEditor`
 --> transition-apply/src/main.rs:6:5
  |
6 | use debian_analyzer::control::TemplatedControlEditor;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused variable: `allow_reformatting`
   --> transition-apply/src/main.rs:183:9
    |
183 |     let allow_reformatting = allow_reformatting.unwrap_or(false);
    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with 
an underscore: `_allow_reformatting`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: variable does not need to be mutable
   --> transition-apply/src/main.rs:152:9
    |
152 |     let mut svp = Reporter::new(versions_dict());
    |         ----^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: `deb-transition-apply` (bin "deb-transition-apply") generated 4 
warnings (run `cargo fix --bin "deb-transition-apply"` to apply 3 suggestions)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.83s
Copying rust artifact from target/debug/deb-transition-apply to 
build/scripts-3.13/deb-transition-apply
PYTHONPATH=/<<PKGBUILDDIR>>/py python3 -m unittest 
lintian_brush.tests.test_suite
failed to open trace file: [Errno 13] Permission denied: 
'/you-should-use-TestCaseInTempDir-if-you-need-a-log-file'
................................................................................
----------------------------------------------------------------------
Ran 80 tests in 1.533s

OK
PYTHONPATH=/<<PKGBUILDDIR>>/py cargo test 
   Compiling pyo3-build-config v0.22.6
   Compiling pyo3-macros-backend v0.22.6
   Compiling pyo3-ffi v0.22.6
   Compiling pyo3 v0.22.6
   Compiling pyo3-macros v0.22.6
   Compiling deb822-lossless v0.2.3
   Compiling debversion v0.4.4
   Compiling debian-control v0.1.39
   Compiling clap v4.5.23
   Compiling debian-changelog v0.2.0
   Compiling pyo3-filelike v0.3.0
   Compiling breezyshim v0.1.227
   Compiling debian-copyright v0.1.27
   Compiling merge3 v0.2.0
   Compiling dep3 v0.1.28
   Compiling debian-analyzer v0.158.25 (/<<PKGBUILDDIR>>/analyzer)
warning: unexpected `cfg` condition value: `gil-refs`
   --> analyzer/src/lib.rs:187:9
    |
187 |         import_exception!(breezy.transport, NoSuchFile);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `merge3`, 
`python`, `svp`, and `udd`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = 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
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: unexpected `cfg` condition value: `gil-refs`
   --> analyzer/src/lib.rs:187:9
    |
187 |         import_exception!(breezy.transport, NoSuchFile);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `merge3`, 
`python`, `svp`, and `udd`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for 
more information about checking conditional configuration
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: `debian-analyzer` (lib) generated 2 warnings
   Compiling lintian-brush v0.158.19 (/<<PKGBUILDDIR>>/lintian-brush)
   Compiling lzma-sys v0.1.20
   Compiling debian-watch v0.2.8
warning: unexpected `cfg` condition value: `gil-refs`
   --> lintian-brush/src/lib.rs:465:5
    |
465 |     import_exception!(debmutate.reformatting, FormattingUnpreservable);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `python`, and 
`svp`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = 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
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: unexpected `cfg` condition value: `gil-refs`
   --> lintian-brush/src/lib.rs:465:5
    |
465 |     import_exception!(debmutate.reformatting, FormattingUnpreservable);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `python`, and 
`svp`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for 
more information about checking conditional configuration
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: unexpected `cfg` condition value: `gil-refs`
   --> lintian-brush/src/lib.rs:466:5
    |
466 |     import_exception!(debian.changelog, ChangelogCreateError);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `cli`, `default`, `python`, and 
`svp`
    = note: using a cfg inside a macro will use the cfgs from the destination 
crate and not the ones from the defining crate
    = help: try referring to `$crate::impl_exception_boilerplate` crate for 
guidance on how handle this unexpected cfg
    = help: the macro `$crate::impl_exception_boilerplate` may come from an old 
version of the `pyo3` crate, try updating your dependency with `cargo update -p 
pyo3`
    = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for 
more information about checking conditional configuration
    = note: this warning originates in the macro 
`$crate::impl_exception_boilerplate` which comes from the expansion of the 
macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for 
more info)

warning: `lintian-brush` (lib) generated 4 warnings (1 duplicate)
   Compiling r-description v0.3.1
   Compiling upstream-ontologist v0.2.1
   Compiling buildlog-consultant v0.1.1
   Compiling xz2 v0.1.7
   Compiling debian-analyzer v0.158.25
   Compiling ognibuild v0.0.32
   Compiling multiarch-hints v0.158.0 (/<<PKGBUILDDIR>>/multiarch-hints)
   Compiling scrub-obsolete v0.158.0 (/<<PKGBUILDDIR>>/scrub-obsolete)
   Compiling debianize v0.158.0 (/<<PKGBUILDDIR>>/debianize)
warning: unused import: `crate::names::upstream_name_to_debian_source_name as 
source_name_from_upstream_name`
 --> debianize/src/lib.rs:1:5
  |
1 | use crate::names::upstream_name_to_debian_source_name as 
source_name_from_upstream_name;
  |     
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `find_wnpp_bugs_harder`
  --> debianize/src/lib.rs:16:29
   |
16 | use debian_analyzer::wnpp::{find_wnpp_bugs_harder, BugKind};
   |                             ^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `summarize_upstream_metadata`
  --> debianize/src/lib.rs:24:24
   |
24 |     get_upstream_info, summarize_upstream_metadata, ProviderError, 
UpstreamMetadata,
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `ognibuild::dependencies::debian::DebianDependency`
  --> debianize/src/fixer.rs:10:5
   |
10 | use ognibuild::dependencies::debian::DebianDependency;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `ognibuild::dependency::Dependency`
  --> debianize/src/fixer.rs:11:5
   |
11 | use ognibuild::dependency::Dependency;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `Binary`
  --> debianize/src/processors.rs:10:32
   |
10 | use debian_control::lossless::{Binary, Control, Source};
   |                                ^^^^^^

warning: unused variable: `phase`
  --> debianize/src/fixer.rs:81:42
   |
81 |     fn fix(&self, problem: &dyn Problem, phase: &Phase) -> Result<bool, 
InterimError<Error>> {
   |                                          ^^^^^ help: if this is 
intentional, prefix it with an underscore: `_phase`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `wt`
   --> debianize/src/lib.rs:435:5
    |
435 |     wt: &WorkingTree,
    |     ^^ help: if this is intentional, prefix it with an underscore: `_wt`

warning: unused variable: `subpath`
   --> debianize/src/lib.rs:436:5
    |
436 |     subpath: &Path,
    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: 
`_subpath`

warning: unused variable: `upstream_branch`
   --> debianize/src/lib.rs:437:5
    |
437 |     upstream_branch: Option<&dyn Branch>,
    |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_upstream_branch`

warning: unused variable: `upstream_subpath`
   --> debianize/src/lib.rs:438:5
    |
438 |     upstream_subpath: Option<&Path>,
    |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_upstream_subpath`

warning: unused variable: `preferences`
   --> debianize/src/lib.rs:439:5
    |
439 |     preferences: &DebianizePreferences,
    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_preferences`

warning: unused variable: `version`
   --> debianize/src/lib.rs:440:5
    |
440 |     version: Option<&str>,
    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: 
`_version`

warning: unused variable: `upstream_metadata`
   --> debianize/src/lib.rs:441:5
    |
441 |     upstream_metadata: &UpstreamMetadata,
    |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_upstream_metadata`

warning: struct `ResetOnFailure` is never constructed
   --> debianize/src/lib.rs:455:19
    |
455 | pub(crate) struct ResetOnFailure<'a>(&'a WorkingTree, PathBuf);
    |                   ^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

warning: associated function `new` is never used
   --> debianize/src/lib.rs:458:12
    |
457 | impl<'a> ResetOnFailure<'a> {
    | --------------------------- associated function in this implementation
458 |     pub fn new(wt: &'a WorkingTree, subpath: &Path) -> Result<Self, 
BrzError> {
    |            ^^^

warning: function `generic_get_source_name` is never used
   --> debianize/src/lib.rs:475:4
    |
475 | fn generic_get_source_name(
    |    ^^^^^^^^^^^^^^^^^^^^^^^

warning: function `import_metadata_from_path` is never used
   --> debianize/src/lib.rs:501:4
    |
501 | fn import_metadata_from_path(
    |    ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: field `buildsystem_subpath` is never read
  --> debianize/src/processors.rs:28:5
   |
19 | struct ProcessorContext<'a> {
   |        ---------------- field in this struct
...
28 |     buildsystem_subpath: PathBuf,
   |     ^^^^^^^^^^^^^^^^^^^

warning: `debianize` (lib) generated 19 warnings (run `cargo fix --lib -p 
debianize` to apply 6 suggestions)
   Compiling deb-transition-apply v0.158.0 (/<<PKGBUILDDIR>>/transition-apply)
warning: unused variable: `operator`
  --> transition-apply/src/lib.rs:30:12
   |
30 | fn compare(operator: &Comparison, value: &str, other: &str) -> bool {
   |            ^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_operator`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `value`
  --> transition-apply/src/lib.rs:30:35
   |
30 | fn compare(operator: &Comparison, value: &str, other: &str) -> bool {
   |                                   ^^^^^ help: if this is intentional, 
prefix it with an underscore: `_value`

warning: unused variable: `other`
  --> transition-apply/src/lib.rs:30:48
   |
30 | fn compare(operator: &Comparison, value: &str, other: &str) -> bool {
   |                                                ^^^^^ help: if this is 
intentional, prefix it with an underscore: `_other`

warning: `deb-transition-apply` (lib) generated 3 warnings
warning: value assigned to `tempdir` is never read
   --> debianize/src/main.rs:486:17
    |
486 |         let mut tempdir = None;
    |                 ^^^^^^^
    |
    = help: maybe it is overwritten before being read?
    = note: `#[warn(unused_assignments)]` on by default

warning: `debianize` (bin "debianize" test) generated 1 warning
warning: `debianize` (lib test) generated 19 warnings (19 duplicates)
warning: `debian-analyzer` (lib test) generated 2 warnings (2 duplicates)
warning: module `missing_build_dependency_for_dh__command` should have a snake 
case name
  --> 
/<<PKGBUILDDIR>>/target/debug/build/lintian-brush-c650eba986c0998d/out/fixer_tests.rs:93:5
   |
93 | mod missing_build_dependency_for_dh__command {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier 
to snake case: `missing_build_dependency_for_dh_command`
   |
   = note: `#[warn(non_snake_case)]` on by default

warning: `lintian-brush` (lib test) generated 5 warnings (4 duplicates)
   Compiling import-uncommitted v0.158.0 (/<<PKGBUILDDIR>>/import-uncommitted)
warning: `deb-transition-apply` (lib test) generated 3 warnings (3 duplicates)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 52s
     Running unittests src/lib.rs 
(target/debug/deps/deb_transition_apply-22edc9b74f3b3687)

running 0 tests

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

     Running unittests src/lib.rs 
(target/debug/deps/debian_analyzer-b20fde14391e8938)

running 162 tests
test abstract_control::tests::test_edit_control_debcargo ... ok
test abstract_control::tests::test_edit_control_regular ... ok
test abstract_control::tests::test_edit_source_ensure_build_depends ... ok
test benfile::tests::test_parse_benfile ... ok
test benfile::tests::test_simple_lex ... ok
test benfile::tests::test_simple_parse ... ok
test changelog::tests::test_find_previous_upload ... ok
test 
changelog::tests::test_only_changes_last_changelog_block::test_changes_to_last_only
 ... debian_analyzer-b20fde14391e8938: 
breezy/bzr/_dirstate_helpers_pyx.c:11215: 
__pyx_f_6breezy_3bzr_21_dirstate_helpers_pyx_update_entry: Assertion 
`PyTuple_Check(__pyx_v_details)' failed.
error: test failed, to rerun pass `-p debian-analyzer --lib`

Caused by:
  process didn't exit successfully: 
`/<<PKGBUILDDIR>>/target/debug/deps/debian_analyzer-b20fde14391e8938` (signal: 
6, SIGABRT: process abort signal)
make[2]: *** [Makefile:25: testsuite] Error 101
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: 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/202503/

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

Thanks.

Reply via email to