[Pkg-rust-maintainers] Bug#1090301: rust-gix: FTBFS: error[E0283]: type annotations needed

Santiago Vila sanvila at debian.org
Mon Dec 16 17:52:54 GMT 2024


Package: src:rust-gix
Version: 0.64.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem cargo
   dh_update_autotools_config -O--buildsystem=cargo
   dh_autoreconf -O--buildsystem=cargo
   dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
   dh_auto_build -O--buildsystem=cargo
   dh_auto_test -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 
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', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu'],) {}
   Compiling libc v0.2.161

[... snipped ...]

warning: elided lifetime has a name
   --> /usr/share/cargo/registry/gix-config-0.38.0/src/file/access/read_only.rs:350:64
    |
346 |     pub fn sections_by_name_and_filter<'a>(
    |                                        -- lifetime `'a` declared here
...
350 |     ) -> Option<impl Iterator<Item = &file::Section<'event>> + '_> {
    |                                                                ^^ this elided lifetime gets resolved as `'a`

warning: elided lifetime has a name
   --> /usr/share/cargo/registry/gix-config-0.38.0/src/file/util.rs:121:82
    |
117 |     pub(crate) fn section_ids_by_name_and_subname<'a>(
    |                                                   -- lifetime `'a` declared here
...
121 |     ) -> Result<impl ExactSizeIterator<Item = SectionId> + DoubleEndedIterator + '_, lookup::existing::Error> {
    |                                                                                  ^^ this elided lifetime gets resolved as `'a`

warning: elided lifetime has a name
   --> /usr/share/cargo/registry/gix-config-0.38.0/src/file/util.rs:149:51
    |
146 |     pub(crate) fn section_ids_by_name<'a>(
    |                                       -- lifetime `'a` declared here
...
149 |     ) -> Result<impl Iterator<Item = SectionId> + '_, lookup::existing::Error> {
    |                                                   ^^ this elided lifetime gets resolved as `'a`

warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take`
   --> /usr/share/cargo/registry/gix-config-0.38.0/src/parse/nom/mod.rs:193:57
    |
193 |     preceded('\\', one_of(is_subsection_escapable_char).recognize()).parse_next(i)
    |                                                         ^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take`
   --> /usr/share/cargo/registry/gix-config-0.38.0/src/parse/nom/mod.rs:231:10
    |
231 |         .recognize()
    |          ^^^^^^^^^

warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take`
   --> /usr/share/cargo/registry/gix-config-0.38.0/src/parse/nom/mod.rs:372:10
    |
372 |         .recognize()
    |          ^^^^^^^^^

warning: `gix-pack` (lib) generated 1 warning
   Compiling gix-worktree-stream v0.13.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gix_worktree_stream CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-stream-0.13.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-stream-0.13.1/Cargo.toml CARGO_PKG_AUTHORS='Sebastian Thiel <sebastian.thiel at icloud.com>' CARGO_PKG_DESCRIPTION='generate a byte-stream from a git-tree' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gix-worktree-stream CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Byron/gitoxide' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.13.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=13 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-stream-0.13.1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name gix_worktree_stream --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-stream-0.13.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=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=7b3171900ceac097 -C extra-filename=-7b3171900ceac097 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern gix_attributes=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_attributes-7fe18350d957cefb.rmeta --extern gix_features=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_features-eecd4649cbaf982c.rmeta --extern gix_filter=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_filter-c6ade284d0d276cd.rmeta --extern gix_fs=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_fs-37a3a746a5249b65.rmeta --extern gix_hash=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_hash-dd9ce4a05bbb2b1b.rmeta --extern gix_object=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_object-7f9d3bad27d5a2cb.rmeta --extern gix_path=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_path-d7908e298a752ad9.rmeta --extern gix_traverse=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_traverse-d9d691229cb81e2e.rmeta --extern parking_lot=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-8352104540c5defc.rmeta --extern thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-a0a294689d2bb3b2.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
   Compiling gix-prompt v0.8.7
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gix_prompt CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-prompt-0.8.7 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-prompt-0.8.7/Cargo.toml CARGO_PKG_AUTHORS='Sebastian Thiel <sebastian.thiel at icloud.com>' CARGO_PKG_DESCRIPTION='A crate of the gitoxide project for handling prompts in the terminal' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gix-prompt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Byron/gitoxide' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.8.7 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-prompt-0.8.7 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name gix_prompt --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/gix-prompt-0.8.7/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=771f43ec156999b6 -C extra-filename=-771f43ec156999b6 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern gix_command=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_command-24d2d793e855b61b.rmeta --extern gix_config_value=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_config_value-d0e669c10f56fc1b.rmeta --extern parking_lot=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-8352104540c5defc.rmeta --extern rustix=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/librustix-2f2ca16110c60ea5.rmeta --extern thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-a0a294689d2bb3b2.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
   Compiling io-close v0.3.7
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=io_close CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/io-close-0.3.7 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/io-close-0.3.7/Cargo.toml CARGO_PKG_AUTHORS=wufz CARGO_PKG_DESCRIPTION='An extension trait for safely dropping I/O writers such as File and BufWriter.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=io-close CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://gitlab.com/wufz/io-close' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.7 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/io-close-0.3.7 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name io_close --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/io-close-0.3.7/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("os_pipe"))' -C metadata=5dd55a4f2625e907 -C extra-filename=-5dd55a4f2625e907 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-75fe70dbb0c1df16.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:70:19
    |
70  |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
206 | unix_impl_close_raw_fd!(std::fs::File, "std");
    | --------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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
    = note: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:71:32
    |
71  |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
206 | unix_impl_close_raw_fd!(std::fs::File, "std");
    | --------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:70:19
    |
70  |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
207 | unix_impl_close_raw_fd!(std::net::TcpStream, "std");
    | --------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:71:32
    |
71  |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
207 | unix_impl_close_raw_fd!(std::net::TcpStream, "std");
    | --------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:70:19
    |
70  |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
208 | unix_impl_close_raw_fd!(std::os::unix::net::UnixStream, "std");
    | -------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:71:32
    |
71  |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
208 | unix_impl_close_raw_fd!(std::os::unix::net::UnixStream, "std");
    | -------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:70:19
    |
70  |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
209 | unix_impl_close_raw_fd!(std::process::ChildStdin, "std");
    | -------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:71:32
    |
71  |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
209 | unix_impl_close_raw_fd!(std::process::ChildStdin, "std");
    | -------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `os_pipe`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:70:37
    |
70  |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                                     ^^^^^^^^^^^^^^^^^^^^^^
...
210 | unix_impl_close_raw_fd!(os_pipe::PipeWriter, "os_pipe");
    | ------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `target_family` are: `unix`, `wasm`, and `windows`
    = 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 `unix_impl_close_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
217 | impl_close_no_error_no_flush!(&mut [u8], "std");
    | ----------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
217 | impl_close_no_error_no_flush!(&mut [u8], "std");
    | ----------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
218 | impl_close_no_error_no_flush!(std::io::Cursor<&mut Vec<u8>>, "std");
    | ------------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
218 | impl_close_no_error_no_flush!(std::io::Cursor<&mut Vec<u8>>, "std");
    | ------------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
219 | impl_close_no_error_no_flush!(std::io::Cursor<&mut [u8]>, "std");
    | ---------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
219 | impl_close_no_error_no_flush!(std::io::Cursor<&mut [u8]>, "std");
    | ---------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
220 | impl_close_no_error_no_flush!(std::io::Cursor<Box<[u8]>>, "std");
    | ---------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
220 | impl_close_no_error_no_flush!(std::io::Cursor<Box<[u8]>>, "std");
    | ---------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
221 | impl_close_no_error_no_flush!(std::io::Cursor<Vec<u8>>, "std");
    | -------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
221 | impl_close_no_error_no_flush!(std::io::Cursor<Vec<u8>>, "std");
    | -------------------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
222 | impl_close_no_error_no_flush!(std::io::Sink, "std");
    | --------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
222 | impl_close_no_error_no_flush!(std::io::Sink, "std");
    | --------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:160:19
    |
160 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
223 | impl_close_no_error_no_flush!(Vec<u8>, "std");
    | --------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:161:32
    |
161 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
223 | impl_close_no_error_no_flush!(Vec<u8>, "std");
    | --------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_no_error_no_flush` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:182:19
    |
182 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
225 | impl_close_into_inner!(std::io::BufWriter<W>, "std");
    | ---------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_into_inner` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:183:32
    |
