Package: src:rust-magic-wormhole-cli Version: 0.7.6-1 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/202602/ 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:rust-magic-wormhole-cli, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem cargo --with shell_completions 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 --with shell_completions 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 ...] error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:574:28 | 574 | .send_json(&PeerMessage::Error(format!("{}", error))) | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound | | | required by a bound introduced by this call | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others note: required by a bound in `core::Wormhole::send_json` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/core.rs:460:31 | 460 | pub async fn send_json<T: serde::Serialize>( | ^^^^^^^^^^^^^^^^ required by this bound in `Wormhole::send_json` error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:573:21 | 573 | let _ = wormhole | _____________________^ 574 | | .send_json(&PeerMessage::Error(format!("{}", error))) | |_____________________________________________________________________^ unsatisfied trait bound | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others note: required by a bound in `core::Wormhole::send_json` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/core.rs:460:31 | 460 | pub async fn send_json<T: serde::Serialize>( | ^^^^^^^^^^^^^^^^ required by this bound in `Wormhole::send_json` error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:575:18 | 575 | .await; | ^^^^^ unsatisfied trait bound | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others note: required by a bound in `core::Wormhole::send_json` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/core.rs:460:31 | 460 | pub async fn send_json<T: serde::Serialize>( | ^^^^^^^^^^^^^^^^ required by this bound in `Wormhole::send_json` error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:592:28 | 592 | .send_json(&PeerMessage::Error(format!("{}", error))) | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound | | | required by a bound introduced by this call | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others note: required by a bound in `core::Wormhole::send_json` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/core.rs:460:31 | 460 | pub async fn send_json<T: serde::Serialize>( | ^^^^^^^^^^^^^^^^ required by this bound in `Wormhole::send_json` error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:591:21 | 591 | let _ = wormhole | _____________________^ 592 | | .send_json(&PeerMessage::Error(format!("{}", error))) | |_____________________________________________________________________^ unsatisfied trait bound | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others note: required by a bound in `core::Wormhole::send_json` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/core.rs:460:31 | 460 | pub async fn send_json<T: serde::Serialize>( | ^^^^^^^^^^^^^^^^ required by this bound in `Wormhole::send_json` error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:593:18 | 593 | .await; | ^^^^^ unsatisfied trait bound | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others note: required by a bound in `core::Wormhole::send_json` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/core.rs:460:31 | 460 | pub async fn send_json<T: serde::Serialize>( | ^^^^^^^^^^^^^^^^ required by this bound in `Wormhole::send_json` error[E0277]: the trait bound `forwarding::PeerMessage: serde::Serialize` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:1006:37 | 1006 | serde::Serialize::serialize(self, &mut ser).unwrap(); | --------------------------- ^^^^ unsatisfied trait bound | | | required by a bound introduced by this call | help: the trait `core::_::_serde::Serialize` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `forwarding::PeerMessage` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `core::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 158 others error[E0277]: the trait bound `forwarding::PeerMessage: serde::de::DeserializeOwned` is not satisfied --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:1012:9 | 1012 | rmp_serde::from_read(&mut &*data) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound | help: the trait `for<'de> core::_::_serde::Deserialize<'de>` is not implemented for `forwarding::PeerMessage` --> /usr/share/cargo/registry/magic-wormhole-0.7.6/src/forwarding.rs:970:1 | 970 | enum PeerMessage { | ^^^^^^^^^^^^^^^^ = help: the following other types implement trait `core::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) and 172 others = note: required for `forwarding::PeerMessage` to implement `DeserializeOwned` note: required by a bound in `from_read` --> /usr/share/cargo/registry/rmp-serde-1.3.0/src/decode.rs:1142:10 | 1140 | pub fn from_read<R, T>(rd: R) -> Result<T, Error> | --------- required by a bound in this function 1141 | where R: Read, 1142 | T: DeserializeOwned | ^^^^^^^^^^^^^^^^ required by this bound in `from_read` warning: `jiff` (lib) generated 13 warnings Compiling env_logger v0.11.8 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=env_logger CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/env_logger-0.11.8 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/env_logger-0.11.8/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='A logging implementation for `log` which is configured via an environment variable. ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0 [too-long-redacted] stry=/usr/share/cargo/registry` Compiling clap_complete v4.5.64 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=clap_com [too-long-redacted] stry=/usr/share/cargo/registry` warning: unexpected `cfg` condition value: `debug` --> /usr/share/cargo/registry/clap_complete-4.5.64/src/macros.rs:1:7 | 1 | #[cfg(feature = "debug")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `unstable-doc`, and `unstable-dynamic` = help: consider adding `debug` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `debug` --> /usr/share/cargo/registry/clap_complete-4.5.64/src/macros.rs:9:11 | 9 | #[cfg(not(feature = "debug"))] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `unstable-doc`, and `unstable-dynamic` = help: consider adding `debug` 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 For more information about this error, try `rustc --explain E0277`. error: could not compile `magic-wormhole` (lib) due to 40 previous errors Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1) warning: build failed, waiting for other jobs to finish... warning: `clap_complete` (lib) generated 2 warnings 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 failed with exit status 2 --------------------------------------------------------------------------------

