Skip to content

Add post-mono MIR optimizations #131650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

saethlin
Copy link
Member

@saethlin saethlin commented Oct 13, 2024

Before this PR, all MIR passes had to operate on polymorphic MIR. Thus any MIR transform maybe unable to determine the type of an argument or local (because it's still generic) or it may be unable to determine which function a Call terminator is calling (because it's still generic).

MIR transforms are a highly maintainable solution to a number of compiler problems, but this polymorphic limitation means that they are cannot solve some of our problems that we'd like them to; the most recent examples that come to mind are #134082 which has extra limitations because of the polymorphic inliner, and #139088 which is explicitly waiting for post-mono MIR passes to happen.

In addition, the lack of post-mono MIR optimizations means that MIR optimizations just miss out on profitable optimizations, which are so valuable that we've added kludges like #121421 (a MIR traversal that you better only run at mono-time).

In addition, rustc_codegen_ssa is riddled with on-the-fly monomorphization and optimization; the logic for these tricks that we do during codegen in my experience are hard to maintain, and I would much rather have those implemented in a MIR transform.

So this PR adds a new query codegen_mir (the MIR for codegen, not that I like the name). I've then replaced some of the kludges in rustc_codegen_ssa with PostMono variants of existing MIR transforms.

I've also un-querified check_mono_item and put it at the end of the post-mono pass list. Those checks should be post-mono passes too, but I've tried to keep this PR to a reviewable size. It's easy to imagine lots of other places to use post-mono MIR opts and I want the usefulness of this to be clear while the diff is also manageable.


This PR has a perf regression. I've hammered on the perf in a number of ways to get it down to what it is. incr-full builds suffer the most because they need to clone, intern, and cache a monomorphized copy of every MIR body. Things are mixed for every other build scenario. In almost all cases, binary sizes improve.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 13, 2024
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the PG-exploit-mitigations Project group: Exploit mitigations label Oct 13, 2024
@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Oct 13, 2024
@bors
Copy link
Collaborator

bors commented Oct 13, 2024

⌛ Trying commit a211812 with merge b141564...

bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 13, 2024
Add post-mono MIR passes to make mono-reachable analysis more accurate

r? ghost
@bors
Copy link
Collaborator

bors commented Oct 13, 2024

☀️ Try build successful - checks-actions
Build commit: b141564 (b1415647cdfcdd1b8dc5ed5f9a5aba87ade0b225)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (b141564): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
12.2% [0.2%, 93.7%] 163
Regressions ❌
(secondary)
6.9% [0.2%, 266.3%] 119
Improvements ✅
(primary)
-0.7% [-3.0%, -0.2%] 6
Improvements ✅
(secondary)
-11.1% [-33.8%, -0.2%] 12
All ❌✅ (primary) 11.7% [-3.0%, 93.7%] 169

Max RSS (memory usage)

Results (primary 14.5%, secondary 1.7%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
14.5% [0.7%, 56.9%] 108
Regressions ❌
(secondary)
4.5% [0.6%, 12.8%] 34
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-22.2% [-24.2%, -19.2%] 4
All ❌✅ (primary) 14.5% [0.7%, 56.9%] 108

Cycles

Results (primary 22.8%, secondary 13.8%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
23.0% [0.8%, 108.5%] 111
Regressions ❌
(secondary)
19.4% [1.0%, 223.4%] 42
Improvements ✅
(primary)
-3.0% [-3.0%, -3.0%] 1
Improvements ✅
(secondary)
-33.2% [-42.8%, -1.3%] 5
All ❌✅ (primary) 22.8% [-3.0%, 108.5%] 112

Binary size

Results (primary -0.3%, secondary -2.3%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.8% [0.0%, 2.3%] 7
Regressions ❌
(secondary)
0.1% [0.1%, 0.1%] 1
Improvements ✅
(primary)
-0.4% [-1.7%, -0.0%] 76
Improvements ✅
(secondary)
-2.4% [-25.8%, -0.0%] 65
All ❌✅ (primary) -0.3% [-1.7%, 2.3%] 83

Bootstrap: 781.427s -> 807.023s (3.28%)
Artifact size: 331.96 MiB -> 332.21 MiB (0.08%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Oct 13, 2024
@saethlin
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Oct 14, 2024
@bors
Copy link
Collaborator

bors commented Oct 14, 2024

⌛ Trying commit 6f6737a with merge 9233d9f...

bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 14, 2024
Add post-mono MIR passes to make mono-reachable analysis more accurate

r? ghost
@bors
Copy link
Collaborator

bors commented Oct 14, 2024

☀️ Try build successful - checks-actions
Build commit: 9233d9f (9233d9f83ca672be3b2cfa697806fdb7c8970490)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (9233d9f): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
7.6% [0.1%, 59.9%] 151
Regressions ❌
(secondary)
2.9% [0.2%, 18.7%] 107
Improvements ✅
(primary)
-3.0% [-3.0%, -3.0%] 1
Improvements ✅
(secondary)
-6.6% [-64.0%, -0.3%] 11
All ❌✅ (primary) 7.5% [-3.0%, 59.9%] 152

Max RSS (memory usage)

Results (primary 11.3%, secondary 2.4%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
12.9% [1.3%, 52.1%] 93
Regressions ❌
(secondary)
3.6% [2.2%, 5.9%] 10
Improvements ✅
(primary)
-2.7% [-4.3%, -0.8%] 10
Improvements ✅
(secondary)
-3.4% [-3.5%, -3.4%] 2
All ❌✅ (primary) 11.3% [-4.3%, 52.1%] 103

Cycles

Results (primary 10.6%, secondary 3.2%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
10.7% [1.0%, 50.1%] 94
Regressions ❌
(secondary)
5.4% [1.7%, 18.4%] 37
Improvements ✅
(primary)
-3.1% [-3.1%, -3.1%] 1
Improvements ✅
(secondary)
-17.2% [-62.3%, -1.6%] 4
All ❌✅ (primary) 10.6% [-3.1%, 50.1%] 95

Binary size

Results (primary -0.1%, secondary -0.3%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.7% [0.0%, 2.4%] 9
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.2% [-0.8%, -0.0%] 69
Improvements ✅
(secondary)
-0.3% [-0.8%, -0.0%] 51
All ❌✅ (primary) -0.1% [-0.8%, 2.4%] 78

Bootstrap: 782.104s -> 806.252s (3.09%)
Artifact size: 332.57 MiB -> 332.81 MiB (0.07%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Oct 14, 2024
@saethlin
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Oct 24, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 24, 2024
Add post-mono MIR passes to make mono-reachable analysis more accurate

As of rust-lang#131650 (comment) I believe most of the incr overhead comes from re-computing, re-encoding, and loading a lot more MIR when all we're actually doing is traversing through it. I think that can be addressed by caching a query that looks up the mentioned/used items for an Instance.

I think the full-build regressions are pretty much just the expense of cloning, then monomorphizing, then caching the MIR.
@bors
Copy link
Collaborator

bors commented Oct 24, 2024

⌛ Trying commit 4ae3542 with merge 174810c...

@bors
Copy link
Collaborator

bors commented May 1, 2025

☀️ Try build successful - checks-actions
Build commit: 55dc611 (55dc6112586ae887a7811648b0a8a05e1ac90162)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (55dc611): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
0.7% [0.1%, 2.0%] 81
Regressions ❌
(secondary)
1.2% [0.1%, 19.1%] 35
Improvements ✅
(primary)
-0.3% [-0.5%, -0.2%] 12
Improvements ✅
(secondary)
-0.7% [-2.9%, -0.2%] 7
All ❌✅ (primary) 0.6% [-0.5%, 2.0%] 93

Max RSS (memory usage)

Results (primary 5.3%, secondary 3.5%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
6.2% [0.4%, 21.2%] 64
Regressions ❌
(secondary)
3.5% [2.7%, 5.2%] 6
Improvements ✅
(primary)
-2.0% [-10.5%, -0.4%] 8
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 5.3% [-10.5%, 21.2%] 72

Cycles

Results (primary 1.2%, secondary 1.6%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
1.2% [0.4%, 3.5%] 69
Regressions ❌
(secondary)
4.3% [0.8%, 17.8%] 7
Improvements ✅
(primary)
-0.8% [-1.0%, -0.6%] 2
Improvements ✅
(secondary)
-3.1% [-4.0%, -1.8%] 4
All ❌✅ (primary) 1.2% [-1.0%, 3.5%] 71

Binary size

Results (primary -0.3%, secondary -0.3%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.4% [0.1%, 1.3%] 7
Regressions ❌
(secondary)
0.1% [0.1%, 0.1%] 1
Improvements ✅
(primary)
-0.3% [-1.0%, -0.0%] 91
Improvements ✅
(secondary)
-0.4% [-0.8%, -0.0%] 54
All ❌✅ (primary) -0.3% [-1.0%, 1.3%] 98

Bootstrap: 767.686s -> 779.637s (1.56%)
Artifact size: 365.62 MiB -> 365.12 MiB (-0.14%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 1, 2025
@saethlin saethlin removed the PG-exploit-mitigations Project group: Exploit mitigations label May 1, 2025
@saethlin
Copy link
Member Author

saethlin commented May 1, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 1, 2025
@bors
Copy link
Collaborator

bors commented May 1, 2025

⌛ Trying commit 88c82b1 with merge dded8b5...

bors added a commit to rust-lang-ci/rust that referenced this pull request May 1, 2025
Add post-mono MIR optimizations

Before this PR, all MIR passes had to operate on polymorphic MIR. Thus any MIR transform maybe unable to determine the type of an argument or local (because it's still generic) or it may be unable to determine which function a Call terminator is calling (because it's still generic).

MIR transforms are a highly maintainable solution to a number of compiler problems, but this polymorphic limitation means that they are cannot solve some of our problems that we'd like them to; the most recent examples that come to mind are rust-lang#134082 which has extra limitations because of the polymorphic inliner, and rust-lang#139088 which is explicitly waiting for post-mono MIR passes to happen.

In addition, the lack of post-mono MIR optimizations means that MIR optimizations just miss out on profitable optimizations, which are so valuable that we've added kludges like rust-lang#121421 (a MIR traversal that you better only run at mono-time).

In addition, rustc_codegen_ssa is riddled with on-the-fly monomorphization and optimization; the logic for these trick that we do in codegen in my experience are hard to maintain, and I would much rather have those implemented in a MIR transform.

So this PR adds a new query `codegen_mir` (the MIR for codegen, not that I like the name). I've then replaced _some_ of the kludges in rustc_codegen_ssa with `PostMono` variants of existing MIR transforms.

I've also un-querified `check_mono_item` and put it at the end of the post-mono pass list. Those checks should be post-mono passes too, but I've tried to keep this PR to a reviewable size. It's easy to imagine lots of other places to use post-mono MIR opts and I want the usefulness of this to be clear while the diff is also manageable.

---

This PR has a perf regression. I've hammered on the perf in a number of ways to get it down to what it is. incr-full builds suffer the most because they need to clone, intern, and cache a monomorphized copy of every MIR body. Things are mixed for every other build scenario. In almost all cases, binary sizes improve.
@bors
Copy link
Collaborator

bors commented May 2, 2025

☀️ Try build successful - checks-actions
Build commit: dded8b5 (dded8b513c1e02ad9c0ba757beae7259116852fb)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (dded8b5): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
0.7% [0.1%, 1.9%] 88
Regressions ❌
(secondary)
1.4% [0.1%, 19.2%] 25
Improvements ✅
(primary)
-0.4% [-0.6%, -0.2%] 12
Improvements ✅
(secondary)
-0.8% [-2.9%, -0.3%] 6
All ❌✅ (primary) 0.5% [-0.6%, 1.9%] 100

Max RSS (memory usage)

Results (primary 5.7%, secondary 1.9%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
6.9% [0.4%, 28.8%] 67
Regressions ❌
(secondary)
3.1% [2.2%, 3.9%] 6
Improvements ✅
(primary)
-1.5% [-10.7%, -0.4%] 11
Improvements ✅
(secondary)
-1.7% [-2.0%, -1.4%] 2
All ❌✅ (primary) 5.7% [-10.7%, 28.8%] 78

Cycles

Results (primary 1.2%, secondary 3.3%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
1.6% [0.4%, 3.4%] 49
Regressions ❌
(secondary)
3.9% [0.9%, 17.9%] 8
Improvements ✅
(primary)
-0.7% [-1.2%, -0.4%] 9
Improvements ✅
(secondary)
-1.9% [-1.9%, -1.9%] 1
All ❌✅ (primary) 1.2% [-1.2%, 3.4%] 58

Binary size

Results (primary -0.1%, secondary -0.1%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.2% [0.0%, 1.9%] 64
Regressions ❌
(secondary)
0.1% [0.0%, 0.4%] 40
Improvements ✅
(primary)
-0.4% [-1.0%, -0.0%] 82
Improvements ✅
(secondary)
-0.3% [-0.8%, -0.0%] 55
All ❌✅ (primary) -0.1% [-1.0%, 1.9%] 146

Bootstrap: 767.941s -> 778.442s (1.37%)
Artifact size: 365.55 MiB -> 365.05 MiB (-0.14%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 2, 2025
@saethlin
Copy link
Member Author

saethlin commented May 3, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 3, 2025
@bors
Copy link
Collaborator

bors commented May 3, 2025

⌛ Trying commit ddd6abb with merge 45b94dd...

bors added a commit to rust-lang-ci/rust that referenced this pull request May 3, 2025
Add post-mono MIR optimizations

Before this PR, all MIR passes had to operate on polymorphic MIR. Thus any MIR transform maybe unable to determine the type of an argument or local (because it's still generic) or it may be unable to determine which function a Call terminator is calling (because it's still generic).

MIR transforms are a highly maintainable solution to a number of compiler problems, but this polymorphic limitation means that they are cannot solve some of our problems that we'd like them to; the most recent examples that come to mind are rust-lang#134082 which has extra limitations because of the polymorphic inliner, and rust-lang#139088 which is explicitly waiting for post-mono MIR passes to happen.

In addition, the lack of post-mono MIR optimizations means that MIR optimizations just miss out on profitable optimizations, which are so valuable that we've added kludges like rust-lang#121421 (a MIR traversal that you better only run at mono-time).

In addition, rustc_codegen_ssa is riddled with on-the-fly monomorphization and optimization; the logic for these tricks that we do during codegen in my experience are hard to maintain, and I would much rather have those implemented in a MIR transform.

So this PR adds a new query `codegen_mir` (the MIR for codegen, not that I like the name). I've then replaced _some_ of the kludges in rustc_codegen_ssa with `PostMono` variants of existing MIR transforms.

I've also un-querified `check_mono_item` and put it at the end of the post-mono pass list. Those checks should be post-mono passes too, but I've tried to keep this PR to a reviewable size. It's easy to imagine lots of other places to use post-mono MIR opts and I want the usefulness of this to be clear while the diff is also manageable.

---

This PR has a perf regression. I've hammered on the perf in a number of ways to get it down to what it is. incr-full builds suffer the most because they need to clone, intern, and cache a monomorphized copy of every MIR body. Things are mixed for every other build scenario. In almost all cases, binary sizes improve.
@bors
Copy link
Collaborator

bors commented May 3, 2025

☀️ Try build successful - checks-actions
Build commit: 45b94dd (45b94dd98018f2609b43a8d8e08ec5432b9e0647)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (45b94dd): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
0.6% [0.2%, 2.8%] 73
Regressions ❌
(secondary)
1.6% [0.1%, 19.0%] 17
Improvements ✅
(primary)
-0.3% [-0.5%, -0.2%] 5
Improvements ✅
(secondary)
-0.5% [-0.5%, -0.5%] 1
All ❌✅ (primary) 0.5% [-0.5%, 2.8%] 78

Max RSS (memory usage)

Results (primary 4.6%, secondary 3.2%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
4.7% [0.4%, 27.8%] 111
Regressions ❌
(secondary)
3.2% [2.3%, 4.0%] 7
Improvements ✅
(primary)
-1.5% [-2.5%, -0.6%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 4.6% [-2.5%, 27.8%] 113

Cycles

Results (primary 0.6%, secondary 9.9%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
1.1% [0.4%, 2.7%] 44
Regressions ❌
(secondary)
9.9% [2.0%, 17.7%] 2
Improvements ✅
(primary)
-1.3% [-4.2%, -0.4%] 11
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.6% [-4.2%, 2.7%] 55

Binary size

Results (primary -0.1%, secondary 0.0%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.1% [0.0%, 1.3%] 62
Regressions ❌
(secondary)
0.1% [0.0%, 0.4%] 40
Improvements ✅
(primary)
-0.3% [-1.0%, -0.0%] 69
Improvements ✅
(secondary)
-0.1% [-0.4%, -0.0%] 53
All ❌✅ (primary) -0.1% [-1.0%, 1.3%] 131

Bootstrap: 769.328s -> 778.616s (1.21%)
Artifact size: 365.53 MiB -> 365.24 MiB (-0.08%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 3, 2025
@saethlin saethlin force-pushed the post-mono-mir-opts branch from ddd6abb to 0f1e90f Compare May 16, 2025 07:19
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-19 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#18 exporting to docker image format
#18 sending tarball 20.4s done
#18 DONE 27.2s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-19]
[CI_JOB_NAME=x86_64-gnu-llvm-19]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-19', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--set', 'gcc.download-ci-gcc=true', '--enable-new-symbol-mangling']
configure: build.build          := x86_64-unknown-linux-gnu
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-19/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---
[RUSTC-TIMING] build_script_build test:false 0.180
[RUSTC-TIMING] cc test:false 0.530
   Compiling compiler_builtins v0.1.159
[RUSTC-TIMING] build_script_build test:false 0.290
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5: `tcx.check_mono_item(Instance { def: Item(DefId(0:27082 ~ core[a28d]::f32::{impl#0}::clamp::do_panic::runtime)), args: [] })` is not supported for this key;
                                hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.
                                If that's not the case, check_mono_item was likely never assigned to a provider function.


thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>
stack backtrace:
   0:     0x7ff19db0b904 - <<std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5399894434fbec0e]::fmt::Display>::fmt
   1:     0x7ff19db65ff3 - core[5399894434fbec0e]::fmt::write
   2:     0x7ff19daff2d9 - <std[97575463abcf64a5]::sys::stdio::unix::Stderr as std[97575463abcf64a5]::io::Write>::write_fmt
   3:     0x7ff19db0b7b2 - <std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print
   4:     0x7ff19db0fd79 - std[97575463abcf64a5]::panicking::default_hook::{closure#0}
   5:     0x7ff19db0fb12 - std[97575463abcf64a5]::panicking::default_hook
   6:     0x7ff199823b35 - std[97575463abcf64a5]::panicking::update_hook::<alloc[55daa3099f06b8bf]::boxed::Box<rustc_driver_impl[c48961f641be844c]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x7ff19db108e3 - std[97575463abcf64a5]::panicking::rust_panic_with_hook
   8:     0x7ff19d6392c3 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}
   9:     0x7ff19d637e96 - std[97575463abcf64a5]::sys::backtrace::__rust_end_short_backtrace::<std[97575463abcf64a5]::panicking::begin_panic<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}, !>
  10:     0x7ff199785397 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>
  11:     0x7ff19977ea72 - <rustc_errors[53a238f12489ed95]::diagnostic::BugAbort as rustc_errors[53a238f12489ed95]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  12:     0x7ff19d332cb5 - rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt::<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}
  13:     0x7ff19d324c89 - rustc_middle[343f04f986373764]::ty::context::tls::with_opt::<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  14:     0x7ff19d324c26 - rustc_middle[343f04f986373764]::ty::context::tls::with_context_opt::<rustc_middle[343f04f986373764]::ty::context::tls::with_opt<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  15:     0x7ff199746172 - rustc_middle[343f04f986373764]::util::bug::bug_fmt
  16:     0x7ff1997459c3 - rustc_middle[343f04f986373764]::query::plumbing::default_query
  17:     0x7ff199748d50 - <<rustc_middle[343f04f986373764]::query::Providers as core[5399894434fbec0e]::default::Default>::default::{closure#306} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  18:     0x7ff19c120535 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  19:     0x7ff19c01adf4 - <rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  20:     0x7ff19c0bfb63 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_load_from_disk_and_cache_in_memory<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  21:     0x7ff19bf89b2f - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  22:     0x7ff19c365ac8 - rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7ff19a7ab8f0 - rustc_monomorphize[50541ae29f73954b]::collector::items_of_instance
  24:     0x7ff19c127c07 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  25:     0x7ff19c02a47c - <rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, (rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode))>>::call_once
  26:     0x7ff19c0bf78b - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_type_ir[58de3b956ef95d59]::canonical::CanonicalQueryInput<rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::ParamEnvAnd<rustc_middle[343f04f986373764]::ty::Ty>>, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  27:     0x7ff19bfad3d2 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<(rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode), rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  28:     0x7ff19c20048c - rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7ff19a7aeff6 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_rec
  30:     0x7ff19a7a6044 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_root
  31:     0x7ff19a7c8ff8 - <rustc_data_structures[1bc660093b22cf17]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  32:     0x7ff19a7f6612 - <alloc[55daa3099f06b8bf]::vec::into_iter::IntoIter<rustc_middle[343f04f986373764]::mir::mono::MonoItem> as core[5399894434fbec0e]::iter::traits::iterator::Iterator>::fold::<(), core[5399894434fbec0e]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[343f04f986373764]::mir::mono::MonoItem, rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}>::{closure#0}>
  33:     0x7ff19a7c8b6b - <rustc_session[d3e46691c7f3a008]::session::Session>::time::<(), rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7ff19a7b5dd0 - rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items
  35:     0x7ff19a7c6427 - rustc_monomorphize[50541ae29f73954b]::partitioning::collect_and_partition_mono_items
  36:     0x7ff19c13cc85 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  37:     0x7ff19c0578ab - <rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, ())>>::call_once
  38:     0x7ff19c0bed7a - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  39:     0x7ff19bf45f65 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  40:     0x7ff19c3cf815 - rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7ff19c4c8ff7 - rustc_codegen_ssa[ff0d4c40ace32c88]::back::symbol_export::exported_symbols_provider_local
  42:     0x7ff19c1235c6 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  43:     0x7ff19c02131f - <rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_span[e9e369b6dc830612]::def_id::CrateNum)>>::call_once
  44:     0x7ff19c0c038e - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7ff19bfc0acc - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  46:     0x7ff19c3cf716 - rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  47:     0x7ff19cbea7cd - <rustc_metadata[a7a9574b903d863]::rmeta::encoder::EncodeContext>::encode_crate_root
  48:     0x7ff19971b7bc - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata::{closure#2}
  49:     0x7ff19cbfbb9a - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata
  50:     0x7ff19cccb5fa - rustc_metadata[a7a9574b903d863]::fs::encode_and_write_metadata
  51:     0x7ff199b91b26 - rustc_interface[7c6629c085fdbbba]::passes::start_codegen
  52:     0x7ff199afa8d2 - <rustc_interface[7c6629c085fdbbba]::queries::Linker>::codegen_and_build_linker
  53:     0x7ff1998185b7 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>::enter<rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#1}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>
  54:     0x7ff19989e581 - <rustc_middle[343f04f986373764]::ty::context::TyCtxt>::create_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  55:     0x7ff199862a3e - <rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  56:     0x7ff19982cc56 - <alloc[55daa3099f06b8bf]::boxed::Box<dyn for<'a> core[5399894434fbec0e]::ops::function::FnOnce<(&'a rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &'a std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena<'a>>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}), Output = core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>> as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once
  57:     0x7ff19986104e - rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>
  58:     0x7ff1998c26da - <scoped_tls[a71267bcf1a6d918]::ScopedKey<rustc_span[e9e369b6dc830612]::SessionGlobals>>::set::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  59:     0x7ff19983be01 - std[97575463abcf64a5]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  60:     0x7ff199888612 - <<std[97575463abcf64a5]::thread::Builder>::spawn_unchecked_<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[5399894434fbec0e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:     0x7ff19db14295 - <std[97575463abcf64a5]::sys::pal::unix::thread::Thread>::new::thread_start
  62:     0x7ff198a7de2e - <unknown>
  63:     0x7ff198b0fa4c - <unknown>
  64:                0x0 - <unknown>

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

warning: the ICE couldn't be written to `/checkout/rustc-ice-2025-05-16T07_29_25-12408.txt`: Read-only file system (os error 30)

note: rustc 1.89.0-nightly (4fa1cf840 2025-05-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C symbol-mangling-version=v0 -Z randomize-layout -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [check_mono_item] monomorphization-time checking
#1 [items_of_instance] collecting items used by `f32::<impl at library/core/src/num/f32.rs:387:1: 387:9>::clamp::do_panic::runtime`
... and 2 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5: `tcx.check_mono_item(Instance { def: Item(DefId(0:27085 ~ core[a28d]::f64::{impl#0}::clamp::do_panic::runtime)), args: [] })` is not supported for this key;
                                hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.
                                If that's not the case, check_mono_item was likely never assigned to a provider function.


thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>
stack backtrace:
   0:     0x7ff19db0b904 - <<std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5399894434fbec0e]::fmt::Display>::fmt
   1:     0x7ff19db65ff3 - core[5399894434fbec0e]::fmt::write
   2:     0x7ff19daff2d9 - <std[97575463abcf64a5]::sys::stdio::unix::Stderr as std[97575463abcf64a5]::io::Write>::write_fmt
   3:     0x7ff19db0b7b2 - <std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print
   4:     0x7ff19db0fd79 - std[97575463abcf64a5]::panicking::default_hook::{closure#0}
   5:     0x7ff19db0fb12 - std[97575463abcf64a5]::panicking::default_hook
   6:     0x7ff199823b35 - std[97575463abcf64a5]::panicking::update_hook::<alloc[55daa3099f06b8bf]::boxed::Box<rustc_driver_impl[c48961f641be844c]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x7ff19db108e3 - std[97575463abcf64a5]::panicking::rust_panic_with_hook
   8:     0x7ff19d6392c3 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}
   9:     0x7ff19d637e96 - std[97575463abcf64a5]::sys::backtrace::__rust_end_short_backtrace::<std[97575463abcf64a5]::panicking::begin_panic<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}, !>
  10:     0x7ff199785397 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>
  11:     0x7ff19977ea72 - <rustc_errors[53a238f12489ed95]::diagnostic::BugAbort as rustc_errors[53a238f12489ed95]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  12:     0x7ff19d332cb5 - rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt::<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}
  13:     0x7ff19d324c89 - rustc_middle[343f04f986373764]::ty::context::tls::with_opt::<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  14:     0x7ff19d324c26 - rustc_middle[343f04f986373764]::ty::context::tls::with_context_opt::<rustc_middle[343f04f986373764]::ty::context::tls::with_opt<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  15:     0x7ff199746172 - rustc_middle[343f04f986373764]::util::bug::bug_fmt
  16:     0x7ff1997459c3 - rustc_middle[343f04f986373764]::query::plumbing::default_query
  17:     0x7ff199748d50 - <<rustc_middle[343f04f986373764]::query::Providers as core[5399894434fbec0e]::default::Default>::default::{closure#306} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  18:     0x7ff19c120535 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  19:     0x7ff19c01adf4 - <rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  20:     0x7ff19c0bfb63 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_load_from_disk_and_cache_in_memory<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  21:     0x7ff19bf89b2f - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  22:     0x7ff19c365ac8 - rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7ff19a7ab8f0 - rustc_monomorphize[50541ae29f73954b]::collector::items_of_instance
  24:     0x7ff19c127c07 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  25:     0x7ff19c02a47c - <rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, (rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode))>>::call_once
  26:     0x7ff19c0bf78b - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_type_ir[58de3b956ef95d59]::canonical::CanonicalQueryInput<rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::ParamEnvAnd<rustc_middle[343f04f986373764]::ty::Ty>>, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  27:     0x7ff19bfad3d2 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<(rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode), rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  28:     0x7ff19c20048c - rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7ff19a7aeff6 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_rec
  30:     0x7ff19a7a6044 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_root
  31:     0x7ff19a7c8ff8 - <rustc_data_structures[1bc660093b22cf17]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  32:     0x7ff19a7f6612 - <alloc[55daa3099f06b8bf]::vec::into_iter::IntoIter<rustc_middle[343f04f986373764]::mir::mono::MonoItem> as core[5399894434fbec0e]::iter::traits::iterator::Iterator>::fold::<(), core[5399894434fbec0e]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[343f04f986373764]::mir::mono::MonoItem, rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}>::{closure#0}>
  33:     0x7ff19a7c8b6b - <rustc_session[d3e46691c7f3a008]::session::Session>::time::<(), rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7ff19a7b5dd0 - rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items
  35:     0x7ff19a7c6427 - rustc_monomorphize[50541ae29f73954b]::partitioning::collect_and_partition_mono_items
  36:     0x7ff19c13cc85 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  37:     0x7ff19c0578ab - <rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, ())>>::call_once
  38:     0x7ff19c0bed7a - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  39:     0x7ff19bf45f65 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  40:     0x7ff19c3cf815 - rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7ff19c4c8ff7 - rustc_codegen_ssa[ff0d4c40ace32c88]::back::symbol_export::exported_symbols_provider_local
  42:     0x7ff19c1235c6 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  43:     0x7ff19c02131f - <rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_span[e9e369b6dc830612]::def_id::CrateNum)>>::call_once
  44:     0x7ff19c0c038e - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7ff19bfc0acc - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  46:     0x7ff19c3cf716 - rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  47:     0x7ff19cbea7cd - <rustc_metadata[a7a9574b903d863]::rmeta::encoder::EncodeContext>::encode_crate_root
  48:     0x7ff19971b7bc - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata::{closure#2}
  49:     0x7ff19cbfbb9a - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata
  50:     0x7ff19cccb5fa - rustc_metadata[a7a9574b903d863]::fs::encode_and_write_metadata
  51:     0x7ff199b91b26 - rustc_interface[7c6629c085fdbbba]::passes::start_codegen
  52:     0x7ff199afa8d2 - <rustc_interface[7c6629c085fdbbba]::queries::Linker>::codegen_and_build_linker
  53:     0x7ff1998185b7 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>::enter<rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#1}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>
  54:     0x7ff19989e581 - <rustc_middle[343f04f986373764]::ty::context::TyCtxt>::create_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  55:     0x7ff199862a3e - <rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  56:     0x7ff19982cc56 - <alloc[55daa3099f06b8bf]::boxed::Box<dyn for<'a> core[5399894434fbec0e]::ops::function::FnOnce<(&'a rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &'a std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena<'a>>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}), Output = core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>> as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once
  57:     0x7ff19986104e - rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>
  58:     0x7ff1998c26da - <scoped_tls[a71267bcf1a6d918]::ScopedKey<rustc_span[e9e369b6dc830612]::SessionGlobals>>::set::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  59:     0x7ff19983be01 - std[97575463abcf64a5]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  60:     0x7ff199888612 - <<std[97575463abcf64a5]::thread::Builder>::spawn_unchecked_<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[5399894434fbec0e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:     0x7ff19db14295 - <std[97575463abcf64a5]::sys::pal::unix::thread::Thread>::new::thread_start
  62:     0x7ff198a7de2e - <unknown>
  63:     0x7ff198b0fa4c - <unknown>
  64:                0x0 - <unknown>

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

warning: the ICE couldn't be written to `/checkout/rustc-ice-2025-05-16T07_29_25-12408.txt`: Read-only file system (os error 30)

note: rustc 1.89.0-nightly (4fa1cf840 2025-05-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C symbol-mangling-version=v0 -Z randomize-layout -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [check_mono_item] monomorphization-time checking
#1 [items_of_instance] collecting items used by `f64::<impl at library/core/src/num/f64.rs:387:1: 387:9>::clamp::do_panic::runtime`
... and 2 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5: `tcx.check_mono_item(Instance { def: Item(DefId(0:595 ~ core[a28d]::num::dec2flt::decimal_seq::parse_decimal_seq)), args: [] })` is not supported for this key;
                                hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.
                                If that's not the case, check_mono_item was likely never assigned to a provider function.


thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>
stack backtrace:
   0:     0x7ff19db0b904 - <<std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5399894434fbec0e]::fmt::Display>::fmt
   1:     0x7ff19db65ff3 - core[5399894434fbec0e]::fmt::write
   2:     0x7ff19daff2d9 - <std[97575463abcf64a5]::sys::stdio::unix::Stderr as std[97575463abcf64a5]::io::Write>::write_fmt
   3:     0x7ff19db0b7b2 - <std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print
   4:     0x7ff19db0fd79 - std[97575463abcf64a5]::panicking::default_hook::{closure#0}
   5:     0x7ff19db0fb12 - std[97575463abcf64a5]::panicking::default_hook
   6:     0x7ff199823b35 - std[97575463abcf64a5]::panicking::update_hook::<alloc[55daa3099f06b8bf]::boxed::Box<rustc_driver_impl[c48961f641be844c]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x7ff19db108e3 - std[97575463abcf64a5]::panicking::rust_panic_with_hook
   8:     0x7ff19d6392c3 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}
   9:     0x7ff19d637e96 - std[97575463abcf64a5]::sys::backtrace::__rust_end_short_backtrace::<std[97575463abcf64a5]::panicking::begin_panic<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}, !>
  10:     0x7ff199785397 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>
  11:     0x7ff19977ea72 - <rustc_errors[53a238f12489ed95]::diagnostic::BugAbort as rustc_errors[53a238f12489ed95]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  12:     0x7ff19d332cb5 - rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt::<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}
  13:     0x7ff19d324c89 - rustc_middle[343f04f986373764]::ty::context::tls::with_opt::<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  14:     0x7ff19d324c26 - rustc_middle[343f04f986373764]::ty::context::tls::with_context_opt::<rustc_middle[343f04f986373764]::ty::context::tls::with_opt<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  15:     0x7ff199746172 - rustc_middle[343f04f986373764]::util::bug::bug_fmt
  16:     0x7ff1997459c3 - rustc_middle[343f04f986373764]::query::plumbing::default_query
  17:     0x7ff199748d50 - <<rustc_middle[343f04f986373764]::query::Providers as core[5399894434fbec0e]::default::Default>::default::{closure#306} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  18:     0x7ff19c120535 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  19:     0x7ff19c01adf4 - <rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  20:     0x7ff19c0bfb63 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_load_from_disk_and_cache_in_memory<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  21:     0x7ff19bf89b2f - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  22:     0x7ff19c365ac8 - rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7ff19a7ab8f0 - rustc_monomorphize[50541ae29f73954b]::collector::items_of_instance
  24:     0x7ff19c127c07 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  25:     0x7ff19c02a47c - <rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, (rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode))>>::call_once
  26:     0x7ff19c0bf78b - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_type_ir[58de3b956ef95d59]::canonical::CanonicalQueryInput<rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::ParamEnvAnd<rustc_middle[343f04f986373764]::ty::Ty>>, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  27:     0x7ff19bfad3d2 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<(rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode), rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  28:     0x7ff19c20048c - rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7ff19a7aeff6 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_rec
  30:     0x7ff19a7a6044 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_root
  31:     0x7ff19a7c8ff8 - <rustc_data_structures[1bc660093b22cf17]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  32:     0x7ff19a7f6612 - <alloc[55daa3099f06b8bf]::vec::into_iter::IntoIter<rustc_middle[343f04f986373764]::mir::mono::MonoItem> as core[5399894434fbec0e]::iter::traits::iterator::Iterator>::fold::<(), core[5399894434fbec0e]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[343f04f986373764]::mir::mono::MonoItem, rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}>::{closure#0}>
  33:     0x7ff19a7c8b6b - <rustc_session[d3e46691c7f3a008]::session::Session>::time::<(), rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7ff19a7b5dd0 - rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items
  35:     0x7ff19a7c6427 - rustc_monomorphize[50541ae29f73954b]::partitioning::collect_and_partition_mono_items
  36:     0x7ff19c13cc85 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  37:     0x7ff19c0578ab - <rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, ())>>::call_once
  38:     0x7ff19c0bed7a - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  39:     0x7ff19bf45f65 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  40:     0x7ff19c3cf815 - rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7ff19c4c8ff7 - rustc_codegen_ssa[ff0d4c40ace32c88]::back::symbol_export::exported_symbols_provider_local
  42:     0x7ff19c1235c6 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  43:     0x7ff19c02131f - <rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_span[e9e369b6dc830612]::def_id::CrateNum)>>::call_once
  44:     0x7ff19c0c038e - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7ff19bfc0acc - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  46:     0x7ff19c3cf716 - rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  47:     0x7ff19cbea7cd - <rustc_metadata[a7a9574b903d863]::rmeta::encoder::EncodeContext>::encode_crate_root
  48:     0x7ff19971b7bc - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata::{closure#2}
  49:     0x7ff19cbfbb9a - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata
  50:     0x7ff19cccb5fa - rustc_metadata[a7a9574b903d863]::fs::encode_and_write_metadata
  51:     0x7ff199b91b26 - rustc_interface[7c6629c085fdbbba]::passes::start_codegen
  52:     0x7ff199afa8d2 - <rustc_interface[7c6629c085fdbbba]::queries::Linker>::codegen_and_build_linker
  53:     0x7ff1998185b7 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>::enter<rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#1}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>
  54:     0x7ff19989e581 - <rustc_middle[343f04f986373764]::ty::context::TyCtxt>::create_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  55:     0x7ff199862a3e - <rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  56:     0x7ff19982cc56 - <alloc[55daa3099f06b8bf]::boxed::Box<dyn for<'a> core[5399894434fbec0e]::ops::function::FnOnce<(&'a rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &'a std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena<'a>>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}), Output = core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>> as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once
  57:     0x7ff19986104e - rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>
  58:     0x7ff1998c26da - <scoped_tls[a71267bcf1a6d918]::ScopedKey<rustc_span[e9e369b6dc830612]::SessionGlobals>>::set::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  59:     0x7ff19983be01 - std[97575463abcf64a5]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  60:     0x7ff199888612 - <<std[97575463abcf64a5]::thread::Builder>::spawn_unchecked_<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[5399894434fbec0e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:     0x7ff19db14295 - <std[97575463abcf64a5]::sys::pal::unix::thread::Thread>::new::thread_start
  62:     0x7ff198a7de2e - <unknown>
  63:     0x7ff198b0fa4c - <unknown>
  64:                0x0 - <unknown>

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

warning: the ICE couldn't be written to `/checkout/rustc-ice-2025-05-16T07_29_25-12408.txt`: Read-only file system (os error 30)

note: rustc 1.89.0-nightly (4fa1cf840 2025-05-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C symbol-mangling-version=v0 -Z randomize-layout -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [check_mono_item] monomorphization-time checking
#1 [items_of_instance] collecting items used by `num::dec2flt::decimal_seq::parse_decimal_seq`
... and 2 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5: `tcx.check_mono_item(Instance { def: Item(DefId(0:723 ~ core[a28d]::num::dec2flt::lemire::compute_product_approx)), args: [] })` is not supported for this key;
                                hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.
                                If that's not the case, check_mono_item was likely never assigned to a provider function.


thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>
stack backtrace:
   0:     0x7ff19db0b904 - <<std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5399894434fbec0e]::fmt::Display>::fmt
   1:     0x7ff19db65ff3 - core[5399894434fbec0e]::fmt::write
   2:     0x7ff19daff2d9 - <std[97575463abcf64a5]::sys::stdio::unix::Stderr as std[97575463abcf64a5]::io::Write>::write_fmt
   3:     0x7ff19db0b7b2 - <std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print
   4:     0x7ff19db0fd79 - std[97575463abcf64a5]::panicking::default_hook::{closure#0}
   5:     0x7ff19db0fb12 - std[97575463abcf64a5]::panicking::default_hook
   6:     0x7ff199823b35 - std[97575463abcf64a5]::panicking::update_hook::<alloc[55daa3099f06b8bf]::boxed::Box<rustc_driver_impl[c48961f641be844c]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x7ff19db108e3 - std[97575463abcf64a5]::panicking::rust_panic_with_hook
   8:     0x7ff19d6392c3 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}
   9:     0x7ff19d637e96 - std[97575463abcf64a5]::sys::backtrace::__rust_end_short_backtrace::<std[97575463abcf64a5]::panicking::begin_panic<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}, !>
  10:     0x7ff199785397 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>
  11:     0x7ff19977ea72 - <rustc_errors[53a238f12489ed95]::diagnostic::BugAbort as rustc_errors[53a238f12489ed95]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  12:     0x7ff19d332cb5 - rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt::<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}
  13:     0x7ff19d324c89 - rustc_middle[343f04f986373764]::ty::context::tls::with_opt::<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  14:     0x7ff19d324c26 - rustc_middle[343f04f986373764]::ty::context::tls::with_context_opt::<rustc_middle[343f04f986373764]::ty::context::tls::with_opt<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  15:     0x7ff199746172 - rustc_middle[343f04f986373764]::util::bug::bug_fmt
  16:     0x7ff1997459c3 - rustc_middle[343f04f986373764]::query::plumbing::default_query
  17:     0x7ff199748d50 - <<rustc_middle[343f04f986373764]::query::Providers as core[5399894434fbec0e]::default::Default>::default::{closure#306} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  18:     0x7ff19c120535 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  19:     0x7ff19c01adf4 - <rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  20:     0x7ff19c0bfb63 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_load_from_disk_and_cache_in_memory<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  21:     0x7ff19bf89b2f - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  22:     0x7ff19c365ac8 - rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7ff19a7ab8f0 - rustc_monomorphize[50541ae29f73954b]::collector::items_of_instance
  24:     0x7ff19c127c07 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  25:     0x7ff19c02a47c - <rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, (rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode))>>::call_once
  26:     0x7ff19c0bf78b - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_type_ir[58de3b956ef95d59]::canonical::CanonicalQueryInput<rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::ParamEnvAnd<rustc_middle[343f04f986373764]::ty::Ty>>, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  27:     0x7ff19bfad3d2 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<(rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode), rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  28:     0x7ff19c20048c - rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7ff19a7aeff6 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_rec
  30:     0x7ff19a7a6044 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_root
  31:     0x7ff19a7c8ff8 - <rustc_data_structures[1bc660093b22cf17]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  32:     0x7ff19a7f6612 - <alloc[55daa3099f06b8bf]::vec::into_iter::IntoIter<rustc_middle[343f04f986373764]::mir::mono::MonoItem> as core[5399894434fbec0e]::iter::traits::iterator::Iterator>::fold::<(), core[5399894434fbec0e]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[343f04f986373764]::mir::mono::MonoItem, rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}>::{closure#0}>
  33:     0x7ff19a7c8b6b - <rustc_session[d3e46691c7f3a008]::session::Session>::time::<(), rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7ff19a7b5dd0 - rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items
  35:     0x7ff19a7c6427 - rustc_monomorphize[50541ae29f73954b]::partitioning::collect_and_partition_mono_items
  36:     0x7ff19c13cc85 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  37:     0x7ff19c0578ab - <rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, ())>>::call_once
  38:     0x7ff19c0bed7a - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  39:     0x7ff19bf45f65 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  40:     0x7ff19c3cf815 - rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7ff19c4c8ff7 - rustc_codegen_ssa[ff0d4c40ace32c88]::back::symbol_export::exported_symbols_provider_local
  42:     0x7ff19c1235c6 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  43:     0x7ff19c02131f - <rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_span[e9e369b6dc830612]::def_id::CrateNum)>>::call_once
  44:     0x7ff19c0c038e - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7ff19bfc0acc - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  46:     0x7ff19c3cf716 - rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  47:     0x7ff19cbea7cd - <rustc_metadata[a7a9574b903d863]::rmeta::encoder::EncodeContext>::encode_crate_root
  48:     0x7ff19971b7bc - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata::{closure#2}
  49:     0x7ff19cbfbb9a - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata
  50:     0x7ff19cccb5fa - rustc_metadata[a7a9574b903d863]::fs::encode_and_write_metadata
  51:     0x7ff199b91b26 - rustc_interface[7c6629c085fdbbba]::passes::start_codegen
  52:     0x7ff199afa8d2 - <rustc_interface[7c6629c085fdbbba]::queries::Linker>::codegen_and_build_linker
  53:     0x7ff1998185b7 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>::enter<rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#1}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>
  54:     0x7ff19989e581 - <rustc_middle[343f04f986373764]::ty::context::TyCtxt>::create_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  55:     0x7ff199862a3e - <rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  56:     0x7ff19982cc56 - <alloc[55daa3099f06b8bf]::boxed::Box<dyn for<'a> core[5399894434fbec0e]::ops::function::FnOnce<(&'a rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &'a std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena<'a>>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}), Output = core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>> as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once
  57:     0x7ff19986104e - rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>
  58:     0x7ff1998c26da - <scoped_tls[a71267bcf1a6d918]::ScopedKey<rustc_span[e9e369b6dc830612]::SessionGlobals>>::set::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  59:     0x7ff19983be01 - std[97575463abcf64a5]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  60:     0x7ff199888612 - <<std[97575463abcf64a5]::thread::Builder>::spawn_unchecked_<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[5399894434fbec0e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:     0x7ff19db14295 - <std[97575463abcf64a5]::sys::pal::unix::thread::Thread>::new::thread_start
  62:     0x7ff198a7de2e - <unknown>
  63:     0x7ff198b0fa4c - <unknown>
  64:                0x0 - <unknown>

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

warning: the ICE couldn't be written to `/checkout/rustc-ice-2025-05-16T07_29_25-12408.txt`: Read-only file system (os error 30)

note: rustc 1.89.0-nightly (4fa1cf840 2025-05-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C symbol-mangling-version=v0 -Z randomize-layout -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [check_mono_item] monomorphization-time checking
#1 [items_of_instance] collecting items used by `num::dec2flt::lemire::compute_product_approx`
... and 2 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5: `tcx.check_mono_item(Instance { def: Item(DefId(0:741 ~ core[a28d]::num::dec2flt::parse::parse_number)), args: [] })` is not supported for this key;
                                hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.
                                If that's not the case, check_mono_item was likely never assigned to a provider function.


thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>
stack backtrace:
   0:     0x7ff19db0b904 - <<std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5399894434fbec0e]::fmt::Display>::fmt
   1:     0x7ff19db65ff3 - core[5399894434fbec0e]::fmt::write
   2:     0x7ff19daff2d9 - <std[97575463abcf64a5]::sys::stdio::unix::Stderr as std[97575463abcf64a5]::io::Write>::write_fmt
   3:     0x7ff19db0b7b2 - <std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print
   4:     0x7ff19db0fd79 - std[97575463abcf64a5]::panicking::default_hook::{closure#0}
   5:     0x7ff19db0fb12 - std[97575463abcf64a5]::panicking::default_hook
   6:     0x7ff199823b35 - std[97575463abcf64a5]::panicking::update_hook::<alloc[55daa3099f06b8bf]::boxed::Box<rustc_driver_impl[c48961f641be844c]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x7ff19db108e3 - std[97575463abcf64a5]::panicking::rust_panic_with_hook
   8:     0x7ff19d6392c3 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}
   9:     0x7ff19d637e96 - std[97575463abcf64a5]::sys::backtrace::__rust_end_short_backtrace::<std[97575463abcf64a5]::panicking::begin_panic<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}, !>
  10:     0x7ff199785397 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>
  11:     0x7ff19977ea72 - <rustc_errors[53a238f12489ed95]::diagnostic::BugAbort as rustc_errors[53a238f12489ed95]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  12:     0x7ff19d332cb5 - rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt::<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}
  13:     0x7ff19d324c89 - rustc_middle[343f04f986373764]::ty::context::tls::with_opt::<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  14:     0x7ff19d324c26 - rustc_middle[343f04f986373764]::ty::context::tls::with_context_opt::<rustc_middle[343f04f986373764]::ty::context::tls::with_opt<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  15:     0x7ff199746172 - rustc_middle[343f04f986373764]::util::bug::bug_fmt
  16:     0x7ff1997459c3 - rustc_middle[343f04f986373764]::query::plumbing::default_query
  17:     0x7ff199748d50 - <<rustc_middle[343f04f986373764]::query::Providers as core[5399894434fbec0e]::default::Default>::default::{closure#306} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  18:     0x7ff19c120535 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  19:     0x7ff19c01adf4 - <rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  20:     0x7ff19c0bfb63 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_load_from_disk_and_cache_in_memory<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  21:     0x7ff19bf89b2f - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  22:     0x7ff19c365ac8 - rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7ff19a7ab8f0 - rustc_monomorphize[50541ae29f73954b]::collector::items_of_instance
  24:     0x7ff19c127c07 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  25:     0x7ff19c02a47c - <rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, (rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode))>>::call_once
  26:     0x7ff19c0bf78b - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_type_ir[58de3b956ef95d59]::canonical::CanonicalQueryInput<rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::ParamEnvAnd<rustc_middle[343f04f986373764]::ty::Ty>>, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  27:     0x7ff19bfad3d2 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<(rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode), rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  28:     0x7ff19c20048c - rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7ff19a7aeff6 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_rec
  30:     0x7ff19a7a6044 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_root
  31:     0x7ff19a7c8ff8 - <rustc_data_structures[1bc660093b22cf17]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  32:     0x7ff19a7f6612 - <alloc[55daa3099f06b8bf]::vec::into_iter::IntoIter<rustc_middle[343f04f986373764]::mir::mono::MonoItem> as core[5399894434fbec0e]::iter::traits::iterator::Iterator>::fold::<(), core[5399894434fbec0e]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[343f04f986373764]::mir::mono::MonoItem, rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}>::{closure#0}>
  33:     0x7ff19a7c8b6b - <rustc_session[d3e46691c7f3a008]::session::Session>::time::<(), rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7ff19a7b5dd0 - rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items
  35:     0x7ff19a7c6427 - rustc_monomorphize[50541ae29f73954b]::partitioning::collect_and_partition_mono_items
  36:     0x7ff19c13cc85 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  37:     0x7ff19c0578ab - <rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, ())>>::call_once
  38:     0x7ff19c0bed7a - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  39:     0x7ff19bf45f65 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::SingleCache<rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  40:     0x7ff19c3cf815 - rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7ff19c4c8ff7 - rustc_codegen_ssa[ff0d4c40ace32c88]::back::symbol_export::exported_symbols_provider_local
  42:     0x7ff19c1235c6 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  43:     0x7ff19c02131f - <rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_span[e9e369b6dc830612]::def_id::CrateNum)>>::call_once
  44:     0x7ff19c0c038e - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7ff19bfc0acc - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_data_structures[1bc660093b22cf17]::vec_cache::VecCache<rustc_span[e9e369b6dc830612]::def_id::CrateNum, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[de2495c73a0fa9c6]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  46:     0x7ff19c3cf716 - rustc_query_impl[c27a701f2785b9f4]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  47:     0x7ff19cbea7cd - <rustc_metadata[a7a9574b903d863]::rmeta::encoder::EncodeContext>::encode_crate_root
  48:     0x7ff19971b7bc - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata::{closure#2}
  49:     0x7ff19cbfbb9a - rustc_metadata[a7a9574b903d863]::rmeta::encoder::encode_metadata
  50:     0x7ff19cccb5fa - rustc_metadata[a7a9574b903d863]::fs::encode_and_write_metadata
  51:     0x7ff199b91b26 - rustc_interface[7c6629c085fdbbba]::passes::start_codegen
  52:     0x7ff199afa8d2 - <rustc_interface[7c6629c085fdbbba]::queries::Linker>::codegen_and_build_linker
  53:     0x7ff1998185b7 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>::enter<rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#1}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>::{closure#0}, core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>
  54:     0x7ff19989e581 - <rustc_middle[343f04f986373764]::ty::context::TyCtxt>::create_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  55:     0x7ff199862a3e - <rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  56:     0x7ff19982cc56 - <alloc[55daa3099f06b8bf]::boxed::Box<dyn for<'a> core[5399894434fbec0e]::ops::function::FnOnce<(&'a rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &'a std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena<'a>>, &'a rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena<'a>>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}), Output = core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>>> as core[5399894434fbec0e]::ops::function::FnOnce<(&rustc_session[d3e46691c7f3a008]::session::Session, rustc_middle[343f04f986373764]::ty::context::CurrentGcx, alloc[55daa3099f06b8bf]::sync::Arc<rustc_data_structures[1bc660093b22cf17]::jobserver::Proxy>, &std[97575463abcf64a5]::sync::once_lock::OnceLock<rustc_middle[343f04f986373764]::ty::context::GlobalCtxt>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_middle[343f04f986373764]::arena::Arena>, &rustc_data_structures[1bc660093b22cf17]::sync::worker_local::WorkerLocal<rustc_hir[708af6c74b9eb9f]::Arena>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2})>>::call_once
  57:     0x7ff19986104e - rustc_interface[7c6629c085fdbbba]::passes::create_and_enter_global_ctxt::<core[5399894434fbec0e]::option::Option<rustc_interface[7c6629c085fdbbba]::queries::Linker>, rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}::{closure#2}>
  58:     0x7ff1998c26da - <scoped_tls[a71267bcf1a6d918]::ScopedKey<rustc_span[e9e369b6dc830612]::SessionGlobals>>::set::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  59:     0x7ff19983be01 - std[97575463abcf64a5]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  60:     0x7ff199888612 - <<std[97575463abcf64a5]::thread::Builder>::spawn_unchecked_<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_with_globals<rustc_interface[7c6629c085fdbbba]::util::run_in_thread_pool_with_globals<rustc_interface[7c6629c085fdbbba]::interface::run_compiler<(), rustc_driver_impl[c48961f641be844c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[5399894434fbec0e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:     0x7ff19db14295 - <std[97575463abcf64a5]::sys::pal::unix::thread::Thread>::new::thread_start
  62:     0x7ff198a7de2e - <unknown>
  63:     0x7ff198b0fa4c - <unknown>
  64:                0x0 - <unknown>

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

warning: the ICE couldn't be written to `/checkout/rustc-ice-2025-05-16T07_29_25-12408.txt`: Read-only file system (os error 30)

note: rustc 1.89.0-nightly (4fa1cf840 2025-05-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C symbol-mangling-version=v0 -Z randomize-layout -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [check_mono_item] monomorphization-time checking
#1 [items_of_instance] collecting items used by `num::dec2flt::parse::parse_number`
... and 2 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5: `tcx.check_mono_item(Instance { def: Item(DefId(0:785 ~ core[a28d]::num::flt2dec::estimator::estimate_scaling_factor)), args: [] })` is not supported for this key;
                                hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.
                                If that's not the case, check_mono_item was likely never assigned to a provider function.


thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>
stack backtrace:
   0:     0x7ff19db0b904 - <<std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5399894434fbec0e]::fmt::Display>::fmt
   1:     0x7ff19db65ff3 - core[5399894434fbec0e]::fmt::write
   2:     0x7ff19daff2d9 - <std[97575463abcf64a5]::sys::stdio::unix::Stderr as std[97575463abcf64a5]::io::Write>::write_fmt
   3:     0x7ff19db0b7b2 - <std[97575463abcf64a5]::sys::backtrace::BacktraceLock>::print
   4:     0x7ff19db0fd79 - std[97575463abcf64a5]::panicking::default_hook::{closure#0}
   5:     0x7ff19db0fb12 - std[97575463abcf64a5]::panicking::default_hook
   6:     0x7ff199823b35 - std[97575463abcf64a5]::panicking::update_hook::<alloc[55daa3099f06b8bf]::boxed::Box<rustc_driver_impl[c48961f641be844c]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x7ff19db108e3 - std[97575463abcf64a5]::panicking::rust_panic_with_hook
   8:     0x7ff19d6392c3 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}
   9:     0x7ff19d637e96 - std[97575463abcf64a5]::sys::backtrace::__rust_end_short_backtrace::<std[97575463abcf64a5]::panicking::begin_panic<rustc_errors[53a238f12489ed95]::ExplicitBug>::{closure#0}, !>
  10:     0x7ff199785397 - std[97575463abcf64a5]::panicking::begin_panic::<rustc_errors[53a238f12489ed95]::ExplicitBug>
  11:     0x7ff19977ea72 - <rustc_errors[53a238f12489ed95]::diagnostic::BugAbort as rustc_errors[53a238f12489ed95]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  12:     0x7ff19d332cb5 - rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt::<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}
  13:     0x7ff19d324c89 - rustc_middle[343f04f986373764]::ty::context::tls::with_opt::<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  14:     0x7ff19d324c26 - rustc_middle[343f04f986373764]::ty::context::tls::with_context_opt::<rustc_middle[343f04f986373764]::ty::context::tls::with_opt<rustc_middle[343f04f986373764]::util::bug::opt_span_bug_fmt<rustc_span[e9e369b6dc830612]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  15:     0x7ff199746172 - rustc_middle[343f04f986373764]::util::bug::bug_fmt
  16:     0x7ff1997459c3 - rustc_middle[343f04f986373764]::query::plumbing::default_query
  17:     0x7ff199748d50 - <<rustc_middle[343f04f986373764]::query::Providers as core[5399894434fbec0e]::default::Default>::default::{closure#306} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  18:     0x7ff19c120535 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  19:     0x7ff19c01adf4 - <rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::instance::Instance)>>::call_once
  20:     0x7ff19c0bfb63 - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_load_from_disk_and_cache_in_memory<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>
  21:     0x7ff19bf89b2f - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  22:     0x7ff19c365ac8 - rustc_query_impl[c27a701f2785b9f4]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7ff19a7ab8f0 - rustc_monomorphize[50541ae29f73954b]::collector::items_of_instance
  24:     0x7ff19c127c07 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  25:     0x7ff19c02a47c - <rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, (rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode))>>::call_once
  26:     0x7ff19c0bf78b - <std[97575463abcf64a5]::thread::local::LocalKey<core[5399894434fbec0e]::cell::Cell<*const ()>>>::with::<rustc_middle[343f04f986373764]::ty::context::tls::enter_context<rustc_query_system[de2495c73a0fa9c6]::query::plumbing::execute_job_non_incr<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<rustc_type_ir[58de3b956ef95d59]::canonical::CanonicalQueryInput<rustc_middle[343f04f986373764]::ty::context::TyCtxt, rustc_middle[343f04f986373764]::ty::ParamEnvAnd<rustc_middle[343f04f986373764]::ty::Ty>>, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>
  27:     0x7ff19bfad3d2 - rustc_query_system[de2495c73a0fa9c6]::query::plumbing::try_execute_query::<rustc_query_impl[c27a701f2785b9f4]::DynamicConfig<rustc_query_system[de2495c73a0fa9c6]::query::caches::DefaultCache<(rustc_middle[343f04f986373764]::ty::instance::Instance, rustc_middle[343f04f986373764]::mir::mono::CollectionMode), rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[c27a701f2785b9f4]::plumbing::QueryCtxt, false>
  28:     0x7ff19c20048c - rustc_query_impl[c27a701f2785b9f4]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7ff19a7aeff6 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_rec
  30:     0x7ff19a7a6044 - rustc_monomorphize[50541ae29f73954b]::collector::collect_items_root
  31:     0x7ff19a7c8ff8 - <rustc_data_structures[1bc660093b22cf17]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  32:     0x7ff19a7f6612 - <alloc[55daa3099f06b8bf]::vec::into_iter::IntoIter<rustc_middle[343f04f986373764]::mir::mono::MonoItem> as core[5399894434fbec0e]::iter::traits::iterator::Iterator>::fold::<(), core[5399894434fbec0e]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[343f04f986373764]::mir::mono::MonoItem, rustc_data_structures[1bc660093b22cf17]::sync::parallel::par_for_each_in<rustc_middle[343f04f986373764]::mir::mono::MonoItem, alloc[55daa3099f06b8bf]::vec::Vec<rustc_middle[343f04f986373764]::mir::mono::MonoItem>, rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}>::{closure#0}>
  33:     0x7ff19a7c8b6b - <rustc_session[d3e46691c7f3a008]::session::Session>::time::<(), rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7ff19a7b5dd0 - rustc_monomorphize[50541ae29f73954b]::collector::collect_crate_mono_items
  35:     0x7ff19a7c6427 - rustc_monomorphize[50541ae29f73954b]::partitioning::collect_and_partition_mono_items
  36:     0x7ff19c13cc85 - rustc_query_impl[c27a701f2785b9f4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[343f04f986373764]::query::erase::Erased<[u8; 40usize]>>
  37:     0x7ff19c0578ab - <rustc_query_impl[c27a701f2785b9f4]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5399894434fbec0e]::ops::function::FnOnce<(rustc_middle[343f04f986373764]::ty::context::TyCtxt, ())>>::call_once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants