Package: src:rust-magic-wormhole
Version: 0.7.6-3
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, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
warning: hiding a lifetime that's elided elsewhere is confusing
  --> /usr/share/cargo/registry/base64-0.22.1/src/chunked_encoder.rs:57:26
   |
57 |     pub(crate) fn new(s: &mut String) -> StringSink {
   |                          ^^^^^^^^^^^     ^^^^^^^^^^ 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
   |
57 |     pub(crate) fn new(s: &mut String) -> StringSink<'_> {
   |                                                    ++++

warning: `base64` (lib) generated 2 warnings
   Compiling magic-wormhole v0.7.6 (/<<PKGBUILDDIR>>)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=magic_wo 
[too-long-redacted] stry=/usr/share/cargo/registry`
error: cannot find derive macro `Serialize` in this scope
  --> src/transfer/offer.rs:10:10
   |
10 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
   |          ^^^^^^^^^
   |
note: `Serialize` is imported here, but it is only a trait, without a derive 
macro
  --> src/transfer/offer.rs:6:26
   |
 6 | use serde::{Deserialize, Serialize};
   |                          ^^^^^^^^^
help: consider importing one of these derive macros
   |
 1 + use crate::transfer::Serialize;
   |
 1 + use serde_derive::Serialize;
   |

error: cannot find derive macro `Deserialize` in this scope
  --> src/transfer/offer.rs:10:21
   |
10 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
   |                     ^^^^^^^^^^^
   |
note: `Deserialize` is imported here, but it is only a trait, without a derive 
macro
  --> src/transfer/offer.rs:6:13
   |
 6 | use serde::{Deserialize, Serialize};
   |             ^^^^^^^^^^^
help: consider importing one of these derive macros
   |
 1 + use crate::transfer::Deserialize;
   |
 1 + use serde_derive::Deserialize;
   |

error: cannot find attribute `serde` in this scope
  --> src/transfer/offer.rs:11:3
   |
11 | #[serde(bound(deserialize = "T: Default"))]
   |   ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute
help: `serde` is an attribute that can be used by the derive macros 
`Deserialize` and `Serialize`, you might be missing a `derive` attribute
   |
12 + #[derive(Deserialize, Serialize)]
13 | pub struct Offer<T = ()> {
   |

error: cannot find derive macro `Serialize` in this scope
   --> src/transfer/offer.rs:241:10
    |
241 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
    |          ^^^^^^^^^
    |
note: `Serialize` is imported here, but it is only a trait, without a derive 
macro
   --> src/transfer/offer.rs:6:26
    |
  6 | use serde::{Deserialize, Serialize};
    |                          ^^^^^^^^^
help: consider importing one of these derive macros
    |
  1 + use crate::transfer::Serialize;
    |
  1 + use serde_derive::Serialize;
    |

error: cannot find derive macro `Deserialize` in this scope
   --> src/transfer/offer.rs:241:21
    |
241 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
    |                     ^^^^^^^^^^^
    |
note: `Deserialize` is imported here, but it is only a trait, without a derive 
macro
   --> src/transfer/offer.rs:6:13
    |
  6 | use serde::{Deserialize, Serialize};
    |             ^^^^^^^^^^^
help: consider importing one of these derive macros
    |
  1 + use crate::transfer::Deserialize;
    |
  1 + use serde_derive::Deserialize;
    |

error: cannot find attribute `serde` in this scope
   --> src/transfer/offer.rs:242:3
    |
242 | #[serde(rename_all = "kebab-case")]
    |   ^^^^^
    |
    = note: `serde` is in scope, but it is a crate, not an attribute
help: `serde` is an attribute that can be used by the derive macros 
`Deserialize` and `Serialize`, you might be missing a `derive` attribute
    |
245 + #[derive(Deserialize, Serialize)]
246 | pub enum OfferEntry<T = ()> {
    |

error: cannot find attribute `serde` in this scope
   --> src/transfer/offer.rs:243:3
    |
243 | #[serde(tag = "type")]
    |   ^^^^^
    |
    = note: `serde` is in scope, but it is a crate, not an attribute
help: `serde` is an attribute that can be used by the derive macros 
`Deserialize` and `Serialize`, you might be missing a `derive` attribute
    |
245 + #[derive(Deserialize, Serialize)]
246 | pub enum OfferEntry<T = ()> {
    |

error: cannot find attribute `serde` in this scope
   --> src/transfer/offer.rs:244:3
    |
244 | #[serde(bound(deserialize = "T: Default"))]
    |   ^^^^^
    |
    = note: `serde` is in scope, but it is a crate, not an attribute
help: `serde` is an attribute that can be used by the derive macros 
`Deserialize` and `Serialize`, you might be missing a `derive` attribute
    |
245 + #[derive(Deserialize, Serialize)]
246 | pub enum OfferEntry<T = ()> {
    |

error: cannot find attribute `serde` in this scope
   --> src/transfer/offer.rs:248:11
    |
248 |         #[serde(skip)]
    |           ^^^^^
    |
    = note: `serde` is in scope, but it is a crate, not an attribute
help: `serde` is an attribute that can be used by the derive macros 
`Deserialize` and `Serialize`, you might be missing a `derive` attribute
    |
245 + #[derive(Deserialize, Serialize)]
246 | pub enum OfferEntry<T = ()> {
    |

error: could not compile `magic-wormhole` (lib) due to 9 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA 
[too-long-redacted] argo/registry` (exit status: 1)
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
--------------------------------------------------------------------------------

Reply via email to