Skip to content

Conversation

GuillaumeGomez
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

compiler-errors and others added 30 commits July 6, 2023 07:11
Implement rust-lang/compiler-team#578.

When an ICE is encountered on nightly releases, the new rustc panic
handler will also write the contents of the backtrace to disk. If any
`delay_span_bug`s are encountered, their backtrace is also added to the
file. The platform and rustc version will also be collected.
On nightly, dump ICE backtraces to disk

Implement rust-lang/compiler-team#578.

When an ICE is encountered on nightly releases, the new rustc panic handler will also write the contents of the backtrace to disk. If any `delay_span_bug`s are encountered, their backtrace is also added to the file. The platform and rustc version will also be collected.

<img width="1032" alt="Screenshot 2023-03-03 at 2 13 25 PM" src="https://user-images.githubusercontent.com/1606434/222842420-8e039740-4042-4563-b31d-599677171acf.png">

The current behavior will *always* write to disk on nightly builds, regardless of whether the backtrace is printed to the terminal, unless the environment variable `RUSTC_ICE_DISK_DUMP` is set to `0`. This is a compromise and can be changed.
…er-errors

Require TAITs to be mentioned in the signatures of functions that register hidden types for them

r? `@lcnr` `@compiler-errors`

This implements the lang team decision from [the TAIT design meeting](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/design.20meeting.202023-05-31.20TAITs/near/362518164).
…ath, r=notriddle,fmease

[rustdoc] If re-export is private, get the next item until a public one is found or expose the private item directly

Fixes rust-lang#81141.

If we have:

```rust
use Private as Something;

pub fn foo() -> Something {}
```

Then `Something` will be replaced by `Private`.

r? `@notriddle`
…at-again, r=oli-obk

Structurally normalize again for byte string lit pat checking

We need to structurally normalize the pointee of a match scrutinee when trying to match byte string patterns -- we used[^1] to call `structurally_resolve_type`, which errors for type vars[^2], but lcnr added `try_structurally_resolve_type`[^3] in the mean time, which is the right thing to use here since it's totally opportunistic.

Fixes rust-lang/trait-system-refactor-initiative#38

[^1]: rust-lang#112428
[^2]: rust-lang#112993
[^3]: rust-lang#113086
…itit-gat, r=spastorino

Remove `variances_of` on RPITIT GATs, remove its one use-case

It doesn't make sense to implement variances on a GAT anyways, since we don't relate GATs with variance:

https://github.com/rust-lang/rust/blob/85bf07972a1041b9e25393b803d0e006bec3eaaf/compiler/rustc_middle/src/ty/relate.rs#L569-L579

r? `@spastorino`
miri: check that assignments do not self-overlap

r? `@oli-obk`
@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-testsuite Area: The testsuite used to check the correctness of rustc A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Jul 7, 2023
@GuillaumeGomez
Copy link
Member Author

@bors r+ p=6 rollup=never

@bors
Copy link
Collaborator

bors commented Jul 7, 2023

📌 Commit 1553f4c has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 7, 2023
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
##[group]Run git config --global core.autocrlf false
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
  lfs: false
  submodules: false
  set-safe-directory: true
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/should-skip-this.sh
src/ci/scripts/should-skip-this.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/verify-channel.sh
src/ci/scripts/verify-channel.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/collect-cpu-stats.sh
src/ci/scripts/collect-cpu-stats.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/install-sccache.sh
src/ci/scripts/install-sccache.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/select-xcode.sh
src/ci/scripts/select-xcode.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/install-clang.sh
src/ci/scripts/install-clang.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/install-wix.sh
src/ci/scripts/install-wix.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/disable-git-crlf-conversion.sh
src/ci/scripts/disable-git-crlf-conversion.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/install-msys2.sh
src/ci/scripts/install-msys2.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/install-mingw.sh
src/ci/scripts/install-mingw.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/install-ninja.sh
src/ci/scripts/install-ninja.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/enable-docker-ipv6.sh
src/ci/scripts/enable-docker-ipv6.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/disable-git-crlf-conversion.sh
src/ci/scripts/disable-git-crlf-conversion.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/verify-line-endings.sh
src/ci/scripts/verify-line-endings.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
  CACHE_DOMAIN: ci-caches.rust-lang.org
  IMAGE: x86_64-gnu-llvm-14
