Skip to content

Rollup of 23 pull requests#157790

Closed
JonathanBrouwer wants to merge 67 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VINajy8
Closed

Rollup of 23 pull requests#157790
JonathanBrouwer wants to merge 67 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VINajy8

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

ranger-ross and others added 30 commits May 14, 2026 22:36
This also syncs `RUSTFLAGS: -D warnings` which is added in
rust-lang/rustfmt
Replace uses of `u8` with a generic type. This will allow reusing
`BorrowedBuf` elsewhere in the standard library, for purposes other than
byte buffers.

This currently requires `T: Copy`, to prevent `T: Drop`, which would
require additional careful handling. We can consider relaxing that
restriction in the future if we make `T: Drop` work (without pessimizing
`Copy` types like `u8`).

`ensure_init` currently continues to require `u8`. We could potentially
generalize it to `T: Default`, but we'd need to ensure it produced the
same or better assembly for `u8`.
This default simplified the commit making these types generic, but we
don't actually want the default. Rewrite every user to specify `u8`
explicitly.
Now that the `impl` block has a bound, the one on `append` became
redundant.
An unconstrained `TransmuteFrom` obligation used to ICE with `layout_of:
unexpected type` under the next-gen trait solver; it now reports `type
annotations needed` (E0283). Add a regression test for that case, which
the fix's own test suite did not cover.
This is an optimization to reduce the amount for paths that get added to
the dylib search path. This is especially important for Windows as it
has issues when PATH gets too long. With the new Cargo build-dir we
increased the number of paths being passed.
When pointing at each step of cycle errors, do not include the code snippet when the note points at the same place as the previous one (by setting the note's span to DUMMY_SP).
Co-authored-by: Ryan Mehri <52933714+rmehri01@users.noreply.github.com>
This is effectively dead code now that we validate the target spec, so
let's mark it as unreachable to avoid misleading people looking at this code.
Add support for inline assembly for the amdgpu backend (the
amdgcn-amd-amdhsa target).
Add register classes for `vgpr` (vector general purpose register) and
`sgpr` (scalar general purpose register).
The LLVM backend supports two more classes, `reg`, which is either VGPR
or SGPR, up to the compiler to decide. As instructions often rely on a
register being either a VGPR or SGPR for the assembly to be valid, reg
doesn’t seem that useful (I struggled to write correct tests for it), so
I didn’t end up adding it.
The fourth register class is AGPRs, which only exist on some hardware
versions (not the consumer ones) and they have restricted ways to write
and read from them, which makes it hard to write a Rust variable into
them. They could be used inside assembly blocks, but I didn’t add them
as Rust register class.

There are a few change affecting general inline assembly code, that is
`InlineAsmReg::name()` now returns a `Cow` instead of a `&'static str`.
Because amdgpu has many registers, 256 VGPRs plus combinations of 2 or 4
VGPRs, and I didn’t want to list hundreds of static strings, the amdgpu
reg stores the register number(s) and a non-static String is generated
at runtime for the register name.
Similar for register classes and supported_types.

Vectors of 64-bit types are supported by the LLVM backend, but omitted
here to make the code simpler. There is currently no systematic support
in LLVM of which vectors of 64-bit types are supported. Also, they are
likely seldomly unused, vectors of 16- and 32-bit types are important.
A macro can expand to several missing-type items (e.g. a `$()*`
repetition of `const A = ...;`) that all collide on one stashed
`ItemNoType` diagnostic. They can infer different types, so there is no
single concrete type to suggest, and which item wins the steal is not
even stable under the parallel front-end.

Skip the inferred-type suggestion when the placeholder span comes from a
macro expansion and keep the generic `<type>` suggestion from the parser
instead, mirroring the existing handling in the fallback arm. This makes
the diagnostic deterministic, so the `in-macro` test no longer needs
`ignore-parallel-frontend`.
@rustbot rustbot added O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface O-wasm Target: WASM (WebAssembly), http://webassembly.org/ O-windows Operating system: Windows S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jun 11, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

1 similar comment
@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

@rust-bors

rust-bors Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b371713 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 11, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

Try jobs have completed in #157784

@rust-bors

rust-bors Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b371713 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jun 11, 2026
…uwer

Rollup of 23 pull requests

Successful merges:

 - #157716 (update Enzyme, June'26)
 - #149793 (Add inline asm support for amdgpu)
 - #155299 (make repr_transparent_non_zst_fields a hard error)
 - #155439 (Enable Cargo's new build-dir layout)
 - #157612 (Add a test where subtyping inhibits coercion.)
 - #157626 (Autogenerate unstable compiler flag stubs for unstable-book)
 - #157667 (Rename typing modes to better describe real usage)
 - #149749 (Make `BorrowedBuf` and `BorrowedCursor` generic over the data)
 - #156212 (Additionally gate negative bounds behind new `-Zinternal-testing-features`)
 - #157342 (Reduce verbosity of cycle errors when possible)
 - #157366 (Add a regression test for an unconstrained TransmuteFrom ICE)
 - #157459 (rustc_target: callconv: powerpc64: Remove unreachable fallback code path)
 - #157658 (UnsafeCell: mention shared-ref-to-interior case, fix aliasing model inaccuracy)
 - #157698 (Remove an unnecessary cloning)
 - #157699 (Arg splat experiment - hir FnDecl impl)
 - #157713 (resolve: Remove exported imports from `maybe_unused_trait_imports`)
 - #157722 (Move create_scope_map to rustc_codegen_ssa.)
 - #157725 (Keep generic suggestion for macro-expanded missing-type items)
 - #157733 (Remove old FIXMEs about nocapture attribute)
 - #157737 (Reorganize `tests/ui/issues` [7/N])
 - #157746 (supports_c_variadic_definitions: extend checklist for new targets)
 - #157763 (Move unused target expression error to appropriate place and rename it)
 - #157768 (codegen_ssa: peel trans. wrappers on scalable vecs)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-msvc-ext1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\build.rs:6406:1
     |
6406 | #[cargo_test(nightly, reason = "-Zno-embed-metadata is nightly only")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\build.rs:6446:1
     |
6446 | #[cargo_test(nightly, reason = "-Zno-embed-metadata is nightly only")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\build.rs:6494:1
     |
6494 | #[cargo_test(nightly, reason = "-Zno-embed-metadata is nightly only")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\build_dir.rs:829:1
    |
829 | / #[cargo_test(
830 | |     nightly,
831 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
832 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\build_dir_legacy.rs:763:1
    |
763 | / #[cargo_test(
764 | |     nightly,
765 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
766 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo\z_help\mod.rs:5:1
  |
5 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_add\dev_build_conflict\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_add\dev_existing_path_base\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_add\dry_run\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_add\normalize_name_workspace_dep\mod.rs:9:1
  |
9 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\cargo_features.rs:275:1
    |
275 | #[cargo_test(nightly, reason = "-Zallow-features is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\cargo_features.rs:341:1
    |
341 | #[cargo_test(nightly, reason = "-Zallow-features is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\cargo_features.rs:383:1
    |
383 | #[cargo_test(nightly, reason = "-Zallow-features is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_fix\help\mod.rs:5:1
  |
5 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_init\simple_hg\mod.rs:8:1
  |
8 | #[cargo_test(requires = "hg")]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\add_members_to_workspace_format_sorted\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\add_members_to_workspace_with_empty_members\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\add_members_to_workspace_with_members_glob\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\add_members_to_workspace_without_members\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\empty_name\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\help\mod.rs:5:1
  |
5 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_new\not_inherit_workspace_package_table_if_not_members\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\cargo_remove\dry_run\mod.rs:8:1
  |
8 | #[cargo_test]
  | ^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\dep_info.rs:168:1
    |
168 | #[cargo_test(nightly, reason = "-Z binary-dep-depinfo is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\dep_info.rs:308:1
    |
308 | #[cargo_test(nightly, reason = "-Z binary-dep-depinfo is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\dep_info.rs:477:1
    |
477 | #[cargo_test(nightly, reason = "-Z binary-dep-depinfo is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:1460:1
     |
1460 | #[cargo_test(nightly, reason = "-Zextern-html-root-url is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:2913:1
     |
2913 | #[cargo_test(nightly, reason = "`rustdoc --emit` is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:2930:1
     |
2930 | #[cargo_test(nightly, reason = "`rustdoc --emit` is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:2977:1
     |
2977 | #[cargo_test(nightly, reason = "`rustdoc --emit` is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:3016:1
     |
3016 | #[cargo_test(nightly, reason = "`rustdoc --emit` is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:3055:1
     |
3055 | #[cargo_test(nightly, reason = "`rustdoc --emit` is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\doc.rs:3094:1
     |
3094 | #[cargo_test(nightly, reason = "`rustdoc --emit` is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\docscrape.rs:55:1
   |
55 | #[cargo_test(nightly, reason = "-Zrustdoc-scrape-examples is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\edition.rs:82:1
   |
82 | #[cargo_test(nightly, reason = "fundamentally always nightly")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\fix.rs:927:1
    |
927 | #[cargo_test(nightly, reason = "fundamentally always nightly")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\fix.rs:2561:1
     |
2561 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\fix.rs:3083:1
     |
3083 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\fix.rs:3115:1
     |
3115 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\fix.rs:3155:1
     |
3155 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\fix.rs:3196:1
     |
3196 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\fix.rs:3235:1
     |
3235 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:62:1
   |
62 | / #[cargo_test(
63 | |     nightly,
64 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
65 | | )]
   | |__^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:120:1
    |
