Skip to content

Bitmask query latch#156328

Draft
zetanumbers wants to merge 6 commits into
rust-lang:mainfrom
zetanumbers:atomic_query_latch_v2
Draft

Bitmask query latch#156328
zetanumbers wants to merge 6 commits into
rust-lang:mainfrom
zetanumbers:atomic_query_latch_v2

Conversation

@zetanumbers
Copy link
Copy Markdown
Contributor

@zetanumbers zetanumbers commented May 8, 2026

Why isn't this working?! Is there something missing? Must more blood be shed?

Blocked on #155997

@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) 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. labels May 8, 2026
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job aarch64-gnu-llvm-21-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Executing "/scripts/stage_2_test_set1.sh"
+ /scripts/stage_2_test_set1.sh
PR_CI_JOB set; skipping tidy
+ '[' 1 == 1 ']'
+ echo 'PR_CI_JOB set; skipping tidy'
+ SKIP_TIDY='--skip tidy'
+ ../x.py --stage 2 test --skip tidy --skip compiler --skip src
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.04s
##[endgroup]
downloading https://static.rust-lang.org/dist/2026-04-14/rustfmt-nightly-aarch64-unknown-linux-gnu.tar.xz
---
failures:

---- [ui] tests/ui/parallel-rustc/ty-variance-issue-124423.rs stdout ----

error: Error: expected failure status (Some(1)) but received status None.
status: signal: 6 (SIGABRT) (core dumped)
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/parallel-rustc/ty-variance-issue-124423" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "threads=16"
stdout: none
--- stderr -------------------------------
error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:8:15
   |
