rust icon indicating copy to clipboard operation
rust copied to clipboard

Normalize trait ref before orphan check & consider ty params in alias types to be uncovered

Open fmease opened this issue 2 years ago • 52 comments

Fixes #99554, fixes rust-lang/types-team#104.

Supersedes #100555.

r? lcnr

fmease avatar Oct 25 '23 13:10 fmease

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

Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=fmease
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_9cdad398-a4a7-41ae-8d7b-c67435c6c76c
GITHUB_EVENT_NAME=pull_request
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=32fddfe516228a92bf5df70c2068453ca3b2d831
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_9cdad398-a4a7-41ae-8d7b-c67435c6c76c
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_9cdad398-a4a7-41ae-8d7b-c67435c6c76c
GITHUB_TRIGGERING_ACTOR=fmease
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/117164/merge
GITHUB_WORKFLOW_SHA=32fddfe516228a92bf5df70c2068453ca3b2d831
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---

---- [ui] tests/ui/associated-types/issue-38821.rs stdout ----
diff of stderr:

1 error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
+    |
+ LL | #[derive(Debug, Copy, Clone)]
+ LL | #[derive(Debug, Copy, Clone)]
+    |          ^^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
+    |
+ note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
+    |
+    |
+ LL | impl<T: NotNull> IntoNullable for T {
+    |         |
+    |         unsatisfied trait bound introduced here
+    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
+ help: consider further restricting the associated type
+ help: consider further restricting the associated type
+    |
+ LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,
+ 
+ 
+ error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
3    |
4 LL | #[derive(Debug, Copy, Clone)]


17 LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,
19 
- error: aborting due to previous error
- error: aborting due to previous error
+ error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
+    |
+ LL | #[derive(Debug, Copy, Clone)]
+ LL | #[derive(Debug, Copy, Clone)]
+    |                       ^^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
+    |
+ note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
+    |
+    |
+ LL | impl<T: NotNull> IntoNullable for T {
+    |         |
+    |         unsatisfied trait bound introduced here
+    = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
+ help: consider further restricting the associated type
+ help: consider further restricting the associated type
+    |
+ LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,
+ 
+ error: aborting due to 3 previous errors
21 
22 For more information about this error, try `rustc --explain E0277`.
---
To only update this specific test, also pass `--test-args associated-types/issue-38821.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/associated-types/issue-38821.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" "--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" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/issue-38821" "-A" "unused" "-A" "internal_features" "-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/associated-types/issue-38821/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
   |
LL | #[derive(Debug, Copy, Clone)]
LL | #[derive(Debug, Copy, Clone)]
   |          ^^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
   |
note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
   |
   |
LL | impl<T: NotNull> IntoNullable for T {
   |         |
   |         unsatisfied trait bound introduced here
   = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider further restricting the associated type
help: consider further restricting the associated type
   |
LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,


error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
   |
LL | #[derive(Debug, Copy, Clone)]
LL | #[derive(Debug, Copy, Clone)]
   |                 ^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
   |
note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
   |
   |
LL | impl<T: NotNull> IntoNullable for T {
   |         |
   |         unsatisfied trait bound introduced here
   = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider further restricting the associated type
help: consider further restricting the associated type
   |
LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,


error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
   |
LL | #[derive(Debug, Copy, Clone)]
LL | #[derive(Debug, Copy, Clone)]
   |                       ^^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
   |
note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
   |
   |
LL | impl<T: NotNull> IntoNullable for T {
   |         |
   |         unsatisfied trait bound introduced here
   = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider further restricting the associated type
help: consider further restricting the associated type
   |
LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0277`.
For more information about this error, try `rustc --explain E0277`.
------------------------------------------


---- [ui] tests/ui/type-alias-impl-trait/coherence.rs stdout ----
diff of stderr:

4 LL | impl foreign_crate::ForeignTrait for AliasOfForeignType<()> {}
6    | |                                    |
6    | |                                    |
-    | |                                    `AliasOfForeignType<()>` is not defined in the current crate
+    | |                                    type alias impl trait is treated as if it were foreign, because its hidden type could be from a foreign crate
8    | impl doesn't use only types from inside the current crate
10    = note: define and implement a trait or new type instead


The actual stderr differed from the expected stderr.
---
--- stderr -------------------------------
error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
##[error]  --> /checkout/tests/ui/type-alias-impl-trait/coherence.rs:14:1
   |
LL | impl foreign_crate::ForeignTrait for AliasOfForeignType<()> {}
   | |                                    |
   | |                                    |
   | |                                    type alias impl trait is treated as if it were foreign, because its hidden type could be from a foreign crate
   | impl doesn't use only types from inside the current crate
   = note: define and implement a trait or new type instead

error: aborting due to previous error

rust-log-analyzer avatar Oct 25 '23 13:10 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #112875) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Oct 26 '23 13:10 bors

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

Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=fmease
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_9630cdd4-5113-463a-8dbd-b1074b2574b8
GITHUB_EVENT_NAME=pull_request
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=3cff2e476105330f4ac69d3421fbcc18d49b5ca0
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_9630cdd4-5113-463a-8dbd-b1074b2574b8
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_9630cdd4-5113-463a-8dbd-b1074b2574b8
GITHUB_TRIGGERING_ACTOR=fmease
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/117164/merge
GITHUB_WORKFLOW_SHA=3cff2e476105330f4ac69d3421fbcc18d49b5ca0
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
   Compiling alloc v0.0.0 (/checkout/library/alloc)
   Compiling cfg-if v1.0.0
   Compiling adler v1.0.2
   Compiling rustc-demangle v0.1.23
error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
  --> library/alloc/src/vec/partial_eq.rs:10:14
7  | / macro_rules! __impl_slice_eq1 {
7  | / macro_rules! __impl_slice_eq1 {
8  | |     ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
9  | |         #[$stability]
10 | |         impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
   | |              ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
20 | |     }
21 | | }
   | |_- in this expansion of `__impl_slice_eq1!`
...
...
26 |   __impl_slice_eq1! { [A: Allocator] &[T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice", since = "1.46.0")] }
   |
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last

error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
  --> library/alloc/src/vec/partial_eq.rs:10:14
7  | / macro_rules! __impl_slice_eq1 {
7  | / macro_rules! __impl_slice_eq1 {
8  | |     ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
9  | |         #[$stability]
10 | |         impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
   | |              ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
20 | |     }
21 | | }
   | |_- in this expansion of `__impl_slice_eq1!`
...
...
27 |   __impl_slice_eq1! { [A: Allocator] &mut [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice", since = "1.46.0")] }
   |
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last

error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
  --> library/alloc/src/vec/partial_eq.rs:10:14
7  | / macro_rules! __impl_slice_eq1 {
7  | / macro_rules! __impl_slice_eq1 {
8  | |     ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
9  | |         #[$stability]
10 | |         impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
   | |              ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
20 | |     }
21 | | }
   | |_- in this expansion of `__impl_slice_eq1!`
...
...
29 |   __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", since = "1.48.0")]  }
   |
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last

error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<T, A>`)
     |
     |
3295 | impl<T, A: Allocator, const N: usize> TryFrom<Vec<T, A>> for [T; N] {
     |      ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<T, A>`)
     |
     = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
     = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last
For more information about this error, try `rustc --explain E0210`.
error: could not compile `alloc` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:03:39

rust-log-analyzer avatar Oct 27 '23 07:10 rust-log-analyzer

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

Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=fmease
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_0d800c6e-48ff-48f2-b182-04dc17ab9295
GITHUB_EVENT_NAME=pull_request
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=e016acab3c224722ec9c81cd8903d680f8c18147
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_0d800c6e-48ff-48f2-b182-04dc17ab9295
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_0d800c6e-48ff-48f2-b182-04dc17ab9295
GITHUB_TRIGGERING_ACTOR=fmease
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/117164/merge
GITHUB_WORKFLOW_SHA=e016acab3c224722ec9c81cd8903d680f8c18147
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
   Compiling alloc v0.0.0 (/checkout/library/alloc)
   Compiling cfg-if v1.0.0
   Compiling adler v1.0.2
   Compiling rustc-demangle v0.1.23
error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
  --> library/alloc/src/vec/partial_eq.rs:10:14
7  | / macro_rules! __impl_slice_eq1 {
7  | / macro_rules! __impl_slice_eq1 {
8  | |     ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
9  | |         #[$stability]
10 | |         impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
   | |              ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
20 | |     }
21 | | }
   | |_- in this expansion of `__impl_slice_eq1!`
...
...
26 |   __impl_slice_eq1! { [A: Allocator] &[T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice", since = "1.46.0")] }
   |
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last

error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
  --> library/alloc/src/vec/partial_eq.rs:10:14
7  | / macro_rules! __impl_slice_eq1 {
7  | / macro_rules! __impl_slice_eq1 {
8  | |     ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
9  | |         #[$stability]
10 | |         impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
   | |              ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
20 | |     }
21 | | }
   | |_- in this expansion of `__impl_slice_eq1!`
...
...
27 |   __impl_slice_eq1! { [A: Allocator] &mut [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice", since = "1.46.0")] }
   |
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last

error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
  --> library/alloc/src/vec/partial_eq.rs:10:14
7  | / macro_rules! __impl_slice_eq1 {
7  | / macro_rules! __impl_slice_eq1 {
8  | |     ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
9  | |         #[$stability]
10 | |         impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
   | |              ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<U, A>`)
20 | |     }
21 | | }
   | |_- in this expansion of `__impl_slice_eq1!`
...
...
29 |   __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", since = "1.48.0")]  }
   |
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last

error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Vec<T, A>`)
     |
     |
3295 | impl<T, A: Allocator, const N: usize> TryFrom<Vec<T, A>> for [T; N] {
     |      ^ type parameter `T` must be covered by another type when it appears before the first local type (`Vec<T, A>`)
     |
     = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
     = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last
For more information about this error, try `rustc --explain E0210`.
error: could not compile `alloc` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:03:41

rust-log-analyzer avatar Oct 28 '23 10:10 rust-log-analyzer

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

Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=fmease
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_b9228b7f-71b4-46f9-85f8-61832bdd8100
GITHUB_EVENT_NAME=pull_request
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=beab5d97735b2c2f1dcaccfeb2d37a451a6d86c4
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_b9228b7f-71b4-46f9-85f8-61832bdd8100
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_b9228b7f-71b4-46f9-85f8-61832bdd8100
GITHUB_TRIGGERING_ACTOR=fmease
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/117164/merge
GITHUB_WORKFLOW_SHA=beab5d97735b2c2f1dcaccfeb2d37a451a6d86c4
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
---
   Compiling unicode-width v0.1.10
   Compiling scoped-tls v1.0.1
   Compiling thiserror-core v1.0.38
   Compiling crc32fast v1.3.2
error: internal compiler error: compiler/rustc_trait_selection/src/traits/coherence.rs:782:9: can't orphan check a trait ref with both params and inference variables <ziptuple::Zip<(_,)> as std::convert::From<(A,)>>
thread 'rustc' panicked at /checkout/compiler/rustc_errors/src/lib.rs:1661:9:
Box<dyn Any>
stack backtrace:
   0:     0x7f84989a20cc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h73a4c8ff7aa57720
   0:     0x7f84989a20cc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h73a4c8ff7aa57720
   1:     0x7f8498a0fd3f - core::fmt::write::hcfe28fa040282f30
   2:     0x7f84989961a5 - std::io::Write::write_fmt::h11fdb27e17af7d02
   3:     0x7f84989a1eb4 - std::sys_common::backtrace::print::h7166f15a8ebdd62a
   4:     0x7f84989a50fa - std::panicking::default_hook::{{closure}}::ha79903f1a9dd26d8
   5:     0x7f84989a4de4 - std::panicking::default_hook::h6d2760926fa58b0d
   6:     0x7f8499675939 - <alloc[2fe9dddc96f1fe36]::boxed::Box<rustc_driver_impl[5ae7788eba54f725]::install_ice_hook::{closure#0}> as core[1347bdad4dcd0a52]::ops::function::Fn<(&dyn for<'a, 'b> core[1347bdad4dcd0a52]::ops::function::Fn<(&'a core[1347bdad4dcd0a52]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[1347bdad4dcd0a52]::marker::Sync + core[1347bdad4dcd0a52]::marker::Send, &core[1347bdad4dcd0a52]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f84989a57fa - std::panicking::rust_panic_with_hook::h5282af998bc68a8f
   8:     0x7f849c12c026 - std[16bc7eba0bd09e5b]::panicking::begin_panic::<rustc_errors[82d48d0f43f66daf]::ExplicitBug>::{closure#0}
   9:     0x7f849c12b296 - std[16bc7eba0bd09e5b]::sys_common::backtrace::__rust_end_short_backtrace::<std[16bc7eba0bd09e5b]::panicking::begin_panic<rustc_errors[82d48d0f43f66daf]::ExplicitBug>::{closure#0}, !>
  10:     0x7f84995914d6 - std[16bc7eba0bd09e5b]::panicking::begin_panic::<rustc_errors[82d48d0f43f66daf]::ExplicitBug>
  11:     0x7f849c1cc427 - <rustc_errors[82d48d0f43f66daf]::HandlerInner>::bug::<alloc[2fe9dddc96f1fe36]::string::String>
  12:     0x7f849c1cc2c9 - <rustc_errors[82d48d0f43f66daf]::Handler>::bug::<alloc[2fe9dddc96f1fe36]::string::String>
  13:     0x7f849c0c4207 - rustc_middle[e6ed6fb56251cc85]::util::bug::opt_span_bug_fmt::<rustc_span[5e278354388e34e2]::span_encoding::Span>::{closure#0}
  14:     0x7f849c0b9dec - rustc_middle[e6ed6fb56251cc85]::ty::context::tls::with_opt::<rustc_middle[e6ed6fb56251cc85]::util::bug::opt_span_bug_fmt<rustc_span[5e278354388e34e2]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  15:     0x7f849c0b9d85 - rustc_middle[e6ed6fb56251cc85]::ty::context::tls::with_context_opt::<rustc_middle[e6ed6fb56251cc85]::ty::context::tls::with_opt<rustc_middle[e6ed6fb56251cc85]::util::bug::opt_span_bug_fmt<rustc_span[5e278354388e34e2]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  16:     0x7f8499582832 - rustc_middle[e6ed6fb56251cc85]::util::bug::bug_fmt
  17:     0x7f849bd58c13 - rustc_trait_selection[ea119e452c10ca4]::traits::coherence::orphan_check
  18:     0x7f8499fd4e1d - rustc_hir_analysis[99b838d7ff73b1e1]::coherence::orphan::orphan_check_impl
  19:     0x7f849af0e347 - rustc_query_impl[c45adf517049c363]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c45adf517049c363]::query_impl::orphan_check_impl::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e6ed6fb56251cc85]::query::erase::Erased<[u8; 1usize]>>
  20:     0x7f849b041ba9 - <rustc_query_impl[c45adf517049c363]::query_impl::orphan_check_impl::dynamic_query::{closure#2} as core[1347bdad4dcd0a52]::ops::function::FnOnce<(rustc_middle[e6ed6fb56251cc85]::ty::context::TyCtxt, rustc_span[5e278354388e34e2]::def_id::LocalDefId)>>::call_once
  21:     0x7f849b23f11f - rustc_query_system[809e98d8c544bc14]::query::plumbing::try_execute_query::<rustc_query_impl[c45adf517049c363]::DynamicConfig<rustc_query_system[809e98d8c544bc14]::query::caches::VecCache<rustc_span[5e278354388e34e2]::def_id::LocalDefId, rustc_middle[e6ed6fb56251cc85]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[c45adf517049c363]::plumbing::QueryCtxt, false>
  22:     0x7f849b0a185b - rustc_query_impl[c45adf517049c363]::query_impl::orphan_check_impl::get_query_non_incr::__rust_end_short_backtrace
  23:     0x7f8499f7d5e7 - rustc_hir_analysis[99b838d7ff73b1e1]::coherence::coherent_trait
  24:     0x7f849af0564c - rustc_query_impl[c45adf517049c363]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c45adf517049c363]::query_impl::coherent_trait::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e6ed6fb56251cc85]::query::erase::Erased<[u8; 0usize]>>
  25:     0x7f849b0d959d - <rustc_query_impl[c45adf517049c363]::query_impl::coherent_trait::dynamic_query::{closure#2} as core[1347bdad4dcd0a52]::ops::function::FnOnce<(rustc_middle[e6ed6fb56251cc85]::ty::context::TyCtxt, rustc_span[5e278354388e34e2]::def_id::DefId)>>::call_once
  26:     0x7f849b1f59c3 - rustc_query_system[809e98d8c544bc14]::query::plumbing::try_execute_query::<rustc_query_impl[c45adf517049c363]::DynamicConfig<rustc_query_system[809e98d8c544bc14]::query::caches::DefaultCache<rustc_span[5e278354388e34e2]::def_id::DefId, rustc_middle[e6ed6fb56251cc85]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c45adf517049c363]::plumbing::QueryCtxt, false>
  28:     0x7f8499f39239 - rustc_hir_analysis[99b838d7ff73b1e1]::check_crate
  29:     0x7f84997bf4b0 - rustc_interface[8979a5ad93292692]::passes::analysis
  30:     0x7f849af23295 - rustc_query_impl[c45adf517049c363]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c45adf517049c363]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e6ed6fb56251cc85]::query::erase::Erased<[u8; 1usize]>>
  31:     0x7f849b04ccb5 - <rustc_query_impl[c45adf517049c363]::query_impl::analysis::dynamic_query::{closure#2} as core[1347bdad4dcd0a52]::ops::function::FnOnce<(rustc_middle[e6ed6fb56251cc85]::ty::context::TyCtxt, ())>>::call_once
  31:     0x7f849b04ccb5 - <rustc_query_impl[c45adf517049c363]::query_impl::analysis::dynamic_query::{closure#2} as core[1347bdad4dcd0a52]::ops::function::FnOnce<(rustc_middle[e6ed6fb56251cc85]::ty::context::TyCtxt, ())>>::call_once
  32:     0x7f849b1c4efe - rustc_query_system[809e98d8c544bc14]::query::plumbing::try_execute_query::<rustc_query_impl[c45adf517049c363]::DynamicConfig<rustc_query_system[809e98d8c544bc14]::query::caches::SingleCache<rustc_middle[e6ed6fb56251cc85]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[c45adf517049c363]::plumbing::QueryCtxt, false>
  33:     0x7f849b19bee1 - rustc_query_impl[c45adf517049c363]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  34:     0x7f8499635442 - <rustc_middle[e6ed6fb56251cc85]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[5ae7788eba54f725]::run_compiler::{closure#1}::{closure#2}::{closure#6}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>
  35:     0x7f84996643f9 - std[16bc7eba0bd09e5b]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8979a5ad93292692]::util::run_in_thread_with_globals<rustc_interface[8979a5ad93292692]::interface::run_compiler<core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>, rustc_driver_impl[5ae7788eba54f725]::run_compiler::{closure#1}>::{closure#0}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>
  36:     0x7f849966ae74 - std[16bc7eba0bd09e5b]::panicking::try::<core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>, core[1347bdad4dcd0a52]::panic::unwind_safe::AssertUnwindSafe<<std[16bc7eba0bd09e5b]::thread::Builder>::spawn_unchecked_<rustc_interface[8979a5ad93292692]::util::run_in_thread_with_globals<rustc_interface[8979a5ad93292692]::interface::run_compiler<core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>, rustc_driver_impl[5ae7788eba54f725]::run_compiler::{closure#1}>::{closure#0}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  37:     0x7f849964066a - <<std[16bc7eba0bd09e5b]::thread::Builder>::spawn_unchecked_<rustc_interface[8979a5ad93292692]::util::run_in_thread_with_globals<rustc_interface[8979a5ad93292692]::interface::run_compiler<core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>, rustc_driver_impl[5ae7788eba54f725]::run_compiler::{closure#1}>::{closure#0}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1347bdad4dcd0a52]::result::Result<(), rustc_span[5e278354388e34e2]::ErrorGuaranteed>>::{closure#1} as core[1347bdad4dcd0a52]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  39:     0x7f849874dac3 - <unknown>
  40:     0x7f84987dfa40 - <unknown>
  41:                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 `/cargo/registry/src/index.crates.io-6f17d22bba15001f/itertools-0.10.5/rustc-ice-2023-10-28T11_16_16-10090.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C debug-assertions=on -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -Z unstable-options -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z binary-dep-depinfo -Z tls-model=initial-exec -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [orphan_check_impl] checking whether impl `ziptuple::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/itertools-0.10.5/src/ziptuple.rs:50:9: 50:81>` follows the orphan rules
#1 [coherent_trait] coherence checking all impls of trait `core::convert::From`
end of query stack
error: could not compile `itertools` (lib)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:04:27

rust-log-analyzer avatar Oct 28 '23 11:10 rust-log-analyzer

(still WIP, latest commit fails some tests)

fmease avatar Nov 17 '23 15:11 fmease

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
Removing intermediate container 1a22ae28298f
 ---> 67c867175f06
Step 6/10 : COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
 ---> eba96ca068eb
Step 7/10 : RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt     && pip3 install virtualenv
Collecting binaryornot==0.4.4
  Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
Collecting boolean-py==4.0
  Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
---
Building wheels for collected packages: reuse
  Building wheel for reuse (pyproject.toml): started
  Building wheel for reuse (pyproject.toml): finished with status 'done'
  Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=180123 sha256=f323ccf11d14c5b11f6d5e70edb46e391f4b49a5df5c7d922224477ad8ee15c5
  Stored in directory: /tmp/pip-ephem-wheel-cache-llelrdl4/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
  Attempting uninstall: setuptools
    Found existing installation: setuptools 59.6.0
    Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
---
  Downloading virtualenv-20.24.6-py3-none-any.whl (3.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 74.6 MB/s eta 0:00:00
Collecting filelock<4,>=3.12.2
  Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
Collecting distlib<1,>=0.3.7
  Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 55.0 MB/s eta 0:00:00
Collecting platformdirs<4,>=3.9.1
  Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
Installing collected packages: distlib, platformdirs, filelock, virtualenv
Successfully installed distlib-0.3.7 filelock-3.13.1 platformdirs-3.11.0 virtualenv-20.24.6
Removing intermediate container 208bdf2203ed
 ---> 326f86ba9447
Step 8/10 : COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
 ---> 26bf01e569fa
 ---> 26bf01e569fa
Step 9/10 : COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
 ---> 77c7134426ee
Step 10/10 : ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Removing intermediate container 3e23dc3bef6c
 ---> bd03300886dc
Successfully built bd03300886dc
Successfully tagged rust-ci:latest
Successfully tagged rust-ci:latest
##[endgroup]
Built container sha256:bd03300886dcbe70612957179c797bf11ea3faa8127d8def41581b263e06e495
Uploading finished image sha256:bd03300886dcbe70612957179c797bf11ea3faa8127d8def41581b263e06e495 to https://ci-caches.rust-lang.org/docker/139141a603ff222e98d20ef66f0e4eaedfc4b373e41d302ecff577f90ee0c6cf0cab092d18a8f6a073c88b362b9a680d3b2b6e5c828faaf25d1b853eabb78b1a
IMAGE          CREATED          CREATED BY                                      SIZE      COMMENT
bd03300886dc   1 second ago     /bin/sh -c #(nop)  ENV SCRIPT=TIDY_PRINT_DIF…   0B        
26bf01e569fa   2 seconds ago    /bin/sh -c #(nop) COPY file:078ea1d11e7b7cda…   367B      
326f86ba9447   3 seconds ago    |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c…   23.8MB    
eba96ca068eb   9 seconds ago    /bin/sh -c #(nop) COPY file:ac591dd6bc5afa66…   5.33kB    
67c867175f06   11 seconds ago   |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c…   23.1MB    
---
<missing>      6 weeks ago      /bin/sh -c #(nop)  LABEL org.opencontainers.…   0B        
<missing>      6 weeks ago      /bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH     0B        
<missing>      6 weeks ago      /bin/sh -c #(nop)  ARG RELEASE                  0B        

<botocore.awsrequest.AWSRequest object at 0x7f45801df810>
gzip: stdout: Broken pipe
xargs: docker: terminated by signal 13
https://ci-caches.rust-lang.org/docker/139141a603ff222e98d20ef66f0e4eaedfc4b373e41d302ecff577f90ee0c6cf0cab092d18a8f6a073c88b362b9a680d3b2b6e5c828faaf25d1b853eabb78b1a
sha256:bd03300886dcbe70612957179c797bf11ea3faa8127d8def41581b263e06e495
---
DirectMap4k:      163776 kB
DirectMap2M:     7176192 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
    Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/4d7f952a02d0bca67c98a6b74895b7e3fbe38341/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-4d7f952a02d0bca67c98a6b74895b7e3fbe38341-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished release [optimized] target(s) in 24.51s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_trait_selection/src/traits/coherence.rs at line 674:
             && let ty::Alias(..) = ty.kind()
         {
             let mut fulfill_cx = <dyn TraitEngine<'_>>::new(&infcx);
-            infcx.at(&cause, param_env).structurally_normalize(ty, &mut *fulfill_cx)
+            infcx
+                .at(&cause, param_env)
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_trait_selection/src/traits/specialize/mod.rs" "/checkout/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs" "/checkout/compiler/rustc_trait_selection/src/traits/wf.rs" "/checkout/compiler/rustc_trait_selection/src/traits/object_safety.rs" "/checkout/compiler/rustc_trait_selection/src/traits/coherence.rs" "/checkout/compiler/rustc_trait_selection/src/traits/misc.rs" "/checkout/compiler/rustc_trait_selection/src/traits/mod.rs" "/checkout/compiler/rustc_trait_selection/src/traits/specialize/specialization_graph.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
+                .structurally_normalize(ty, &mut *fulfill_cx)
                 .map(|ty| infcx.resolve_vars_if_possible(ty))
                 .or_else(|_| Ok(Ty::new_error(tcx, delay_bug())))
Build completed unsuccessfully in 0:00:42
  local time: Fri Nov 17 15:30:44 UTC 2023
  network time: Fri, 17 Nov 2023 15:30:44 GMT
##[error]Process completed with exit code 1.

rust-log-analyzer avatar Nov 17 '23 15:11 rust-log-analyzer

Could not assign reviewer from: lcnr. User(s) lcnr are either the PR author, already assigned, or on vacation, and there are no other candidates. Use r? to specify someone else to assign.

rustbot avatar Nov 18 '23 10:11 rustbot

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
Removing intermediate container 352cb2cbef51
 ---> 77d335156d5b
Step 6/10 : COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
 ---> f4010b0e5c7d
Step 7/10 : RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt     && pip3 install virtualenv
Collecting binaryornot==0.4.4
  Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
Collecting boolean-py==4.0
  Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
---
Building wheels for collected packages: reuse
  Building wheel for reuse (pyproject.toml): started
  Building wheel for reuse (pyproject.toml): finished with status 'done'
  Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=180123 sha256=f323ccf11d14c5b11f6d5e70edb46e391f4b49a5df5c7d922224477ad8ee15c5
  Stored in directory: /tmp/pip-ephem-wheel-cache-56aznxwo/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
  Attempting uninstall: setuptools
    Found existing installation: setuptools 59.6.0
    Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
    Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'setuptools'. No files were found to uninstall.
Successfully installed binaryornot-0.4.4 boolean-py-4.0 chardet-5.1.0 jinja2-3.1.2 license-expression-30.0.0 markupsafe-2.1.1 python-debian-0.1.49 reuse-1.1.0 setuptools-66.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting virtualenv
  Downloading virtualenv-20.24.6-py3-none-any.whl (3.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 20.1 MB/s eta 0:00:00
Collecting distlib<1,>=0.3.7
  Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 36.9 MB/s eta 0:00:00
Collecting platformdirs<4,>=3.9.1
  Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
Collecting filelock<4,>=3.12.2
  Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
Installing collected packages: distlib, platformdirs, filelock, virtualenv
Successfully installed distlib-0.3.7 filelock-3.13.1 platformdirs-3.11.0 virtualenv-20.24.6
Removing intermediate container 2912f8b014f2
 ---> c2e2e06be53f
Step 8/10 : COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
 ---> f916e55544d4
 ---> f916e55544d4
Step 9/10 : COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
 ---> 93cfb079f553
Step 10/10 : ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Removing intermediate container dae65b196ed0
 ---> fa6d6fc13b7e
Successfully built fa6d6fc13b7e
Successfully tagged rust-ci:latest
Successfully tagged rust-ci:latest
##[endgroup]
Built container sha256:fa6d6fc13b7ef0fea502de3fd92af5e0ea8c5de3d1645c5bde7295a3a9b42a03
Uploading finished image sha256:fa6d6fc13b7ef0fea502de3fd92af5e0ea8c5de3d1645c5bde7295a3a9b42a03 to https://ci-caches.rust-lang.org/docker/139141a603ff222e98d20ef66f0e4eaedfc4b373e41d302ecff577f90ee0c6cf0cab092d18a8f6a073c88b362b9a680d3b2b6e5c828faaf25d1b853eabb78b1a
IMAGE          CREATED          CREATED BY                                      SIZE      COMMENT
fa6d6fc13b7e   1 second ago     /bin/sh -c #(nop)  ENV SCRIPT=TIDY_PRINT_DIF…   0B        
f916e55544d4   2 seconds ago    /bin/sh -c #(nop) COPY file:078ea1d11e7b7cda…   367B      
c2e2e06be53f   3 seconds ago    |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c…   23.8MB    
f4010b0e5c7d   10 seconds ago   /bin/sh -c #(nop) COPY file:ac591dd6bc5afa66…   5.33kB    
77d335156d5b   12 seconds ago   |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c…   23.1MB    
---
<missing>      6 weeks ago      /bin/sh -c #(nop)  LABEL org.opencontainers.…   0B        
<missing>      6 weeks ago      /bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH     0B        
<missing>      6 weeks ago      /bin/sh -c #(nop)  ARG RELEASE                  0B        

<botocore.awsrequest.AWSRequest object at 0x7fadbfe13dd0>
gzip: stdout: Broken pipe
xargs: docker: terminated by signal 13
https://ci-caches.rust-lang.org/docker/139141a603ff222e98d20ef66f0e4eaedfc4b373e41d302ecff577f90ee0c6cf0cab092d18a8f6a073c88b362b9a680d3b2b6e5c828faaf25d1b853eabb78b1a
sha256:fa6d6fc13b7ef0fea502de3fd92af5e0ea8c5de3d1645c5bde7295a3a9b42a03
---
DirectMap4k:      231360 kB
DirectMap2M:     7108608 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
    Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/61d3b263a793b390f6231f08d862e8c71d04e3ef/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-61d3b263a793b390f6231f08d862e8c71d04e3ef-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished release [optimized] target(s) in 25.11s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_trait_selection/src/traits/coherence.rs at line 674:
             && let ty::Alias(..) = ty.kind()
         {
             let mut fulfill_cx = <dyn TraitEngine<'_>>::new(&infcx);
-            infcx.at(&cause, param_env)
+            infcx
+                .at(&cause, param_env)
                 .structurally_normalize(ty, &mut *fulfill_cx)
                 .map(|ty| infcx.resolve_vars_if_possible(ty))
                 .or_else(|_| Ok(Ty::new_error(tcx, delay_bug())))
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_llvm/src/lib.rs" "/checkout/compiler/rustc_trait_selection/src/traits/wf.rs" "/checkout/compiler/rustc_trait_selection/src/solve/alias_relate.rs" "/checkout/compiler/rustc_trait_selection/src/traits/object_safety.rs" "/checkout/compiler/rustc_trait_selection/src/solve/canonicalize.rs" "/checkout/compiler/rustc_trait_selection/src/traits/coherence.rs" "/checkout/compiler/rustc_trait_selection/src/solve/fulfill.rs" "/checkout/compiler/rustc_llvm/build.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
  local time: Sat Nov 18 10:09:34 UTC 2023
  network time: Sat, 18 Nov 2023 10:09:34 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Nov 18 '23 10:11 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #118138) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Nov 25 '23 00:11 bors

The job mingw-check failed! Check out the build log: (web) (plain)

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

rust-log-analyzer avatar Dec 03 '23 09:12 rust-log-analyzer

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

Click to see the possible cause of the failure (guessed by this bot)
---- [ui] tests/ui/coherence/orphan-check-projection-does-cover.rs#next stdout ----

error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/coherence/orphan-check-projection-does-cover.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/coherence/orphan-check-projection-does-cover.next" "-A" "unused" "-A" "internal_features" "-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/coherence/orphan-check-projection-does-cover.next/auxiliary" "-Ztrait-solver=next" "--edition=2021" "--extern" "foreign=/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/coherence/orphan-check-projection-does-cover.next/auxiliary/libparametrized_trait.so"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0210]: type parameter `T` must be covered by another type when it appears before the first local type (`Local`)
##[error]  --> /checkout/tests/ui/coherence/orphan-check-projection-does-cover.rs:22:6
   |
LL | impl<T> foreign::Trait1<Local, T> for <T as Project>::Output {}
   |      ^ type parameter `T` must be covered by another type when it appears before the first local type (`Local`)
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
   = note: in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last
Build completed unsuccessfully in 0:13:03
error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0210`.

rust-log-analyzer avatar Dec 06 '23 17:12 rust-log-analyzer

@bors try

lcnr avatar Dec 07 '23 09:12 lcnr

:hourglass: Trying commit a13ff7ec55ff5fad1e2e12313e99ce7d2e78fbc0 with merge eb3956d47f58f1c7c0a5694b1d3401945bc41dce...

bors avatar Dec 07 '23 09:12 bors

:sunny: Try build successful - checks-actions Build commit: eb3956d47f58f1c7c0a5694b1d3401945bc41dce (eb3956d47f58f1c7c0a5694b1d3401945bc41dce)

bors avatar Dec 07 '23 10:12 bors

@craterbot check

lcnr avatar Dec 07 '23 11:12 lcnr

:ok_hand: Experiment pr-117164 created and queued. :robot: Automatically detected try build eb3956d47f58f1c7c0a5694b1d3401945bc41dce :mag: You can check out the queue and this experiment's details.

:information_source: Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

craterbot avatar Dec 07 '23 11:12 craterbot

:construction: Experiment pr-117164 is now running

:information_source: Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

craterbot avatar Dec 07 '23 11:12 craterbot

:tada: Experiment pr-117164 is completed! :bar_chart: 1036 regressed and 1 fixed (397582 total) :newspaper: Open the full report.

:warning: If you notice any spurious failure please add them to the blacklist! :information_source: Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

craterbot avatar Dec 09 '23 04:12 craterbot

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

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
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-16]
##[group]Clock drift check
  local time: Sat Dec 16 13:30:18 UTC 2023
  network time: Sat, 16 Dec 2023 13:30:18 GMT
  network time: Sat, 16 Dec 2023 13:30:18 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--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', '--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', '--enable-missing-tools', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: rust.codegen-units-std := 1
---
   Compiling yoke v0.7.2
   Compiling unicode-security v0.1.0
   Compiling zerovec v0.10.0
   Compiling rustc_data_structures v0.0.0 (/checkout/compiler/rustc_data_structures)
thread 'rustc' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/ena-0.14.2/src/snapshot_vec.rs:199:10:
stack backtrace:
   0:     0x7f0dafdb316c - <std[3ffecb1874d2364c]::sys_common::backtrace::_print::DisplayBacktrace as core[561fb22f50aa341f]::fmt::Display>::fmt
   1:     0x7f0dafe0ebef - core[561fb22f50aa341f]::fmt::write
   2:     0x7f0dafda77d5 - <std[3ffecb1874d2364c]::sys::unix::stdio::Stderr as std[3ffecb1874d2364c]::io::Write>::write_fmt
   2:     0x7f0dafda77d5 - <std[3ffecb1874d2364c]::sys::unix::stdio::Stderr as std[3ffecb1874d2364c]::io::Write>::write_fmt
   3:     0x7f0dafdb2f54 - std[3ffecb1874d2364c]::sys_common::backtrace::print
   4:     0x7f0dafdb625a - std[3ffecb1874d2364c]::panicking::default_hook::{closure#1}
   5:     0x7f0dafdb5f34 - std[3ffecb1874d2364c]::panicking::default_hook
   6:     0x7f0db0ae8307 - <alloc[fb4f8a8c4c574805]::boxed::Box<rustc_driver_impl[95ec79f48b80734b]::install_ice_hook::{closure#0}> as core[561fb22f50aa341f]::ops::function::Fn<(&dyn for<'a, 'b> core[561fb22f50aa341f]::ops::function::Fn<(&'a core[561fb22f50aa341f]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[561fb22f50aa341f]::marker::Sync + core[561fb22f50aa341f]::marker::Send, &core[561fb22f50aa341f]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f0dafdb693a - std[3ffecb1874d2364c]::panicking::rust_panic_with_hook
   8:     0x7f0dafdb66be - std[3ffecb1874d2364c]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f0dafdb3736 - std[3ffecb1874d2364c]::sys_common::backtrace::__rust_end_short_backtrace::<std[3ffecb1874d2364c]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f0dafd6def5 - core[561fb22f50aa341f]::panicking::panic_fmt
  12:     0x7f0dafd6e132 - core[561fb22f50aa341f]::panicking::panic_bounds_check
  12:     0x7f0dafd6e132 - core[561fb22f50aa341f]::panicking::panic_bounds_check
  13:     0x7f0db2f608a1 - <ena[fe5f203570989dc6]::snapshot_vec::SnapshotVec<ena[fe5f203570989dc6]::unify::backing_vec::Delegate<rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TyVidEqKey>, &mut alloc[fb4f8a8c4c574805]::vec::Vec<ena[fe5f203570989dc6]::unify::VarValue<rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TyVidEqKey>>, &mut rustc_infer[5a13e1cbb6d9814]::infer::undo_log::InferCtxtUndoLogs>>::get
  14:     0x7f0db304f024 - <rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TypeVariableTable>::probe
  15:     0x7f0db2f4004a - <rustc_infer[5a13e1cbb6d9814]::infer::ShallowResolver>::fold_infer_ty
  16:     0x7f0db2c7aa27 - <rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver as rustc_type_ir[b9c636ea942ac019]::fold::FallibleTypeFolder<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_fold_ty
  17:     0x7f0db2d39bd6 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty as rustc_type_ir[b9c636ea942ac019]::fold::TypeSuperFoldable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver>
  18:     0x7f0db2c7aa39 - <rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver as rustc_type_ir[b9c636ea942ac019]::fold::FallibleTypeFolder<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_fold_ty
  19:     0x7f0db2d7fa50 - <rustc_infer[5a13e1cbb6d9814]::infer::InferCtxt>::resolve_vars_if_possible::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  20:     0x7f0db2cd1011 - <rustc_trait_selection[f5bd888d08b24884]::traits::project::AssocTypeNormalizer>::fold::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  21:     0x7f0db2cea1e5 - rustc_trait_selection[f5bd888d08b24884]::traits::project::normalize_with_depth_to::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  22:     0x7f0db2ccc295 - rustc_trait_selection[f5bd888d08b24884]::traits::project::normalize_with_depth::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  23:     0x7f0db2c67927 - <rustc_infer[5a13e1cbb6d9814]::infer::at::At as rustc_trait_selection[f5bd888d08b24884]::traits::project::NormalizeExt>::normalize::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  24:     0x7f0db2cc37ae - <rustc_trait_selection[f5bd888d08b24884]::traits::engine::ObligationCtxt>::normalize::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  25:     0x7f0db2e3ef46 - rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}
  26:     0x7f0db2e33445 - <rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}> as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitor<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_ty
  27:     0x7f0db2e33527 - <rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}> as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitor<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_ty
  28:     0x7f0db2c1baa4 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::generic_args::GenericArg as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_with::<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}>>
  29:     0x7f0db2becb01 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::sty::TraitRef as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_with::<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}>>
  30:     0x7f0db2e3e1a9 - rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check
  31:     0x7f0db154c407 - rustc_hir_analysis[c5bdaa6fbca32906]::coherence::orphan::orphan_check_impl
  32:     0x7f0db25f2ed5 - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>
  33:     0x7f0db26faff5 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, rustc_span[766e90ec56882eae]::def_id::LocalDefId)>>::call_once
  34:     0x7f0db29f7ae3 - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::VecCache<rustc_span[766e90ec56882eae]::def_id::LocalDefId, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  35:     0x7f0db26ac18b - rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f0db15460fa - rustc_hir_analysis[c5bdaa6fbca32906]::coherence::coherent_trait
  37:     0x7f0db25e923a - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 0usize]>>
  38:     0x7f0db27d9249 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, rustc_span[766e90ec56882eae]::def_id::DefId)>>::call_once
  39:     0x7f0db2989f4b - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::DefaultCache<rustc_span[766e90ec56882eae]::def_id::DefId, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  40:     0x7f0db26d3b84 - rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7f0db157bac3 - <rustc_session[63edcc6bef93a0c0]::session::Session>::track_errors::<rustc_hir_analysis[c5bdaa6fbca32906]::check_crate::{closure#2}, ()>
  42:     0x7f0db1482f58 - rustc_hir_analysis[c5bdaa6fbca32906]::check_crate
  43:     0x7f0db0d1d4d0 - rustc_interface[7970869cbd4e04e]::passes::analysis
  44:     0x7f0db26093e3 - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>
  45:     0x7f0db26cff61 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, ())>>::call_once
  46:     0x7f0db293ccc8 - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::SingleCache<rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  47:     0x7f0db29034a1 - rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  48:     0x7f0db0ac0c9b - <rustc_middle[e1f59f2ed9bd4bb5]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  49:     0x7f0db0b2557d - <rustc_interface[7970869cbd4e04e]::interface::Compiler>::enter::<rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<core[561fb22f50aa341f]::option::Option<rustc_interface[7970869cbd4e04e]::queries::Linker>, rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  50:     0x7f0db0aa3838 - rustc_span[766e90ec56882eae]::set_source_map::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  51:     0x7f0db0adcf16 - <scoped_tls[758c8d26c7a808ba]::ScopedKey<rustc_span[766e90ec56882eae]::SessionGlobals>>::set::<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  52:     0x7f0db0aa3d1c - rustc_span[766e90ec56882eae]::create_session_globals_then::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}>
  53:     0x7f0db0abb7be - std[3ffecb1874d2364c]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  54:     0x7f0db0aa6244 - std[3ffecb1874d2364c]::panicking::try::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, core[561fb22f50aa341f]::panic::unwind_safe::AssertUnwindSafe<<std[3ffecb1874d2364c]::thread::Builder>::spawn_unchecked_<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  55:     0x7f0db0abce66 - <<std[3ffecb1874d2364c]::thread::Builder>::spawn_unchecked_<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#1} as core[561fb22f50aa341f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  56:     0x7f0dafdc279e - <std[3ffecb1874d2364c]::sys::unix::thread::Thread>::new::thread_start
  58:     0x7f0dafc3c0d0 - <unknown>
  59:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.
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 attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/rustc-ice-2023-12-16T13_36_04-12967.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -Z unstable-options -Z binary-dep-depinfo -Z unstable-options -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [orphan_check_impl] checking whether impl `zerovec::slice::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/src/zerovec/slice.rs:552:1: 552:49>` follows the orphan rules
#1 [coherent_trait] coherence checking all impls of trait `core::convert::AsRef`
end of query stack
error: could not compile `zerovec` (lib)
warning: build failed, waiting for other jobs to finish...
warning: build failed, waiting for other jobs to finish...
thread 'rustc' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/ena-0.14.2/src/snapshot_vec.rs:199:10:
stack backtrace:
   0:     0x7f029615f16c - <std[3ffecb1874d2364c]::sys_common::backtrace::_print::DisplayBacktrace as core[561fb22f50aa341f]::fmt::Display>::fmt
   1:     0x7f02961babef - core[561fb22f50aa341f]::fmt::write
   2:     0x7f02961537d5 - <std[3ffecb1874d2364c]::sys::unix::stdio::Stderr as std[3ffecb1874d2364c]::io::Write>::write_fmt
   2:     0x7f02961537d5 - <std[3ffecb1874d2364c]::sys::unix::stdio::Stderr as std[3ffecb1874d2364c]::io::Write>::write_fmt
   3:     0x7f029615ef54 - std[3ffecb1874d2364c]::sys_common::backtrace::print
   4:     0x7f029616225a - std[3ffecb1874d2364c]::panicking::default_hook::{closure#1}
   5:     0x7f0296161f34 - std[3ffecb1874d2364c]::panicking::default_hook
   6:     0x7f0296e94307 - <alloc[fb4f8a8c4c574805]::boxed::Box<rustc_driver_impl[95ec79f48b80734b]::install_ice_hook::{closure#0}> as core[561fb22f50aa341f]::ops::function::Fn<(&dyn for<'a, 'b> core[561fb22f50aa341f]::ops::function::Fn<(&'a core[561fb22f50aa341f]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[561fb22f50aa341f]::marker::Sync + core[561fb22f50aa341f]::marker::Send, &core[561fb22f50aa341f]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f029616293a - std[3ffecb1874d2364c]::panicking::rust_panic_with_hook
   8:     0x7f02961626be - std[3ffecb1874d2364c]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f029615f736 - std[3ffecb1874d2364c]::sys_common::backtrace::__rust_end_short_backtrace::<std[3ffecb1874d2364c]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f0296119ef5 - core[561fb22f50aa341f]::panicking::panic_fmt
  12:     0x7f029611a132 - core[561fb22f50aa341f]::panicking::panic_bounds_check
  12:     0x7f029611a132 - core[561fb22f50aa341f]::panicking::panic_bounds_check
  13:     0x7f029930c8a1 - <ena[fe5f203570989dc6]::snapshot_vec::SnapshotVec<ena[fe5f203570989dc6]::unify::backing_vec::Delegate<rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TyVidEqKey>, &mut alloc[fb4f8a8c4c574805]::vec::Vec<ena[fe5f203570989dc6]::unify::VarValue<rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TyVidEqKey>>, &mut rustc_infer[5a13e1cbb6d9814]::infer::undo_log::InferCtxtUndoLogs>>::get
  14:     0x7f02993fb024 - <rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TypeVariableTable>::probe
  15:     0x7f02992ec04a - <rustc_infer[5a13e1cbb6d9814]::infer::ShallowResolver>::fold_infer_ty
  16:     0x7f0299026a27 - <rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver as rustc_type_ir[b9c636ea942ac019]::fold::FallibleTypeFolder<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_fold_ty
  17:     0x7f02990e5bd6 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty as rustc_type_ir[b9c636ea942ac019]::fold::TypeSuperFoldable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver>
  18:     0x7f0299026a39 - <rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver as rustc_type_ir[b9c636ea942ac019]::fold::FallibleTypeFolder<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_fold_ty
  19:     0x7f029912ba50 - <rustc_infer[5a13e1cbb6d9814]::infer::InferCtxt>::resolve_vars_if_possible::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  20:     0x7f029907d011 - <rustc_trait_selection[f5bd888d08b24884]::traits::project::AssocTypeNormalizer>::fold::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  21:     0x7f02990961e5 - rustc_trait_selection[f5bd888d08b24884]::traits::project::normalize_with_depth_to::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  22:     0x7f0299078295 - rustc_trait_selection[f5bd888d08b24884]::traits::project::normalize_with_depth::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  23:     0x7f0299013927 - <rustc_infer[5a13e1cbb6d9814]::infer::at::At as rustc_trait_selection[f5bd888d08b24884]::traits::project::NormalizeExt>::normalize::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  24:     0x7f029906f7ae - <rustc_trait_selection[f5bd888d08b24884]::traits::engine::ObligationCtxt>::normalize::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  25:     0x7f02991eaf46 - rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}
  26:     0x7f02991df445 - <rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}> as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitor<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_ty
  27:     0x7f02991df527 - <rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}> as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitor<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_ty
  28:     0x7f0298fc7aa4 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::generic_args::GenericArg as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_with::<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}>>
  29:     0x7f0298f98b01 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::sty::TraitRef as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_with::<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}>>
  30:     0x7f02991ea1a9 - rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check
  31:     0x7f02978f8407 - rustc_hir_analysis[c5bdaa6fbca32906]::coherence::orphan::orphan_check_impl
  32:     0x7f029899eed5 - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>
  33:     0x7f0298aa6ff5 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, rustc_span[766e90ec56882eae]::def_id::LocalDefId)>>::call_once
  34:     0x7f0298da3ae3 - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::VecCache<rustc_span[766e90ec56882eae]::def_id::LocalDefId, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  35:     0x7f0298a5818b - rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f02978f20fa - rustc_hir_analysis[c5bdaa6fbca32906]::coherence::coherent_trait
  37:     0x7f029899523a - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 0usize]>>
  38:     0x7f0298b85249 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, rustc_span[766e90ec56882eae]::def_id::DefId)>>::call_once
  39:     0x7f0298d35f4b - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::DefaultCache<rustc_span[766e90ec56882eae]::def_id::DefId, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  40:     0x7f0298a7fb84 - rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7f0297927ac3 - <rustc_session[63edcc6bef93a0c0]::session::Session>::track_errors::<rustc_hir_analysis[c5bdaa6fbca32906]::check_crate::{closure#2}, ()>
  42:     0x7f029782ef58 - rustc_hir_analysis[c5bdaa6fbca32906]::check_crate
  43:     0x7f02970c94d0 - rustc_interface[7970869cbd4e04e]::passes::analysis
  44:     0x7f02989b53e3 - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>
  45:     0x7f0298a7bf61 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, ())>>::call_once
  46:     0x7f0298ce8cc8 - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::SingleCache<rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  47:     0x7f0298caf4a1 - rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  48:     0x7f0296e6cc9b - <rustc_middle[e1f59f2ed9bd4bb5]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  49:     0x7f0296ed157d - <rustc_interface[7970869cbd4e04e]::interface::Compiler>::enter::<rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<core[561fb22f50aa341f]::option::Option<rustc_interface[7970869cbd4e04e]::queries::Linker>, rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  50:     0x7f0296e4f838 - rustc_span[766e90ec56882eae]::set_source_map::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  51:     0x7f0296e88f16 - <scoped_tls[758c8d26c7a808ba]::ScopedKey<rustc_span[766e90ec56882eae]::SessionGlobals>>::set::<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  52:     0x7f0296e4fd1c - rustc_span[766e90ec56882eae]::create_session_globals_then::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}>
  53:     0x7f0296e677be - std[3ffecb1874d2364c]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  54:     0x7f0296e52244 - std[3ffecb1874d2364c]::panicking::try::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, core[561fb22f50aa341f]::panic::unwind_safe::AssertUnwindSafe<<std[3ffecb1874d2364c]::thread::Builder>::spawn_unchecked_<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  55:     0x7f0296e68e66 - <<std[3ffecb1874d2364c]::thread::Builder>::spawn_unchecked_<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#1} as core[561fb22f50aa341f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  56:     0x7f029616e79e - <std[3ffecb1874d2364c]::sys::unix::thread::Thread>::new::thread_start
  58:     0x7f0295fe80d0 - <unknown>
  59:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.
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 attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/rustc-ice-2023-12-16T13_36_04-12982.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C debug-assertions=on -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -Z unstable-options -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z binary-dep-depinfo -Z tls-model=initial-exec -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [orphan_check_impl] checking whether impl `zerovec::slice::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/src/zerovec/slice.rs:552:1: 552:49>` follows the orphan rules
#1 [coherent_trait] coherence checking all impls of trait `core::convert::AsRef`
end of query stack
error: could not compile `zerovec` (lib)
Build completed unsuccessfully in 0:05:19
  local time: Sat Dec 16 13:36:12 UTC 2023

rust-log-analyzer avatar Dec 16 '23 13:12 rust-log-analyzer

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

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
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-16]
##[group]Clock drift check
  local time: Tue Dec 19 15:20:41 UTC 2023
  network time: Tue, 19 Dec 2023 15:20:41 GMT
  network time: Tue, 19 Dec 2023 15:20:41 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--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', '--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', '--enable-missing-tools', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: rust.codegen-units-std := 1
---
   Compiling yoke v0.7.2
   Compiling zerovec v0.10.0
   Compiling rustc_data_structures v0.0.0 (/checkout/compiler/rustc_data_structures)
   Compiling rustc_parse_format v0.0.0 (/checkout/compiler/rustc_parse_format)
thread 'rustc' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/ena-0.14.2/src/snapshot_vec.rs:199:10:
stack backtrace:
   0:     0x7f9b64ba616c - <std[3ffecb1874d2364c]::sys_common::backtrace::_print::DisplayBacktrace as core[561fb22f50aa341f]::fmt::Display>::fmt
   1:     0x7f9b64c01bef - core[561fb22f50aa341f]::fmt::write
   2:     0x7f9b64b9a7d5 - <std[3ffecb1874d2364c]::sys::unix::stdio::Stderr as std[3ffecb1874d2364c]::io::Write>::write_fmt
   2:     0x7f9b64b9a7d5 - <std[3ffecb1874d2364c]::sys::unix::stdio::Stderr as std[3ffecb1874d2364c]::io::Write>::write_fmt
   3:     0x7f9b64ba5f54 - std[3ffecb1874d2364c]::sys_common::backtrace::print
   4:     0x7f9b64ba925a - std[3ffecb1874d2364c]::panicking::default_hook::{closure#1}
   5:     0x7f9b64ba8f34 - std[3ffecb1874d2364c]::panicking::default_hook
   6:     0x7f9b658ab777 - <alloc[fb4f8a8c4c574805]::boxed::Box<rustc_driver_impl[95ec79f48b80734b]::install_ice_hook::{closure#0}> as core[561fb22f50aa341f]::ops::function::Fn<(&dyn for<'a, 'b> core[561fb22f50aa341f]::ops::function::Fn<(&'a core[561fb22f50aa341f]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[561fb22f50aa341f]::marker::Sync + core[561fb22f50aa341f]::marker::Send, &core[561fb22f50aa341f]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f9b64ba993a - std[3ffecb1874d2364c]::panicking::rust_panic_with_hook
   8:     0x7f9b64ba96be - std[3ffecb1874d2364c]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f9b64ba6736 - std[3ffecb1874d2364c]::sys_common::backtrace::__rust_end_short_backtrace::<std[3ffecb1874d2364c]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f9b64b60ef5 - core[561fb22f50aa341f]::panicking::panic_fmt
  12:     0x7f9b64b61132 - core[561fb22f50aa341f]::panicking::panic_bounds_check
  12:     0x7f9b64b61132 - core[561fb22f50aa341f]::panicking::panic_bounds_check
  13:     0x7f9b67d65291 - <ena[fe5f203570989dc6]::snapshot_vec::SnapshotVec<ena[fe5f203570989dc6]::unify::backing_vec::Delegate<rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TyVidEqKey>, &mut alloc[fb4f8a8c4c574805]::vec::Vec<ena[fe5f203570989dc6]::unify::VarValue<rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TyVidEqKey>>, &mut rustc_infer[5a13e1cbb6d9814]::infer::undo_log::InferCtxtUndoLogs>>::get
  14:     0x7f9b67e539e4 - <rustc_infer[5a13e1cbb6d9814]::infer::type_variable::TypeVariableTable>::probe
  15:     0x7f9b67d44a3a - <rustc_infer[5a13e1cbb6d9814]::infer::ShallowResolver>::fold_infer_ty
  16:     0x7f9b67a7e287 - <rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver as rustc_type_ir[b9c636ea942ac019]::fold::FallibleTypeFolder<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_fold_ty
  17:     0x7f9b67994966 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty as rustc_type_ir[b9c636ea942ac019]::fold::TypeSuperFoldable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver>
  18:     0x7f9b67a7e299 - <rustc_infer[5a13e1cbb6d9814]::infer::resolve::OpportunisticVarResolver as rustc_type_ir[b9c636ea942ac019]::fold::FallibleTypeFolder<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::try_fold_ty
  19:     0x7f9b67ba7a80 - <rustc_infer[5a13e1cbb6d9814]::infer::InferCtxt>::resolve_vars_if_possible::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  20:     0x7f9b679f2e51 - <rustc_trait_selection[f5bd888d08b24884]::traits::project::AssocTypeNormalizer>::fold::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  21:     0x7f9b67a0c9bb - rustc_trait_selection[f5bd888d08b24884]::traits::project::normalize_with_depth_to::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  22:     0x7f9b679ee04b - rustc_trait_selection[f5bd888d08b24884]::traits::project::normalize_with_depth::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  23:     0x7f9b679aa0e7 - <rustc_infer[5a13e1cbb6d9814]::infer::at::At as rustc_trait_selection[f5bd888d08b24884]::traits::project::NormalizeExt>::normalize::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  24:     0x7f9b67af8b8e - <rustc_trait_selection[f5bd888d08b24884]::traits::engine::ObligationCtxt>::normalize::<rustc_middle[e1f59f2ed9bd4bb5]::ty::Ty>
  25:     0x7f9b67a9238a - rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}
  26:     0x7f9b67a84de5 - <rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}> as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitor<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_ty
  27:     0x7f9b67a84ec7 - <rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}> as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitor<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_ty
  28:     0x7f9b67a489e4 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::generic_args::GenericArg as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_with::<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}>>
  29:     0x7f9b67bf30d1 - <rustc_middle[e1f59f2ed9bd4bb5]::ty::sty::TraitRef as rustc_type_ir[b9c636ea942ac019]::visit::TypeVisitable<rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt>>::visit_with::<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::OrphanChecker<rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check::{closure#0}::{closure#0}>>
  30:     0x7f9b67a914f2 - rustc_trait_selection[f5bd888d08b24884]::traits::coherence::orphan_check
  31:     0x7f9b663c3297 - rustc_hir_analysis[c5bdaa6fbca32906]::coherence::orphan::orphan_check_impl
  32:     0x7f9b673f4da5 - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>
  33:     0x7f9b674f4485 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, rustc_span[766e90ec56882eae]::def_id::LocalDefId)>>::call_once
  34:     0x7f9b67791063 - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::VecCache<rustc_span[766e90ec56882eae]::def_id::LocalDefId, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  35:     0x7f9b6762c65b - rustc_query_impl[610e91ec8eacdbbc]::query_impl::orphan_check_impl::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f9b663bcf8a - rustc_hir_analysis[c5bdaa6fbca32906]::coherence::coherent_trait
  37:     0x7f9b673eb0aa - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 0usize]>>
  38:     0x7f9b674c7479 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, rustc_span[766e90ec56882eae]::def_id::DefId)>>::call_once
  39:     0x7f9b677234bb - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::DefaultCache<rustc_span[766e90ec56882eae]::def_id::DefId, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  40:     0x7f9b6752e5c4 - rustc_query_impl[610e91ec8eacdbbc]::query_impl::coherent_trait::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7f9b662b5533 - <rustc_session[63edcc6bef93a0c0]::session::Session>::track_errors::<rustc_hir_analysis[c5bdaa6fbca32906]::check_crate::{closure#2}, ()>
  42:     0x7f9b6627ea88 - rustc_hir_analysis[c5bdaa6fbca32906]::check_crate
  43:     0x7f9b65b49d80 - rustc_interface[7970869cbd4e04e]::passes::analysis
  44:     0x7f9b6740b313 - rustc_query_impl[610e91ec8eacdbbc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>
  45:     0x7f9b674f9801 - <rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::dynamic_query::{closure#2} as core[561fb22f50aa341f]::ops::function::FnOnce<(rustc_middle[e1f59f2ed9bd4bb5]::ty::context::TyCtxt, ())>>::call_once
  46:     0x7f9b676d6218 - rustc_query_system[e9ca900cacf458e6]::query::plumbing::try_execute_query::<rustc_query_impl[610e91ec8eacdbbc]::DynamicConfig<rustc_query_system[e9ca900cacf458e6]::query::caches::SingleCache<rustc_middle[e1f59f2ed9bd4bb5]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[610e91ec8eacdbbc]::plumbing::QueryCtxt, false>
  47:     0x7f9b675c18c1 - rustc_query_impl[610e91ec8eacdbbc]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  48:     0x7f9b658adb4b - <rustc_middle[e1f59f2ed9bd4bb5]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  49:     0x7f9b6592062d - <rustc_interface[7970869cbd4e04e]::interface::Compiler>::enter::<rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<core[561fb22f50aa341f]::option::Option<rustc_interface[7970869cbd4e04e]::queries::Linker>, rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  50:     0x7f9b658e8e78 - rustc_span[766e90ec56882eae]::set_source_map::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  51:     0x7f9b658a0346 - <scoped_tls[758c8d26c7a808ba]::ScopedKey<rustc_span[766e90ec56882eae]::SessionGlobals>>::set::<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  52:     0x7f9b658e935c - rustc_span[766e90ec56882eae]::create_session_globals_then::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}>
  53:     0x7f9b658c1a6e - std[3ffecb1874d2364c]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>
  54:     0x7f9b658eb884 - std[3ffecb1874d2364c]::panicking::try::<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, core[561fb22f50aa341f]::panic::unwind_safe::AssertUnwindSafe<<std[3ffecb1874d2364c]::thread::Builder>::spawn_unchecked_<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  55:     0x7f9b658c3116 - <<std[3ffecb1874d2364c]::thread::Builder>::spawn_unchecked_<rustc_interface[7970869cbd4e04e]::util::run_in_thread_with_globals<rustc_interface[7970869cbd4e04e]::util::run_in_thread_pool_with_globals<rustc_interface[7970869cbd4e04e]::interface::run_compiler<core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>, rustc_driver_impl[95ec79f48b80734b]::run_compiler::{closure#0}>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[561fb22f50aa341f]::result::Result<(), rustc_span[766e90ec56882eae]::ErrorGuaranteed>>::{closure#1} as core[561fb22f50aa341f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  56:     0x7f9b64bb579e - <std[3ffecb1874d2364c]::sys::unix::thread::Thread>::new::thread_start
  58:     0x7f9b64a2f0d0 - <unknown>
  59:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.
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 attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/rustc-ice-2023-12-19T15_26_27-12993.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -Z unstable-options -Z binary-dep-depinfo -Z unstable-options -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [orphan_check_impl] checking whether impl `zerovec::slice::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/src/zerovec/slice.rs:552:1: 552:49>` follows the orphan rules
#1 [coherent_trait] coherence checking all impls of trait `core::convert::AsRef`
end of query stack
error: could not compile `zerovec` (lib)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:05:15

rust-log-analyzer avatar Dec 19 '23 15:12 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #119146) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Dec 26 '23 05:12 bors

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

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
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-16]
##[group]Clock drift check
  local time: Mon Jan 15 12:38:30 UTC 2024
  network time: Mon, 15 Jan 2024 12:38:30 GMT
  network time: Mon, 15 Jan 2024 12:38:30 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---

---- [ui] tests/ui/associated-types/issue-38821.rs stdout ----
diff of stderr:

1 error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
-    |
- LL | #[derive(Debug, Copy, Clone)]
- LL | #[derive(Debug, Copy, Clone)]
-    |          ^^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
-    |
- note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
-    |
-    |
- LL | impl<T: NotNull> IntoNullable for T {
-    |         |
-    |         unsatisfied trait bound introduced here
-    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider further restricting the associated type
- help: consider further restricting the associated type
-    |
- LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,
- 
- 
- error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
22    |
23 LL | #[derive(Debug, Copy, Clone)]


36 LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,
38 
38 
- error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
-    |
- LL | #[derive(Debug, Copy, Clone)]
- LL | #[derive(Debug, Copy, Clone)]
-    |                       ^^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
-    |
- note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
-    |
-    |
- LL | impl<T: NotNull> IntoNullable for T {
-    |         |
-    |         unsatisfied trait bound introduced here
-    = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider further restricting the associated type
- help: consider further restricting the associated type
-    |
- LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,
- 
- error: aborting due to 3 previous errors
+ error: aborting due to 1 previous error
59 
---
To only update this specific test, also pass `--test-args associated-types/issue-38821.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/associated-types/issue-38821.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" "--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" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/associated-types/issue-38821" "-A" "unused" "-A" "internal_features" "-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/associated-types/issue-38821/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0277]: the trait bound `<Col as Expression>::SqlType: NotNull` is not satisfied
   |
LL | #[derive(Debug, Copy, Clone)]
LL | #[derive(Debug, Copy, Clone)]
   |                 ^^^^ the trait `NotNull` is not implemented for `<Col as Expression>::SqlType`
   |
note: required for `<Col as Expression>::SqlType` to implement `IntoNullable`
   |
   |
LL | impl<T: NotNull> IntoNullable for T {
   |         |
   |         unsatisfied trait bound introduced here
   = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider further restricting the associated type
help: consider further restricting the associated type
   |
LL |     Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull,

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.

rust-log-analyzer avatar Jan 15 '24 12:01 rust-log-analyzer

I've compiled and cargo test'ed one of the crates, namely generic-str-0.3.1, which regressed in the last crater run due to an IOOB in ena and it no longer ICEs. As for further actions, I will take a closer look at the pass→error crates.

fmease avatar Jan 15 '24 17:01 fmease

@craterbot check p=1 crates=list:https://crater-reports.s3.amazonaws.com/pr-117164/retry-regressed-list.txt

lcnr avatar Jan 16 '24 15:01 lcnr

:rotating_light: Error: missing desired crates: {"https://crater-reports.s3.amazonaws.com/pr-117164/retry-regressed-list.txt"}

:sos: If you have any trouble with Crater please ping @rust-lang/infra! :information_source: Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

craterbot avatar Jan 16 '24 15:01 craterbot

@craterbot check p=1 crates=https://crater-reports.s3.amazonaws.com/pr-117164/retry-regressed-list.txt

lcnr avatar Jan 16 '24 15:01 lcnr

:ok_hand: Experiment pr-117164-1 created and queued. :robot: Automatically detected try build eb3956d47f58f1c7c0a5694b1d3401945bc41dce :warning: Try build based on commit a13ff7ec55ff5fad1e2e12313e99ce7d2e78fbc0, but latest commit is ec4d94e68b7465a9c8f954230b2623a7a2a7caaf. Did you forget to make a new try build? :mag: You can check out the queue and this experiment's details.

:information_source: Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

craterbot avatar Jan 16 '24 15:01 craterbot

can rerun crater for all failed tests, let's see how this turns out

lcnr avatar Jan 16 '24 15:01 lcnr

:construction: Experiment pr-117164-1 is now running

:information_source: Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

craterbot avatar Jan 17 '24 11:01 craterbot