[From nobody Tue Oct  6 01:37:06 2026
Received: (at submit) by bugs.debian.org; 5 Oct 2026 12:40:15 +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=-121.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 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, 25; hammy, 150; neutral, 189; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:48036)
 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 1xDhzL-00E0HD-1e
 for submit@bugs.debian.org; Mon, 05 Oct 2026 12:40:15 +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 muffat.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 1xDhzL-004Oek-1H
 for submit@bugs.debian.org; Mon, 05 Oct 2026 12:40:15 +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=oOOfQ6C8/RpoqWtcdlL5lafoAbta7czOL9UW5HhY1cQ=; b=BfX2Kbr2fq5Acz/S0KOeNlv2fb
 ZvuAgSCCO+dXet1r/cmtHTfq+lZi99XnYB4OzrJUugVPFqnUTv/iTVsf6Y19aIVw490v3JmHAWkVm
 9VaAKMNLyGenVmxFLzap0JLF0uNlt2Vxbk3B+EDEUnf5Y518PaXCYbgR+JuWxOasJrlzmTR22o0eb
 9DeltYh7PATenJ/3y+ZyU/G9n5R/lu14GfJAFL6iK/4zeg8lG5QqSEL1tb74EOdJUa3jAkzUOjfVB
 KHr9nBPQmd9bT0n9XCSAEa6b7FKhY8jLZVbLhNlGT1xnpaxkhJAMjS5JUln/4MFTwePcWqMXperMN
 OqA9/bNQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1xDhzL-003z3j-0u
 for submit@bugs.debian.org; Mon, 05 Oct 2026 12:40:15 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: rust-test-fork-macros: FTBFS: error[E0308]: mismatched types
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1xDhzL-003z3j-0u@paradis.debian.org&gt;
Date: Mon, 05 Oct 2026 12:40:15 +0000
Delivered-To: submit@bugs.debian.org

Package: src:rust-test-fork-macros
Version: 0.1.5-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/202610/

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

Thanks.

--------------------------------------------------------------------------------
[...]
help: consider wrapping the function in a closure
   |
46 |         .unwrap_or_else(|arg0: syn::error::Error| syn::Error::into_compile_error(/* syn::Error */))
   |                         +++++++++++++++++++++++++                               ++++++++++++++++++

error[E0308]: mismatched types
   --&gt; src/lib.rs:119:27
    |
119 |     try_fork(attr.into(), input_fn, supports_bench)
    |     --------              ^^^^^^^^ expected `syn::item::ItemFn`, found `ItemFn`
    |     |
    |     arguments to this function are incorrect
    |
note: there are multiple different versions of crate `syn` in the dependency graph
   --&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/cargo_registry/syn-3.0.6/src/macros.rs:36:22
    |
 36 |           $(#[$attr])* $pub $struct $name $body
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type
    |
   ::: /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/cargo_registry/syn-2.0.119/src/macros.rs:36:22
    |
 36 |           $(#[$attr])* $pub $struct $name $body
    |                        ------------------------ this is the found type
    |
   ::: /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/cargo_registry/syn-3.0.6/src/item.rs:173:1
    |
173 | / ast_struct! {
174 | |     /// A free-standing function: `fn process(n: usize) -&gt; Result&lt;()&gt; { ... }`.
175 | |     #[cfg_attr(docsrs, doc(cfg(feature = &quot;full&quot;)))]
176 | |     pub struct ItemFn {
...   |
184 | | }
    | |_- in this macro invocation
    = help: you can use `cargo tree` to explore your dependency tree
note: function defined here
   --&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/cargo_registry/test-fork-core-0.1.5/src/procmac.rs:295:8
    |
295 | pub fn try_fork(attr: Tokens, input_fn: ItemFn, supports_bench: bool) -&gt; Result&lt;Tokens&gt; {
    |        ^^^^^^^^
    = note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0631]: type mismatch in function arguments
   --&gt; src/lib.rs:120:25
    |
120 |         .unwrap_or_else(syn::Error::into_compile_error)
    |          -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |          |              |
    |          |              expected due to this
    |          |              found signature defined here
    |          required by a bound introduced by this call
    |
    = note: expected function signature `fn(syn::error::Error) -&gt; _`
               found function signature `fn(syn::Error) -&gt; _`
note: required by a bound in `Result::&lt;T, E&gt;::unwrap_or_else`
   --&gt; /usr/src/rustc-1.96.1/library/core/src/result.rs:1616:4
help: consider wrapping the function in a closure
    |
120 |         .unwrap_or_else(|arg0: syn::error::Error| syn::Error::into_compile_error(/* syn::Error */))
    |                         +++++++++++++++++++++++++                               ++++++++++++++++++

Some errors have detailed explanations: E0308, E0631.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `test-fork-macros` (lib) due to 4 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=test_fork_macros CARGO_MANIFEST_DIR=/&lt;&lt;PKGBUILDDIR&gt;&gt; CARGO_MANIFEST_PATH=/&lt;&lt;PKGBUILDDIR&gt;&gt;/Cargo.toml CARGO_PKG_AUTHORS='Daniel Mueller &lt;deso@posteo.net&gt;' CARGO_PKG_DESCRIPTION='Supporting procedural macro crate for test-fork.
  ' CARGO_PKG_HOMEPAGE='https://github.com/d-e-s-o/test-fork [too-long-redacted] rn proc_macro` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `test-fork-macros` (lib test) due to 4 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=test_fork_macros CARGO_MANIFEST_DIR=/&lt;&lt;PKGBUILDDIR&gt;&gt; CARGO_MANIFEST_PATH=/&lt;&lt;PKGBUILDDIR&gt;&gt;/Cargo.toml CARGO_PKG_AUTHORS='Daniel Mueller &lt;deso@posteo.net&gt;' CARGO_PKG_DESCRIPTION='Supporting procedural macro crate for test-fork.
  ' CARGO_PKG_HOMEPAGE='https://github.com/d-e-s-o/test-fork [too-long-redacted] rn proc_macro` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]