LL | fn elided(_: &impl Copy + 'a) -> _ { x }
   |               ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn elided(_: &(impl Copy + 'a)) -> _ { x }
   |               +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:13:24
   |
LL | fn explicit<'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |                        ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn explicit<'b>(_: &'a (impl Copy + 'a)) -> impl 'a { x }
   |                        +              +

error: expected identifier, found keyword `impl`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:20:13
   |
LL | fn elided2( impl 'b) -> impl 'a + 'a { x }
   |             ^^^^ expected identifier, found keyword

error: expected one of `:` or `|`, found `'b`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:20:18
   |
LL | fn elided2( impl 'b) -> impl 'a + 'a { x }
   |                  ^^ expected one of `:` or `|`

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:27:25
   |
LL | fn explicit2<'a>(_: &'a impl Copy + 'a) -> impl Copy + 'a { x }
   |                         ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn explicit2<'a>(_: &'a (impl Copy + 'a)) -> impl Copy + 'a { x }
   |                         +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:30:16
   |
LL | fn foo<'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |                ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn foo<'a>(_: &(impl Copy + 'a)) -> impl 'b + 'a { x }
   |                +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:35:16
   |
LL | fn elided3(_: &impl Copy + 'a) -> Box<dyn 'a> { Box::new(x) }
   |                ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn elided3(_: &(impl Copy + 'a)) -> Box<dyn 'a> { Box::new(x) }
   |                +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:41:17
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |                 ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn x<'b>(_: &'a (impl Copy + 'a)) -> Box<dyn 'b> { Box::u32(x) }
   |                 +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:48:16
   |
LL | fn elided4(_: &impl Copy + 'a) ->  new  { x(x) }
   |                ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn elided4(_: &(impl Copy + 'a)) ->  new  { x(x) }
   |                +              +

error: at least one trait must be specified
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:13:43
   |
LL | fn explicit<'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |                                           ^^^^^^^

error: at least one trait must be specified
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:20:25
   |
LL | fn elided2( impl 'b) -> impl 'a + 'a { x }
   |                         ^^^^^^^^^^^^

error: at least one trait must be specified
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:30:35
   |
LL | fn foo<'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |                                   ^^^^^^^^^^^^

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:8:27
   |
LL | fn elided(_: &impl Copy + 'a) -> _ { x }
   |                           ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided<'a>(_: &impl Copy + 'a) -> _ { x }
   |          ++++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:13:21
   |
LL | fn explicit<'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |                     ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn explicit<'a, 'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |             +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:13:36
   |
LL | fn explicit<'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |                                    ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn explicit<'a, 'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |             +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:13:48
   |
LL | fn explicit<'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |                                                ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn explicit<'a, 'b>(_: &'a impl Copy + 'a) -> impl 'a { x }
   |             +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:20:30
   |
LL | fn elided2( impl 'b) -> impl 'a + 'a { x }
   |                              ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided2<'a>( impl 'b) -> impl 'a + 'a { x }
   |           ++++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:20:35
   |
LL | fn elided2( impl 'b) -> impl 'a + 'a { x }
   |                                   ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided2<'a>( impl 'b) -> impl 'a + 'a { x }
   |           ++++

error[E0261]: use of undeclared lifetime name `'b`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:30:40
   |
LL | fn foo<'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |                                        ^^ undeclared lifetime
   |
help: consider introducing lifetime `'b` here
   |
LL | fn foo<'b, 'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |        +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:35:28
   |
LL | fn elided3(_: &impl Copy + 'a) -> Box<dyn 'a> { Box::new(x) }
   |                            ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided3<'a>(_: &impl Copy + 'a) -> Box<dyn 'a> { Box::new(x) }
   |           ++++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:35:43
   |
LL | fn elided3(_: &impl Copy + 'a) -> Box<dyn 'a> { Box::new(x) }
   |                                           ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided3<'a>(_: &impl Copy + 'a) -> Box<dyn 'a> { Box::new(x) }
   |           ++++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:41:14
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |              ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn x<'a, 'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |      +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:41:29
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |                             ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn x<'a, 'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |      +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:48:28
   |
LL | fn elided4(_: &impl Copy + 'a) ->  new  { x(x) }
   |                            ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided4<'a>(_: &impl Copy + 'a) ->  new  { x(x) }
   |           ++++

error[E0425]: cannot find type `new` in this scope
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:48:36
   |
LL | fn elided4(_: &impl Copy + 'a) ->  new  { x(x) }
   |                                    ^^^ not found in this scope

error[E0224]: at least one trait is required for an object type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:55:40
   |
LL | impl<'a> LifetimeTrait<'a> for &'a Box<dyn 'a> {}
   |                                        ^^^^^^

error[E0224]: at least one trait is required for an object type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:41:40
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |                                        ^^^^^^

error[E0224]: at least one trait is required for an object type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-124423.rs:35:39
   |
LL | fn elided3(_: &impl Copy + 'a) -> Box<dyn 'a> { Box::new(x) }
   |                                       ^^^^^^


thread 'rustc query cycle handler' (110813) panicked at compiler/rustc_query_impl/src/job.rs:154:42:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: rustc_query_impl::job::abstracted_waiters_of
   5: rustc_query_impl::job::find_cycle
   6: rustc_query_impl::job::break_query_cycle
   7: <std::thread::local::LocalKey<core::cell::Cell<*const ()>>>::with::<rustc_middle::ty::context::tls::enter_context<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#4}::{closure#1}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>
   8: <rustc_middle::ty::context::CurrentGcx>::access::<(), rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#4}::{closure#1}::{closure#1}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: the compiler unexpectedly panicked. This is a bug

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

note: rustc 1.97.0-nightly (752691c8a 2026-05-08) running on aarch64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z threads=16

query stack during panic:
end of query stack
internal compiler error: query cycle handler thread panicked, aborting process
------------------------------------------

---- [ui] tests/ui/parallel-rustc/ty-variance-issue-124423.rs stdout end ----
---- [ui] tests/ui/parallel-rustc/ty-variance-issue-127971.rs stdout ----

error: Error: expected failure status (Some(1)) but received status None.
status: signal: 6 (SIGABRT) (core dumped)
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/parallel-rustc/ty-variance-issue-127971" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "threads=16"
stdout: none
--- stderr -------------------------------
error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:8:15
   |
LL | fn elided(_: &impl Copy + 'a) -> _ { x }
   |               ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn elided(_: &(impl Copy + 'a)) -> _ { x }
   |               +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:13:16
   |
LL | fn foo<'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |                ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn foo<'a>(_: &(impl Copy + 'a)) -> impl 'b + 'a { x }
   |                +              +

error: ambiguous `+` in a type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:18:17
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |                 ^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL | fn x<'b>(_: &'a (impl Copy + 'a)) -> Box<dyn 'b> { Box::u32(x) }
   |                 +              +

error: at least one trait must be specified
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:13:35
   |
LL | fn foo<'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |                                   ^^^^^^^^^^^^

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:8:27
   |
LL | fn elided(_: &impl Copy + 'a) -> _ { x }
   |                           ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn elided<'a>(_: &impl Copy + 'a) -> _ { x }
   |          ++++

error[E0261]: use of undeclared lifetime name `'b`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:13:40
   |
LL | fn foo<'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |                                        ^^ undeclared lifetime
   |
help: consider introducing lifetime `'b` here
   |
LL | fn foo<'b, 'a>(_: &impl Copy + 'a) -> impl 'b + 'a { x }
   |        +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:18:14
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |              ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn x<'a, 'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |      +++

error[E0261]: use of undeclared lifetime name `'a`
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:18:29
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |                             ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn x<'a, 'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |      +++

error[E0224]: at least one trait is required for an object type
##[error]  --> /checkout/tests/ui/parallel-rustc/ty-variance-issue-127971.rs:18:40
   |
LL | fn x<'b>(_: &'a impl Copy + 'a) -> Box<dyn 'b> { Box::u32(x) }
   |                                        ^^^^^^


thread 'rustc query cycle handler' (110814) panicked at compiler/rustc_query_impl/src/job.rs:154:42:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: rustc_query_impl::job::abstracted_waiters_of
   5: rustc_query_impl::job::find_cycle
   6: rustc_query_impl::job::find_cycle
   7: rustc_query_impl::job::break_query_cycle
   8: <std::thread::local::LocalKey<core::cell::Cell<*const ()>>>::with::<rustc_middle::ty::context::tls::enter_context<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#4}::{closure#1}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>
   9: <rustc_middle::ty::context::CurrentGcx>::access::<(), rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#4}::{closure#1}::{closure#1}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: the compiler unexpectedly panicked. This is a bug

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

note: rustc 1.97.0-nightly (752691c8a 2026-05-08) running on aarch64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z threads=16

query stack during panic:
end of query stack
internal compiler error: query cycle handler thread panicked, aborting process
------------------------------------------

@Zoxc
Copy link
Copy Markdown
Contributor

Zoxc commented May 16, 2026

Threw GPT 5.4 at your branch. It found that you're mixing up thread pool indices with WorkerLocal indices which are not the same.

@zetanumbers
Copy link
Copy Markdown
Contributor Author

Ah, right. I had assumed #155649 code

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

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) 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.

4 participants