183 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
225 | impl_close_into_inner!(std::io::BufWriter<W>, "std");
    | ---------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_into_inner` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:182:19
    |
182 |         #[cfg(any(feature = $ft_fm, target_family = $ft_fm))]
    |                   ^^^^^^^^^^^^^^^^
...
226 | impl_close_into_inner!(std::io::LineWriter<W>, "std");
    | ----------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_into_inner` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unexpected `cfg` condition value: `unix`
   --> /usr/share/cargo/registry/io-close-0.3.7/src/lib.rs:183:32
    |
183 |         #[cfg_attr(all(docsrs, feature = $ft_fm), doc(cfg(feature = $ft_fm)))]
    |                                ^^^^^^^^^^^^^^^^
...
226 | impl_close_into_inner!(std::io::LineWriter<W>, "std");
    | ----------------------------------------------------- in this macro invocation
    |
    = note: expected values for `feature` are: `os_pipe`
    = help: consider adding `unix` 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: this warning originates in the macro `impl_close_into_inner` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: `io-close` (lib) generated 27 warnings
   Compiling arc-swap v1.7.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=arc_swap CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/arc-swap-1.7.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/arc-swap-1.7.1/Cargo.toml CARGO_PKG_AUTHORS='Michal '\''vorner'\'' Vaner <vorner at vorner.cz>' CARGO_PKG_DESCRIPTION='Atomically swappable Arc' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=arc-swap CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/vorner/arc-swap' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.7.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/arc-swap-1.7.1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name arc_swap --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/arc-swap-1.7.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=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("experimental-strategies", "experimental-thread-local", "internal-test-strategies", "serde", "weak"))' -C metadata=156e9be2e494923b -C extra-filename=-156e9be2e494923b --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
   Compiling gix-odb v0.61.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gix_odb CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-odb-0.61.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-odb-0.61.1/Cargo.toml CARGO_PKG_AUTHORS='Sebastian Thiel <sebastian.thiel at icloud.com>' CARGO_PKG_DESCRIPTION='Implements various git object databases' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gix-odb CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Byron/gitoxide' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.61.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=61 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-odb-0.61.1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name gix_odb --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/gix-odb-0.61.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=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("document-features", "serde"))' -C metadata=7ebc0b82cf920098 -C extra-filename=-7ebc0b82cf920098 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern arc_swap=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libarc_swap-156e9be2e494923b.rmeta --extern gix_date=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_date-c66477e528943507.rmeta --extern gix_features=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_features-eecd4649cbaf982c.rmeta --extern gix_fs=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_fs-37a3a746a5249b65.rmeta --extern gix_hash=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_hash-dd9ce4a05bbb2b1b.rmeta --extern gix_object=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_object-7f9d3bad27d5a2cb.rmeta --extern gix_pack=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_pack-b95942c33176b4b3.rmeta --extern gix_path=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_path-d7908e298a752ad9.rmeta --extern gix_quote=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_quote-0eb1c49de1da73d1.rmeta --extern parking_lot=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-8352104540c5defc.rmeta --extern tempfile=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libtempfile-764a346ab71db804.rmeta --extern thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-a0a294689d2bb3b2.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
warning: `gix-config` (lib) generated 13 warnings
   Compiling gix-worktree-state v0.11.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gix_worktree_state CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-state-0.11.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-state-0.11.1/Cargo.toml CARGO_PKG_AUTHORS='Sebastian Thiel <sebastian.thiel at icloud.com>' CARGO_PKG_DESCRIPTION='A crate of the gitoxide project implementing setting the worktree to a particular state' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gix-worktree-state CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Byron/gitoxide' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.11.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=11 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-state-0.11.1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name gix_worktree_state --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/gix-worktree-state-0.11.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=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=d6e107c54759ff58 -C extra-filename=-d6e107c54759ff58 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern bstr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libbstr-4128ef18229838b5.rmeta --extern gix_features=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_features-eecd4649cbaf982c.rmeta --extern gix_filter=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_filter-c6ade284d0d276cd.rmeta --extern gix_fs=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_fs-37a3a746a5249b65.rmeta --extern gix_glob=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_glob-6b804fecb245aadc.rmeta --extern gix_hash=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_hash-dd9ce4a05bbb2b1b.rmeta --extern gix_index=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_index-ff73dd2b8f37eca0.rmeta --extern gix_object=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_object-7f9d3bad27d5a2cb.rmeta --extern gix_path=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_path-d7908e298a752ad9.rmeta --extern gix_worktree=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_worktree-5d31eddcbbd7c159.rmeta --extern io_close=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libio_close-5dd55a4f2625e907.rmeta --extern thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-a0a294689d2bb3b2.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
   Compiling gix-credentials v0.24.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gix_credentials CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3/Cargo.toml CARGO_PKG_AUTHORS='Sebastian Thiel <sebastian.thiel at icloud.com>' CARGO_PKG_DESCRIPTION='A crate of the gitoxide project to interact with git credentials helpers' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gix-credentials CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Byron/gitoxide' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.24.3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=24 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name gix_credentials --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("document-features", "serde"))' -C metadata=17b65383a5daf06f -C extra-filename=-17b65383a5daf06f --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern bstr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libbstr-4128ef18229838b5.rmeta --extern gix_command=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_command-24d2d793e855b61b.rmeta --extern gix_config_value=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_config_value-d0e669c10f56fc1b.rmeta --extern gix_path=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_path-d7908e298a752ad9.rmeta --extern gix_prompt=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_prompt-771f43ec156999b6.rmeta --extern gix_sec=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_sec-b22d3fb2e7c35307.rmeta --extern gix_trace=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_trace-839436c0507e929e.rmeta --extern gix_url=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_url-0d0a86b34794fcdc.rmeta --extern thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-a0a294689d2bb3b2.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
error[E0283]: type annotations needed
  --> /usr/share/cargo/registry/gix-credentials-0.24.3/src/program/mod.rs:83:63
   |
83 |                 gix_command::prepare(gix_path::from_bstr(args.as_ref()).into_owned())
   |                                                               ^^^^^^
   |
   = note: multiple `impl`s satisfying `BString: AsRef<_>` found in the `bstr` crate:
           - impl AsRef<BStr> for BString;
           - impl AsRef<[u8]> for BString;
help: try using a fully qualified path to specify the expected types
   |
83 |                 gix_command::prepare(gix_path::from_bstr(<BString as AsRef<T>>::as_ref(&args)).into_owned())
   |                                                          +++++++++++++++++++++++++++++++    ~

error[E0283]: type annotations needed
   --> /usr/share/cargo/registry/gix-credentials-0.24.3/src/program/mod.rs:83:38
    |
83  |                 gix_command::prepare(gix_path::from_bstr(args.as_ref()).into_owned())
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for reference `&_`
    |
    = note: multiple `impl`s satisfying `Cow<'_, BStr>: From<&_>` found in the `bstr` crate:
            - impl<'a> From<&'a BStr> for Cow<'a, BStr>;
            - impl<'a> From<&'a BString> for Cow<'a, BStr>;
    = note: required for `&_` to implement `Into<Cow<'_, BStr>>`
note: required by a bound in `from_bstr`
   --> /usr/share/cargo/registry/gix-path-0.10.11/src/convert.rs:135:34
    |
135 | pub fn from_bstr<'a>(input: impl Into<Cow<'a, BStr>>) -> Cow<'a, Path> {
    |                                  ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_bstr`

For more information about this error, try `rustc --explain E0283`.
error: could not compile `gix-credentials` (lib) due to 2 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gix_credentials CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3/Cargo.toml CARGO_PKG_AUTHORS='Sebastian Thiel <sebastian.thiel at icloud.com>' CARGO_PKG_DESCRIPTION='A crate of the gitoxide project to interact with git credentials helpers' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gix-credentials CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Byron/gitoxide' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.24.3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=24 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name gix_credentials --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/gix-credentials-0.24.3/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("document-features", "serde"))' -C metadata=17b65383a5daf06f -C extra-filename=-17b65383a5daf06f --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern bstr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libbstr-4128ef18229838b5.rmeta --extern gix_command=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_command-24d2d793e855b61b.rmeta --extern gix_config_value=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_config_value-d0e669c10f56fc1b.rmeta --extern gix_path=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_path-d7908e298a752ad9.rmeta --extern gix_prompt=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_prompt-771f43ec156999b6.rmeta --extern gix_sec=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_sec-b22d3fb2e7c35307.rmeta --extern gix_trace=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_trace-839436c0507e929e.rmeta --extern gix_url=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libgix_url-0d0a86b34794fcdc.rmeta --extern thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-a0a294689d2bb3b2.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gix-0.64.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
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/202412/

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

Thanks.



More information about the Pkg-rust-maintainers mailing list