Package: src:icann-rdap-srv
Version: 0.0.25-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:icann-rdap-srv, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem cargo
   dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = 
['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = 
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', 
'/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
   dh_autoreconf_clean -O--buildsystem=cargo
   dh_clean -XCargo.toml.orig -O--buildsystem=cargo
 debian/rules binary
dh binary --buildsystem cargo
   dh_update_autotools_config -O--buildsystem=cargo
   dh_autoreconf -O--buildsystem=cargo
   dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = 
['-j2'], lto = 

[... snipped ...]

    |                            ^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^^^^^ 
the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
988 |     pub fn drain_filter<F>(&mut self, pred: F) -> DrainFilter<'_, K, V, 
C, F>
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/btree-slab-0.6.1/src/generic/set.rs:120:14
    |
120 |     pub fn iter(&self) -> Iter<T, C> {
    |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
120 |     pub fn iter(&self) -> Iter<'_, T, C> {
    |                                +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/btree-slab-0.6.1/src/generic/set.rs:205:29
    |
205 |     pub fn range<K: ?Sized, R>(&self, range: R) -> Range<T, C>
    |                                ^^^^^               ^^^^^^^^^^^ the same 
lifetime is hidden here
    |                                |
    |                                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
205 |     pub fn range<K: ?Sized, R>(&self, range: R) -> Range<'_, T, C>
    |                                                          +++

warning: `btree-slab` (lib) generated 19 warnings
   Compiling headers v0.4.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=headers  
[too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling jsonpath-rust v1.0.4
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=jsonpath 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: `reqwest` (lib) generated 49 warnings
   Compiling sqlx-macros v0.8.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=sqlx_mac 
[too-long-redacted] uild/ring-1f6dfa1e0b39b9f1/out`
   Compiling clap_derive v4.5.49
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=clap_der 
[too-long-redacted] rn proc_macro --cap-lints warn`
   Compiling matchers v0.2.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=matchers 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/matchers-0.2.0 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/matchers-0.2.0/Cargo.toml
 CARGO_PKG_AUTHORS='Eliza Weisman <[email protected]>' 
CARGO_PKG_DESCRIPTION='Regex matching on character and byte streams.
' CARGO_PKG_HOMEPAGE='https://github.com/hawkw/matchers' CAR 
[too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling client-ip v0.2.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=client_i 
[too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling jsonpath_lib v0.3.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=jsonpath 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: calls to `std::mem::forget` with a value that implements `Copy` does 
nothing
  --> /usr/share/cargo/registry/jsonpath_lib-0.3.0+dfsg/src/ffi/mod.rs:38:5
   |
38 |     std::mem::forget(ref_node);
   |     ^^^^^^^^^^^^^^^^^--------^
   |                      |
   |                      argument has type `*mut parser::Node`
   |
   = note: `#[warn(forgetting_copy_types)]` on by default
help: use `let _ = ...` to ignore the expression or result
   |
38 -     std::mem::forget(ref_node);
38 +     let _ = ref_node;
   |

   Compiling tracing-log v0.2.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tracing_log 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tracing-log-0.2.0 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/tracing-log-0.2.0/Cargo.toml
 CARGO_PKG_AUTHORS='Tokio Contributors <[email protected]>' 
CARGO_PKG_DESCRIPTION='Provides compatibility between `tracing` and the `log` 
crate.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: lint `private_in_public` has been removed: replaced with another group 
of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for 
more information
   --> /usr/share/cargo/registry/tracing-log-0.2.0/src/lib.rs:115:5
    |
115 |     private_in_public,
    |     ^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(renamed_and_removed_lints)]` on by default

warning: `tracing-log` (lib) generated 1 warning
   Compiling thread_local v1.1.4
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=thread_l 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: trait `UncheckedOptionExt` is never used
  --> /usr/share/cargo/registry/thread_local-1.1.4/src/unreachable.rs:11:11
   |
11 | pub trait UncheckedOptionExt<T> {
   |           ^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `unchecked_unwrap_err` is never used
  --> /usr/share/cargo/registry/thread_local-1.1.4/src/unreachable.rs:25:15
   |
20 | pub trait UncheckedResultExt<T, E> {
   |           ------------------ method in this trait
...
25 |     unsafe fn unchecked_unwrap_err(self) -> E;
   |               ^^^^^^^^^^^^^^^^^^^^

warning: unused return value of `Box::<T>::from_raw` that must be used
   --> /usr/share/cargo/registry/thread_local-1.1.4/src/lib.rs:158:22
    |
158 |             unsafe { 
Box::from_raw(std::slice::from_raw_parts_mut(bucket_ptr, this_bucket_size)) };
    |                      
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
    |
158 |             unsafe { let _ = 
Box::from_raw(std::slice::from_raw_parts_mut(bucket_ptr, this_bucket_size)); };
    |                      +++++++                                              
                              +

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/thread_local-1.1.4/src/lib.rs:296:21
    |
296 |     pub fn iter_mut(&mut self) -> IterMut<T> {
    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden 
here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
    |
296 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
    |                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /usr/share/cargo/registry/thread_local-1.1.4/src/cached.rs:65:21
   |
65 |     pub fn iter_mut(&mut self) -> CachedIterMut<T> {
   |                     ^^^^^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is 
hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
   |
65 |     pub fn iter_mut(&mut self) -> CachedIterMut<'_, T> {
   |                                                 +++

warning: `thread_local` (lib) generated 5 warnings
   Compiling range-traits v0.3.2
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=range_tr 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: unexpected `cfg` condition value: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:113:7
    |
113 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:115:7
    |
115 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:117:7
    |
117 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:119:7
    |
119 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:121:7
    |
121 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:123:7
    |
123 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:125:7
    |
125 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:127:7
    |
127 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = 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: `8`
   --> /usr/share/cargo/registry/range-traits-0.3.2/src/measure.rs:129:7
    |
129 | #[cfg(target_pointer_width = "8")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
    = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for 
more information about checking conditional configuration

warning: `range-traits` (lib) generated 9 warnings
   Compiling fsio v0.4.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=fsio CAR 
[too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling nu-ansi-term v0.50.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=nu_ansi_ 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: `jsonpath_lib` (lib) generated 1 warning
   Compiling icann-rdap-client v0.0.25
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=icann_rdap_client 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/icann-rdap-client-0.0.25
 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/icann-rdap-client-0.0.25/Cargo.toml
 CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='An RDAP client library.
' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0 
[too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling tracing-subscriber v0.3.22
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tracing_subscriber 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tracing-subscriber-0.3.22
 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/tracing-subscriber-0.3.22/Cargo.toml
 CARGO_PKG_AUTHORS='Eliza Weisman <[email protected]>:David Barsky 
<[email protected]>:Tokio Contributors <[email protected]>' 
CARGO_PKG_DESCRIPTION='Utilities for implementing and composing `tracing` 
subscribers.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI 
[too-long-redacted] stry=/usr/share/cargo/registry`
error[E0432]: unresolved imports `jsonpath_rust::JsonPathFinder`, 
`jsonpath_rust::JsonPathInst`
 --> /usr/share/cargo/registry/icann-rdap-client-0.0.25/src/md/redacted.rs:7:21
  |
7 |     jsonpath_rust::{JsonPathFinder, JsonPathInst},
  |                     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^
  |                     |               |
  |                     |               no `JsonPathInst` in the root
  |                     |               help: a similar name exists in the 
module: `JsonPath`
  |                     no `JsonPathFinder` in the root

error[E0432]: unresolved import `pct_str::URIReserved`
  --> /usr/share/cargo/registry/icann-rdap-client-0.0.25/src/rdap/qtype.rs:11:26
   |
11 |     pct_str::{PctString, URIReserved},
   |                          ^^^^^^^^^^^
   |                          |
   |                          no `URIReserved` in the root
   |                          help: a similar name exists in the module: 
`UriReserved`

warning: unused import: `std::str::FromStr`
 --> /usr/share/cargo/registry/icann-rdap-client-0.0.25/src/md/redacted.rs:1:5
  |
1 | use std::str::FromStr;
  |     ^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

For more information about this error, try `rustc --explain E0432`.
warning: `icann-rdap-client` (lib) generated 1 warning
error: could not compile `icann-rdap-client` (lib) due to 2 previous errors; 1 
warning emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo 
CARGO_CRATE_NAME=icann_rdap_client 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/icann-rdap-client-0.0.25
 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/icann-rdap-client-0.0.25/Cargo.toml
 CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='An RDAP client library.
  ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2 
[too-long-redacted] argo/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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to