120 | / #[cargo_test(
121 | |     nightly,
122 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
123 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:212:1
    |
212 | / #[cargo_test(
213 | |     nightly,
214 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
215 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:242:1
    |
242 | / #[cargo_test(
243 | |     nightly,
244 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
245 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:311:1
    |
311 | / #[cargo_test(
312 | |     nightly,
313 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
314 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:459:1
    |
459 | / #[cargo_test(
460 | |     nightly,
461 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
462 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:481:1
    |
481 | / #[cargo_test(
482 | |     nightly,
483 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
484 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:518:1
    |
518 | / #[cargo_test(
519 | |     nightly,
520 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
521 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\future_incompat_report.rs:668:1
    |
668 | / #[cargo_test(
669 | |     nightly,
670 | |     reason = "-Zfuture-incompat-test requires nightly (permanently)"
671 | | )]
    | |__^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\hints.rs:192:1
    |
192 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\hints.rs:244:1
    |
244 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\hints.rs:297:1
    |
297 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
 --> src\tools\cargo\tests\testsuite\lints\blanket_hint_mostly_unused.rs:5:1
  |
5 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\lints\blanket_hint_mostly_unused.rs:47:1
   |
47 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\lints\blanket_hint_mostly_unused.rs:86:1
   |
86 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\lints\blanket_hint_mostly_unused.rs:125:1
    |
125 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\lints\blanket_hint_mostly_unused.rs:173:1
    |
173 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\lints\non_kebab_case_bins.rs:139:1
    |
139 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\lints\non_kebab_case_packages.rs:46:1
   |
46 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\lints\non_snake_case_packages.rs:46:1
   |
46 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\lints\mod.rs:409:1
    |
409 | #[cargo_test(nightly, reason = "-Zrustc-unicode is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\lockfile_path.rs:387:1
    |
387 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\message_format.rs:169:1
    |
169 | #[cargo_test(nightly, reason = "-Zrustc-unicode is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\new.rs:119:1
    |
119 | #[cargo_test(requires = "hg")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:68:1
   |
68 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:94:1
   |
94 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:140:1
    |
140 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:169:1
    |
169 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:202:1
    |
202 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:249:1
    |
249 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:321:1
    |
321 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:371:1
    |
371 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:416:1
    |
416 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:462:1
    |
462 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profile_trim_paths.rs:717:1
    |
717 | #[cargo_test(nightly, reason = "--remap-path-scope will be stabilized in 1.95")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\profiles.rs:920:1
    |
920 | #[cargo_test(nightly, reason = "-Zhint-mostly-unused is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\script\cargo.rs:27:1
   |
27 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
  --> src\tools\cargo\tests\testsuite\script\cargo.rs:79:1
   |
79 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:104:1
    |
104 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:129:1
    |
129 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:225:1
    |
225 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:242:1
    |
242 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:278:1
    |
278 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:308:1
    |
308 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:339:1
    |
339 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:402:1
    |
402 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:447:1
    |
447 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:469:1
    |
469 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:491:1
    |
491 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:520:1
    |
520 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:546:1
    |
546 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:572:1
    |
572 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:598:1
    |
598 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:624:1
    |
624 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:650:1
    |
650 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:699:1
    |
699 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:723:1
    |
723 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:747:1
    |
747 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:770:1
    |
770 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:810:1
    |
810 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:826:1
    |
826 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:840:1
    |
840 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:855:1
    |
855 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:873:1
    |
873 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:891:1
    |
891 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:907:1
    |
907 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:923:1
    |
923 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:961:1
    |
961 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
   --> src\tools\cargo\tests\testsuite\script\cargo.rs:998:1
    |
998 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1027:1
     |
1027 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1056:1
     |
1056 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1085:1
     |
1085 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1115:1
     |
1115 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1147:1
     |
1147 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1179:1
     |
1179 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1218:1
     |
1218 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1250:1
     |
1250 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1282:1
     |
1282 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1314:1
     |
1314 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1346:1
     |
1346 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1378:1
     |
1378 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1408:1
     |
1408 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1438:1
     |
1438 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1468:1
     |
1468 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1498:1
     |
1498 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1528:1
     |
1528 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1558:1
     |
1558 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1588:1
     |
1588 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1614:1
     |
1614 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1645:1
     |
1645 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1662:1
     |
1662 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1680:1
     |
1680 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1700:1
     |
1700 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1715:1
     |
1715 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1730:1
     |
1730 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1750:1
     |
1750 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1779:1
     |
1779 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1803:1
     |
1803 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1821:1
     |
1821 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1910:1
     |
1910 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1973:1
     |
1973 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:1998:1
     |
1998 | #[cargo_test(nightly, reason = "-Zscript is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\script\cargo.rs:2018:1
     |
---

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\test.rs:5017:1
     |
5017 | #[cargo_test(nightly, reason = "-Zpanic-abort-tests in rustc is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\test.rs:5068:1
     |
5068 | #[cargo_test] // Unlike with rustc, `rustdoc --test -Cpanic=abort` already works on stable
     | ^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\test.rs:5106:1
     |
5106 | #[cargo_test(nightly, reason = "-Zpanic-abort-tests in rustc is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
    --> src\tools\cargo\tests\testsuite\test.rs:5146:1
     |
5146 | #[cargo_test(nightly, reason = "-Zpanic-abort-tests in rustc is unstable")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: message: LazyLock instance has previously been poisoned

error: custom attribute panicked
---
   |
10 | use cargo_test_support::str;
   |     ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused imports: `basic_bin_manifest`, `basic_manifest`, `cross_compile`, `project`, `publish`, `registry`, and `rustc_host`
  --> src\tools\cargo\tests\testsuite\artifact_dep.rs:12:14
   |
12 |     Project, basic_bin_manifest, basic_manifest, cross_compile, project, publish, registry,
   |              ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^
13 |     rustc_host,
   |     ^^^^^^^^^^
---
   |
19 | use cargo_test_support::str;
   |     ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused imports: `ProjectBuilder`, `basic_bin_manifest`, `basic_lib_manifest`, `basic_manifest`, `git`, `is_nightly`, `main_file`, `paths`, `process`, `project`, `rustc_host`, `sleep_ms`, `symlink_supported`, and `t`
  --> src\tools\cargo\tests\testsuite\build.rs:21:12
   |
21 |     Execs, ProjectBuilder, basic_bin_manifest, basic_lib_manifest, basic_manifest, git, is_nightly,
   |            ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^  ^^^^^^^^^^
22 |     main_file, paths, process, project, rustc_host, sleep_ms, symlink_supported, t,
   |     ^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^

warning: unused import: `cargo_util_terminal::Shell`
  --> src\tools\cargo\tests\testsuite\build.rs:25:5
   |
---
   |
15 | use cargo_test_support::{paths, prelude::*, project, str};
   |                          ^^^^^              ^^^^^^^  ^^^

warning: unused imports: `DLL_PREFIX`, `DLL_SUFFIX`, and `EXE_SUFFIX`
  --> src\tools\cargo\tests\testsuite\build_dir.rs:16:24
   |

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 12, 2026
@rust-bors

rust-bors Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 88446ba failed: CI. Failed job:

@jhpratt jhpratt closed this Jun 12, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 12, 2026
@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jun 12, 2026
@rust-bors

rust-bors Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

PR #155439, which is a member of this rollup, was unapproved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-compiletest Area: The compiletest test runner A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-testsuite Area: The testsuite used to check the correctness of rustc F-autodiff `#![feature(autodiff)]` O-SGX Target: SGX O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface O-wasm Target: WASM (WebAssembly), http://webassembly.org/ O-windows Operating system: Windows rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.