[From nobody Tue Mar 17 21:53:08 2026
Received: (at submit) by bugs.debian.org; 27 Feb 2026 00:56:04 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
 X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 140; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila,
 0.000-+--forky
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:35706)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1vvm9E-007Llq-12
 for submit@bugs.debian.org; Fri, 27 Feb 2026 00:56:04 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1vvm9C-000VWv-1n
 for submit@bugs.debian.org; Fri, 27 Feb 2026 00:56:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=vyLPSDjGb1l5vsJb+crtUDTmpIdkR4qw4Zx8ciCSyTM=; b=ATRwX6r7+ElBXfn1WBUbhUVvHY
 2W1iZ8e5jYo+OOeHWhgqIIo9ZaUSGR3HyhKfEgZ3+LXI02oLPUALGNvQvbvL6N2mWsWgtZmtPcaVF
 +feVckX6IaH626m5s5YuH220RQGTlVcDCx/FaiZL9dHlQoC7yeDi9C7ZxQDe6V6U0AZJyZSH++PlC
 5PtyXDIsSC1gR3fJ59ZYjm9PzhHws63BPTtvugFSy1lENDYwpdIxbAAv9ORh+mVkQiOap4x/NTTxx
 lcDtZc043kWkYHNw+f+TakhSKDn5u0gCi0Fv66ScFpblHWbJykpL57VDxOboMGZ6Sowevvl9UhjpC
 c4JNvJGw==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1vvm9A-00HQ4m-2T
 for submit@bugs.debian.org; Fri, 27 Feb 2026 00:56:00 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: rust-magic-wormhole: FTBFS: error: cannot find derive macro
 `Serialize` in this scope
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1vvm9A-00HQ4m-2T@paradis.debian.org&gt;
Date: Fri, 27 Feb 2026 00:56:00 +0000
Delivered-To: submit@bugs.debian.org

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
  --&gt; /usr/share/cargo/registry/base64-0.22.1/src/chunked_encoder.rs:57:26
   |
57 |     pub(crate) fn new(s: &amp;mut String) -&gt; 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: &amp;mut String) -&gt; StringSink&lt;'_&gt; {
   |                                                    ++++

warning: `base64` (lib) generated 2 warnings
   Compiling magic-wormhole v0.7.6 (/&lt;&lt;PKGBUILDDIR&gt;&gt;)
     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
  --&gt; 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
  --&gt; 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
  --&gt; 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
  --&gt; 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
  --&gt; src/transfer/offer.rs:11:3
   |
11 | #[serde(bound(deserialize = &quot;T: Default&quot;))]
   |   ^^^^^
   |
   = 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&lt;T = ()&gt; {
   |

error: cannot find derive macro `Serialize` in this scope
   --&gt; 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
   --&gt; 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
   --&gt; 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
   --&gt; 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
   --&gt; src/transfer/offer.rs:242:3
    |
242 | #[serde(rename_all = &quot;kebab-case&quot;)]
    |   ^^^^^
    |
    = 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&lt;T = ()&gt; {
    |

error: cannot find attribute `serde` in this scope
   --&gt; src/transfer/offer.rs:243:3
    |
243 | #[serde(tag = &quot;type&quot;)]
    |   ^^^^^
    |
    = 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&lt;T = ()&gt; {
    |

error: cannot find attribute `serde` in this scope
   --&gt; src/transfer/offer.rs:244:3
    |
244 | #[serde(bound(deserialize = &quot;T: Default&quot;))]
    |   ^^^^^
    |
    = 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&lt;T = ()&gt; {
    |

error: cannot find attribute `serde` in this scope
   --&gt; 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&lt;T = ()&gt; {
    |

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
--------------------------------------------------------------------------------
]