##[endgroup]
##[group]Run src/ci/scripts/verify-backported-commits.sh
src/ci/scripts/verify-backported-commits.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/verify-stable-version-number.sh
src/ci/scripts/verify-stable-version-number.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
##[group]Run src/ci/scripts/run-build-from-ci.sh
src/ci/scripts/run-build-from-ci.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PR_CI_JOB: 1
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
  HEAD_SHA: 1553f4cf3486117361e8df3c564b43b1eb908f28
  SCCACHE_BUCKET: rust-lang-ci-sccache2
  TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
---
diff of stderr:

2   --> $DIR/issue-90014-tait2.rs:41:27
3    |
4 LL |     fn make_fut(&self) -> Box<dyn for<'a> Trait<'a, Thing = Fut<'a>>> {
-    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^query stack during panic:
+    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^note: please attach the file at `/checkout/obj/rustc-ice-2023-07-07T18:29:29.967075847Z-49860.txt` to your bug report
+ query stack during panic:
+ query stack during panic:
6 #0 [typeck] type-checking `<impl at $DIR/issue-90014-tait2.rs:40:1: 40:13>::make_fut`
7 #1 [type_of] computing type of `Fut::{opaque#0}`
8 #2 [check_mod_item_types] checking item types in top-level module

The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generic-associated-types/issue-90014-tait2/issue-90014-tait2.stderr
To update references, rerun the tests and pass the `--bless` flag
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args generic-associated-types/issue-90014-tait2.rs`

error: 1 errors occurred comparing output.
status: exit status: 101
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/generic-associated-types/issue-90014-tait2.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--remap-path-prefix=/checkout/tests/ui=fake-test-src-base" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generic-associated-types/issue-90014-tait2" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generic-associated-types/issue-90014-tait2/auxiliary" "--edition=2018"
stdout: none
--- stderr -------------------------------
##[error]error: internal compiler error: compiler/rustc_hir_typeck/src/inherited.rs:106:13: escaping bound vars in predicate Obligation(predicate=Binder { value: TraitPredicate(<Fut<'a> as std::marker::Sized>, polarity:Positive), bound_vars: [] }, depth=0)
  --> fake-test-src-base/generic-associated-types/issue-90014-tait2.rs:41:27
   |
LL |     fn make_fut(&self) -> Box<dyn for<'a> Trait<'a, Thing = Fut<'a>>> {

thread 'rustc' panicked at 'Box<dyn Any>', /checkout/compiler/rustc_errors/src/lib.rs:1007:33
stack backtrace:
   0:     0x7eff79377181 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hcfe22c3d1a935559
   0:     0x7eff79377181 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hcfe22c3d1a935559
   1:     0x7eff793e5ae8 - core::fmt::write::hb5fce3698d1ee0e7
   2:     0x7eff7936b6a1 - std::io::Write::write_fmt::hdd7c5f9f855942bd
   3:     0x7eff79376f91 - std::sys_common::backtrace::print::h66d604ed083784c4
   4:     0x7eff7937a30f - std::panicking::panic_hook_with_disk_dump::{{closure}}::h2a187cc764956d3f
   5:     0x7eff7937a03b - std::panicking::panic_hook_with_disk_dump::hac1469cbe6fa6220
   6:     0x7eff7a091bb2 - rustc_driver_impl[68d8e3ec61f6d758]::install_ice_hook::{closure#0}
   7:     0x7eff7937ab00 - std::panicking::rust_panic_with_hook::h4e1e1a093c9b917a
   8:     0x7eff7a84daa3 - std[ac7be0939c0d8602]::panicking::begin_panic::<rustc_errors[b096353adee47bfe]::ExplicitBug>::{closure#0}
   9:     0x7eff7a849046 - std[ac7be0939c0d8602]::sys_common::backtrace::__rust_end_short_backtrace::<std[ac7be0939c0d8602]::panicking::begin_panic<rustc_errors[b096353adee47bfe]::ExplicitBug>::{closure#0}, !>
  10:     0x7eff79cc5cd6 - std[ac7be0939c0d8602]::panicking::begin_panic::<rustc_errors[b096353adee47bfe]::ExplicitBug>
  11:     0x7eff7a8c8df1 - <rustc_errors[b096353adee47bfe]::HandlerInner>::span_bug::<rustc_span[c524aeeaa6ad130c]::span_encoding::Span, alloc[19103e665890645b]::string::String>
  12:     0x7eff7a8c8ad0 - <rustc_errors[b096353adee47bfe]::Handler>::span_bug::<rustc_span[c524aeeaa6ad130c]::span_encoding::Span, alloc[19103e665890645b]::string::String>
  13:     0x7eff7a84dc18 - rustc_middle[592a0bbeca0fd3ce]::util::bug::opt_span_bug_fmt::<rustc_span[c524aeeaa6ad130c]::span_encoding::Span>::{closure#0}
  14:     0x7eff7a84dc6c - rustc_middle[592a0bbeca0fd3ce]::ty::context::tls::with_opt::<rustc_middle[592a0bbeca0fd3ce]::util::bug::opt_span_bug_fmt<rustc_span[c524aeeaa6ad130c]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  15:     0x7eff7a84bdb4 - rustc_middle[592a0bbeca0fd3ce]::ty::context::tls::with_context_opt::<rustc_middle[592a0bbeca0fd3ce]::ty::context::tls::with_opt<rustc_middle[592a0bbeca0fd3ce]::util::bug::opt_span_bug_fmt<rustc_span[c524aeeaa6ad130c]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  16:     0x7eff79cd0407 - rustc_middle[592a0bbeca0fd3ce]::util::bug::span_bug_fmt::<rustc_span[c524aeeaa6ad130c]::span_encoding::Span>
  17:     0x7eff7a7bf8ca - <rustc_hir_typeck[f34c950d6595f368]::inherited::Inherited>::register_predicate
  18:     0x7eff7a7b4946 - <rustc_hir_typeck[f34c950d6595f368]::inherited::Inherited>::register_predicates::<alloc[19103e665890645b]::vec::Vec<rustc_infer[c93313690315d754]::traits::Obligation<rustc_middle[592a0bbeca0fd3ce]::ty::Predicate>>>
  19:     0x7eff7a7b4c01 - <rustc_hir_typeck[f34c950d6595f368]::inherited::Inherited>::register_infer_ok_obligations::<rustc_middle[592a0bbeca0fd3ce]::ty::Ty>
  20:     0x7eff7a8e19b3 - rustc_hir_typeck[f34c950d6595f368]::check::check_fn
  21:     0x7eff7a80f86f - rustc_hir_typeck[f34c950d6595f368]::typeck
  22:     0x7eff7bab9ed7 - rustc_query_impl[95aa0ab1ef713b75]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[95aa0ab1ef713b75]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 8usize]>>
  23:     0x7eff7bbb27d4 - <rustc_query_impl[95aa0ab1ef713b75]::query_impl::typeck::dynamic_query::{closure#2} as core[26fdc00326c0bb64]::ops::function::FnOnce<(rustc_middle[592a0bbeca0fd3ce]::ty::context::TyCtxt, rustc_span[c524aeeaa6ad130c]::def_id::LocalDefId)>>::call_once
  24:     0x7eff7be25eb8 - rustc_query_system[75e9de11acae4ed9]::query::plumbing::try_execute_query::<rustc_query_impl[95aa0ab1ef713b75]::DynamicConfig<rustc_query_system[75e9de11acae4ed9]::query::caches::VecCache<rustc_span[c524aeeaa6ad130c]::def_id::LocalDefId, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[95aa0ab1ef713b75]::plumbing::QueryCtxt, false>
  25:     0x7eff7bc12e76 - rustc_query_impl[95aa0ab1ef713b75]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace
  26:     0x7eff7ab553c9 - rustc_middle[592a0bbeca0fd3ce]::query::plumbing::query_get_at::<rustc_query_system[75e9de11acae4ed9]::query::caches::VecCache<rustc_span[c524aeeaa6ad130c]::def_id::LocalDefId, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 8usize]>>>
  27:     0x7eff7ab68773 - <rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::opaque::TaitConstraintLocator>::check
  28:     0x7eff7ab63a9b - <rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::opaque::TaitConstraintLocator as rustc_hir[9da646da359ec185]::intravisit::Visitor>::visit_impl_item
  29:     0x7eff7a9c19cb - rustc_hir[9da646da359ec185]::intravisit::walk_item::<rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::opaque::TaitConstraintLocator>
  30:     0x7eff7ab638c6 - <rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::opaque::TaitConstraintLocator as rustc_hir[9da646da359ec185]::intravisit::Visitor>::visit_item
  31:     0x7eff7a9a6b7a - <rustc_middle[592a0bbeca0fd3ce]::hir::map::Map>::walk_toplevel_module::<rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::opaque::TaitConstraintLocator>
  32:     0x7eff7ab679ce - rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::opaque::find_opaque_ty_constraints_for_tait
  33:     0x7eff7aa186bc - rustc_hir_analysis[dce964d2116ebcb7]::collect::type_of::type_of
  34:     0x7eff7baba2b9 - rustc_query_impl[95aa0ab1ef713b75]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[95aa0ab1ef713b75]::query_impl::type_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 8usize]>>
  35:     0x7eff7bd1f818 - <rustc_query_impl[95aa0ab1ef713b75]::query_impl::type_of::dynamic_query::{closure#2} as core[26fdc00326c0bb64]::ops::function::FnOnce<(rustc_middle[592a0bbeca0fd3ce]::ty::context::TyCtxt, rustc_span[c524aeeaa6ad130c]::def_id::DefId)>>::call_once
Build completed unsuccessfully in 0:11:00
  36:     0x7eff7bde3a98 - rustc_query_system[75e9de11acae4ed9]::query::plumbing::try_execute_query::<rustc_query_impl[95aa0ab1ef713b75]::DynamicConfig<rustc_query_system[75e9de11acae4ed9]::query::caches::DefaultCache<rustc_span[c524aeeaa6ad130c]::def_id::DefId, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[95aa0ab1ef713b75]::plumbing::QueryCtxt, false>
  37:     0x7eff7bc0a4a7 - rustc_query_impl[95aa0ab1ef713b75]::query_impl::type_of::get_query_non_incr::__rust_end_short_backtrace
  38:     0x7eff7ab12b6d - rustc_middle[592a0bbeca0fd3ce]::query::plumbing::query_get_at::<rustc_query_system[75e9de11acae4ed9]::query::caches::DefaultCache<rustc_span[c524aeeaa6ad130c]::def_id::DefId, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 8usize]>>>
  39:     0x7eff7ab1a875 - rustc_hir_analysis[dce964d2116ebcb7]::check::check::check_opaque
  40:     0x7eff7ab1f38f - rustc_hir_analysis[dce964d2116ebcb7]::check::check::check_item_type
  41:     0x7eff7ab271ca - rustc_hir_analysis[dce964d2116ebcb7]::check::check::check_mod_item_types
  42:     0x7eff7baa9a67 - rustc_query_impl[95aa0ab1ef713b75]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[95aa0ab1ef713b75]::query_impl::check_mod_item_types::dynamic_query::{closure#2}::{closure#0}, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 0usize]>>
  43:     0x7eff7bd455c4 - <rustc_query_impl[95aa0ab1ef713b75]::query_impl::check_mod_item_types::dynamic_query::{closure#2} as core[26fdc00326c0bb64]::ops::function::FnOnce<(rustc_middle[592a0bbeca0fd3ce]::ty::context::TyCtxt, rustc_span[c524aeeaa6ad130c]::def_id::LocalDefId)>>::call_once
  44:     0x7eff7be1b8eb - rustc_query_system[75e9de11acae4ed9]::query::plumbing::try_execute_query::<rustc_query_impl[95aa0ab1ef713b75]::DynamicConfig<rustc_query_system[75e9de11acae4ed9]::query::caches::VecCache<rustc_span[c524aeeaa6ad130c]::def_id::LocalDefId, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[95aa0ab1ef713b75]::plumbing::QueryCtxt, false>
  45:     0x7eff7bb04cdc - rustc_query_impl[95aa0ab1ef713b75]::query_impl::check_mod_item_types::get_query_non_incr::__rust_end_short_backtrace
  46:     0x7eff7a9a6994 - <rustc_middle[592a0bbeca0fd3ce]::hir::map::Map>::for_each_module::<rustc_hir_analysis[dce964d2116ebcb7]::check_crate::{closure#6}::{closure#0}>
  47:     0x7eff7aa22075 - <rustc_session[e07a36145b1b1b4a]::session::Session>::time::<(), rustc_hir_analysis[dce964d2116ebcb7]::check_crate::{closure#6}>
  48:     0x7eff7ab661b1 - rustc_hir_analysis[dce964d2116ebcb7]::check_crate
  50:     0x7eff7baba495 - rustc_query_impl[95aa0ab1ef713b75]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[95aa0ab1ef713b75]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 1usize]>>
  51:     0x7eff7baf4d00 - <rustc_query_impl[95aa0ab1ef713b75]::query_impl::analysis::dynamic_query::{closure#2} as core[26fdc00326c0bb64]::ops::function::FnOnce<(rustc_middle[592a0bbeca0fd3ce]::ty::context::TyCtxt, ())>>::call_once
  51:     0x7eff7baf4d00 - <rustc_query_impl[95aa0ab1ef713b75]::query_impl::analysis::dynamic_query::{closure#2} as core[26fdc00326c0bb64]::ops::function::FnOnce<(rustc_middle[592a0bbeca0fd3ce]::ty::context::TyCtxt, ())>>::call_once
  52:     0x7eff7bd9bdce - rustc_query_system[75e9de11acae4ed9]::query::plumbing::try_execute_query::<rustc_query_impl[95aa0ab1ef713b75]::DynamicConfig<rustc_query_system[75e9de11acae4ed9]::query::caches::SingleCache<rustc_middle[592a0bbeca0fd3ce]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[95aa0ab1ef713b75]::plumbing::QueryCtxt, false>
  53:     0x7eff7bb702ed - rustc_query_impl[95aa0ab1ef713b75]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  54:     0x7eff7a10aaad - <rustc_middle[592a0bbeca0fd3ce]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[68d8e3ec61f6d758]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>
  55:     0x7eff7a093b61 - <rustc_interface[b4297112cd84a560]::interface::Compiler>::enter::<rustc_driver_impl[68d8e3ec61f6d758]::run_compiler::{closure#1}::{closure#2}, core[26fdc00326c0bb64]::result::Result<core[26fdc00326c0bb64]::option::Option<rustc_interface[b4297112cd84a560]::queries::Linker>, rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>
  56:     0x7eff7a0c2d99 - rustc_span[c524aeeaa6ad130c]::set_source_map::<core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>, rustc_interface[b4297112cd84a560]::interface::run_compiler<core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>, rustc_driver_impl[68d8e3ec61f6d758]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  57:     0x7eff7a114da7 - <scoped_tls[a84f6f1d5c35254d]::ScopedKey<rustc_span[c524aeeaa6ad130c]::SessionGlobals>>::set::<rustc_interface[b4297112cd84a560]::interface::run_compiler<core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>, rustc_driver_impl[68d8e3ec61f6d758]::run_compiler::{closure#1}>::{closure#0}, core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>
  58:     0x7eff7a0c87b6 - std[ac7be0939c0d8602]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[b4297112cd84a560]::util::run_in_thread_pool_with_globals<rustc_interface[b4297112cd84a560]::interface::run_compiler<core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>, rustc_driver_impl[68d8e3ec61f6d758]::run_compiler::{closure#1}>::{closure#0}, core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>
  59:     0x7eff7a0c8dd9 - <<std[ac7be0939c0d8602]::thread::Builder>::spawn_unchecked_<rustc_interface[b4297112cd84a560]::util::run_in_thread_pool_with_globals<rustc_interface[b4297112cd84a560]::interface::run_compiler<core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>, rustc_driver_impl[68d8e3ec61f6d758]::run_compiler::{closure#1}>::{closure#0}, core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[26fdc00326c0bb64]::result::Result<(), rustc_span[c524aeeaa6ad130c]::ErrorGuaranteed>>::{closure#1} as core[26fdc00326c0bb64]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:     0x7eff7911cb43 - <unknown>
  62:     0x7eff791aea00 - <unknown>
  63:                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 attach the file at `/checkout/obj/rustc-ice-2023-07-07T18:29:29.967075847Z-49860.txt` to your bug report

note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [typeck] type-checking `<impl at fake-test-src-base/generic-associated-types/issue-90014-tait2.rs:40:1: 40:13>::make_fut`
#1 [type_of] computing type of `Fut::{opaque#0}`
#2 [check_mod_item_types] checking item types in top-level module
end of query stack
error: aborting due to previous error
------------------------------------------

@bors
Copy link
Collaborator

bors commented Jul 7, 2023

⌛ Testing commit 1553f4c with merge 94dff36b6f1e55f01d75f41131a1ce0fe71ef4be...

@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

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

@GuillaumeGomez GuillaumeGomez deleted the rollup-wof0vt8 branch July 7, 2023 19:29
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) A-testsuite Area: The testsuite used to check the correctness of rustc A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants