[From nobody Thu Aug 20 18:51:06 2026
Received: (at submit) by bugs.debian.org; 20 Aug 2026 12:12:34 +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=-15.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,HAS_PACKAGE,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,
 RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 76; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--sk:buildd.,
 0.000-+--UD:buildd.debian.org, 0.000-+--buildddebianorg
Return-path: &lt;juan.mendezr@proton.me&gt;
Received: from mail-24416.protonmail.ch ([109.224.244.16]:62121)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;juan.mendezr@proton.me&gt;)
 id 1wx1dI-005Qty-0K for submit@bugs.debian.org;
 Thu, 20 Aug 2026 12:12:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me;
 s=protonmail; t=1787227948; x=1787487148;
 bh=V+Vv8S9Ps6tR6YxF0VUAxi9KPZNezJWKBWrwz1jGLs0=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=GYplJPPhS1DnCwOXuxpOjLoAg6ZorywHMQsYzOIGfqmQd7+uImGZXcjKZRwj0V8o/
 k4QldfZyifkS9e+sK2BIUS9FNHlNg3j2HqEwDvgCUB/j+ljAYEvL3wqDfjRvRsy/+E
 WPqN72Qygvqcby9S+gc9caDbBC86Gwsb48eW6vK1RIaUa+OXAA8dNJ1rJhmayxOQKM
 zzIvAouwEBpjsMohQNvUaP8ZjTwWdYtQg9heKU2rIWu9YV2h8kHl+QyHF2h1luP5bU
 xTRB1ck3i3cREFX91XxNp1u30VjgFdYM4/XJwl1cR8StSImk0okiLoeVZY/NpSpoHJ
 B31Zw6/DB7xUw==
Date: Thu, 20 Aug 2026 12:12:26 +0000
To: submit@bugs.debian.org
From: =?utf-8?Q?Juan_Manuel_M=C3=A9ndez_Rey?= &lt;juan.mendezr@proton.me&gt;
Subject: rust-swc-core: FTBFS: wrong [[test]] name in
 swc_css_prefixer/Cargo.toml (expects tests/fixture.rs,
 actual file is tests/prefixer.rs)
Message-ID: &lt;4576f1bf0d9607ecbb7c9737ba7d0621@proton.me&gt;
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: 99129dd8f27d9fdd99dd13f1533d42afa5778d06
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Delivered-To: submit@bugs.debian.org

Package: rust-swc-core
Version: 65.0.4+ds-4
Severity: serious
Justification: fails to build from source
X-Debbugs-Cc: dr@jones.dk

65.0.4+ds-4 FTBFS on all architectures (confirmed via buildd.debian.org,
attempted 2026-08-20, arch 'all'):

  error: failed to parse manifest at
  `/build/reproducible-path/rust-swc-core-65.0.4+ds/crates/swc_css_prefixer=
/Cargo.toml`

  Caused by:
    can't find `fixture` test at `tests/fixture.rs` or
    `tests/fixture/main.rs`. Please specify test.path if you want to use a
    non-default path.
  dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code=
 101

Root cause: debian/patches/2005_avoid_crate_testing.patch adds this stanza =
to
crates/swc_css_prefixer/Cargo.toml:

  [[test]]
  name =3D &quot;fixture&quot;
  required-features =3D [&quot;testing&quot;]

but swc_css_prefixer's actual test file is tests/prefixer.rs, not
tests/fixture.rs (the crate ships no tests/fixture.rs or tests/fixture/
directory containing main.rs). Cargo therefore fails to even parse the
manifest, which aborts the whole `cargo test` invocation for the workspace
and fails binary-indep for the entire source package, not just this crate.

The fix looks like a one-line name mismatch =E2=80=94 the intent (matching =
the same
pattern applied to the other crates in that patch) was presumably to gate t=
he
crate's existing auto-discovered test behind the &quot;testing&quot; feature. Since
cargo auto-discovers tests/*.rs and names the target after the file stem, t=
he
stanza should read:

  [[test]]
  name =3D &quot;prefixer&quot;
  required-features =3D [&quot;testing&quot;]

(or alternatively keep name =3D &quot;fixture&quot; but add an explicit
`path =3D &quot;tests/prefixer.rs&quot;`).

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=3Drust-swc-core&amp;arch=3Dall&amp;v=
er=3D65.0.4%2Bds-4&amp;stamp=3D1786554841&amp;raw=3D1
]