Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

older version of nalgebra builds in debug mode but not release mode #100858

Closed
mstankus opened this issue Aug 21, 2022 · 2 comments
Closed

older version of nalgebra builds in debug mode but not release mode #100858

mstankus opened this issue Aug 21, 2022 · 2 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@mstankus
Copy link

mstankus commented Aug 21, 2022

Reproducing error:

  1. cargo new bug
  2. cd bug
  3. cargo add nalgebra
  4. edit Cargo.toml and change line to: nalgebra = "0.25.1"
  5. cargo build --release
    Notes:
  6. Many older versions of nalgebra don't build in release mode.
  7. Some (maybe all) of the older versions of nalgebra do build in debug mode.
  8. Using edition="2021" also fails to build.
  9. When I switched to stable branch, the code built.

Code

Not relevant.

Meta

rustc 1.65.0-nightly (e1b28cd2f 2022-08-19)
binary: rustc
commit-hash: e1b28cd2f16bd5b832183d7968cae3bb9213e78d
commit-date: 2022-08-19
host: x86_64-apple-darwin
release: 1.65.0-nightly
LLVM version: 15.0.0

Error output

Not really relevant. Here are some build errors:

   Compiling nalgebra v0.25.4
error: internal compiler error: no errors encountered even though `delay_span_bug` issued

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22974 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#40}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb6[22]:
                                Field projection `(*_25).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion.rs:197:9
    |
197 |         self.coords[3]
    |         ^^^^^^^^^^^
    |
   ::: /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:388:13
    |
388 |         t * self.as_ref().scalar() + cross + rhs
    |             ---------------------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb0[11]:
                                Field projection `(*_9).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |         ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb1[10]:
                                Field projection `(*_16).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                            ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb3[10]:
                                Field projection `(*_23).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                                               ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb5[10]:
                                Field projection `(*_30).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                                                                  ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb7[13]:
                                Field projection `(*_40).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |         ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb8[10]:
                                Field projection `(*_47).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                            ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb10[10]:
                                Field projection `(*_54).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                                               ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb12[10]:
                                Field projection `(*_61).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                                                                  ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb14[13]:
                                Field projection `(*_71).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |         ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb15[10]:
                                Field projection `(*_78).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                            ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb17[10]:
                                Field projection `(*_85).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                                               ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb19[10]:
                                Field projection `(*_92).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                                                                  ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb21[13]:
                                Field projection `(*_102).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |         ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb22[10]:
                                Field projection `(*_109).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                            ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb24[10]:
                                Field projection `(*_116).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                                               ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb26[10]:
                                Field projection `(*_123).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                                                                  ------- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb30[19]:
                                Field projection `(*_12).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                   ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb34[19]:
                                Field projection `(*_19).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                                      ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb38[19]:
                                Field projection `(*_26).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                                                         ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb42[19]:
                                Field projection `(*_33).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
163 |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
    |                                                                            ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb46[19]:
                                Field projection `(*_43).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                   ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb50[19]:
                                Field projection `(*_50).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                                      ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb54[19]:
                                Field projection `(*_57).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                                                         ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb58[19]:
                                Field projection `(*_64).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
164 |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
    |                                                                            ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb62[19]:
                                Field projection `(*_74).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                   ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb66[19]:
                                Field projection `(*_81).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                                      ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb70[19]:
                                Field projection `(*_88).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                                                         ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb74[19]:
                                Field projection `(*_95).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
165 |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
    |                                                                            ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb78[19]:
                                Field projection `(*_105).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                   ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb82[19]:
                                Field projection `(*_112).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                                      ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb86[19]:
                                Field projection `(*_119).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                                                         ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb90[19]:
                                Field projection `(*_126).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:70:10
    |
70  |         &self.coords[i]
    |          ^^^^^^^^^^^
...
166 |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    |                                                                            ------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:22833 ~ nalgebra[df92]::geometry::quaternion_ops::{impl#12}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb93[7]:
                                Field projection `_0.field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_conversion.rs:246:9
    |
246 |           Self { coords }
    |           ^^^^^^^^^^^^^^^
    |
   ::: /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:162:5
    |
162 | /     Quaternion::new(
163 | |         self[3] * rhs[3] - self[0] * rhs[0] - self[1] * rhs[1] - self[2] * rhs[2],
164 | |         self[3] * rhs[0] + self[0] * rhs[3] + self[1] * rhs[2] - self[2] * rhs[1],
165 | |         self[3] * rhs[1] - self[0] * rhs[2] + self[1] * rhs[3] + self[2] * rhs[0],
166 | |         self[3] * rhs[2] + self[0] * rhs[1] - self[1] * rhs[0] + self[2] * rhs[3]);
    | |__________________________________________________________________________________- in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:23574 ~ nalgebra[df92]::geometry::dual_quaternion_ops::{impl#92}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb7[16]:
                                Field projection `_19.field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_ops.rs:487:34
    |
487 |                 Quaternion::from(self.coords.$op(n))
    |                                  ^^^^^^^^^^^
    |
   ::: /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/dual_quaternion_ops.rs:868:46
    |
868 |             ((self.as_ref().real * q_point + self.as_ref().dual * two) * self.as_ref().real.conjugate())
    |                                              ------------------------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:23574 ~ nalgebra[df92]::geometry::dual_quaternion_ops::{impl#92}::mul), const_param_did: None }) (end of phase transition to Optimized) at bb8[5]:
                                Field projection `_18.field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
   --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion_conversion.rs:246:9
    |
246 |         Self { coords }
    |         ^^^^^^^^^^^^^^^
    |
   ::: /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/dual_quaternion_ops.rs:868:46
    |
868 |             ((self.as_ref().real * q_point + self.as_ref().dual * two) * self.as_ref().real.conjugate())
    |                                              ------------------------ in this inlined function call
    |
    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:23682 ~ nalgebra[df92]::geometry::dual_quaternion_ops::{impl#119}::mul_assign), const_param_did: None }) (end of phase transition to Optimized) at bb0[13]:
                                Field projection `(*_7).field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
    --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion.rs:32:5
     |
32   |     pub coords: Vector4<N>,
     |     ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/dual_quaternion_ops.rs:1123:14
     |
1123 |     *self *= rhs.clone(); 'b);
     |              ----------- in this inlined function call
     |
     = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:23682 ~ nalgebra[df92]::geometry::dual_quaternion_ops::{impl#119}::mul_assign), const_param_did: None }) (end of phase transition to Optimized) at bb2[2]:
                                Field projection `_6.field[0]` specified type `base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, base::array_storage::ArrayStorage<N, base::dimension::U4, base::dimension::U1>>`, but actual type is base::matrix::Matrix<N, base::dimension::U4, base::dimension::U1, <base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, base::dimension::U4>>::Buffer>
    --> /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/quaternion.rs:29:23
     |
29   | #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
     |                       ^^^^^
     |
    ::: /Users/mstankus/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.25.4/src/geometry/dual_quaternion_ops.rs:1123:14
     |
1123 |     *self *= rhs.clone(); 'b);
     |              ----------- in this inlined function call
     |
     = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:129:36

thread 'rustc' panicked at 'Box<dyn Any>', compiler/rustc_errors/src/lib.rs:1427:13
stack backtrace:
   0:        0x10a6239e5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h51d594d5912fc7e4
   1:        0x10a67b03a - core::fmt::write::h6336eb22daa08eec
   2:        0x10a615e7c - std::io::Write::write_fmt::h60aa82aca3e085ec
   3:        0x10a626a3b - std::panicking::default_hook::{{closure}}::h61f33d281c2dfdd5
   4:        0x10a626747 - std::panicking::default_hook::h98e50d60c93f2539
   5:        0x11a23429a - rustc_driver[e523befe4bb85523]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x10a62716e - std::panicking::rust_panic_with_hook::hf0d0a3e56e85a03a
   7:        0x11eb87097 - std[5a0f24c9c62419e1]::panicking::begin_panic::<rustc_errors[f31f9da7e6384848]::ExplicitBug>::{closure#0}
   8:        0x11eb862d9 - std[5a0f24c9c62419e1]::sys_common::backtrace::__rust_end_short_backtrace::<std[5a0f24c9c62419e1]::panicking::begin_panic<rustc_errors[f31f9da7e6384848]::ExplicitBug>::{closure#0}, !>
   9:        0x11eef51f9 - std[5a0f24c9c62419e1]::panicking::begin_panic::<rustc_errors[f31f9da7e6384848]::ExplicitBug>
  10:        0x11eb7b469 - std[5a0f24c9c62419e1]::panic::panic_any::<rustc_errors[f31f9da7e6384848]::ExplicitBug>
  11:        0x11eb80186 - <rustc_errors[f31f9da7e6384848]::HandlerInner as core[acffb087d5026997]::ops::drop::Drop>::drop
  12:        0x11a1dd35a - core[acffb087d5026997]::ptr::drop_in_place::<rustc_session[2146fc6c71395021]::parse::ParseSess>
  13:        0x11a1e0ada - <alloc[20dbdcc6785da989]::rc::Rc<rustc_session[2146fc6c71395021]::session::Session> as core[acffb087d5026997]::ops::drop::Drop>::drop
  14:        0x11a1ac912 - core[acffb087d5026997]::ptr::drop_in_place::<rustc_interface[92d3030bcd3171c]::interface::Compiler>
  15:        0x11a1a60f6 - rustc_span[d7be411cfae3c6cb]::with_source_map::<core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>, rustc_interface[92d3030bcd3171c]::interface::create_compiler_and_run<core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>, rustc_driver[e523befe4bb85523]::run_compiler::{closure#1}>::{closure#1}>
  16:        0x11a1b1667 - rustc_interface[92d3030bcd3171c]::interface::create_compiler_and_run::<core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>, rustc_driver[e523befe4bb85523]::run_compiler::{closure#1}>
  17:        0x11a222205 - <scoped_tls[230e4cc7c090c147]::ScopedKey<rustc_span[d7be411cfae3c6cb]::SessionGlobals>>::set::<rustc_interface[92d3030bcd3171c]::interface::run_compiler<core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>, rustc_driver[e523befe4bb85523]::run_compiler::{closure#1}>::{closure#0}, core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>>
  18:        0x11a1acdaa - std[5a0f24c9c62419e1]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[92d3030bcd3171c]::util::run_in_thread_pool_with_globals<rustc_interface[92d3030bcd3171c]::interface::run_compiler<core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>, rustc_driver[e523befe4bb85523]::run_compiler::{closure#1}>::{closure#0}, core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>>::{closure#0}, core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>>
  19:        0x11a1e8f36 - <<std[5a0f24c9c62419e1]::thread::Builder>::spawn_unchecked_<rustc_interface[92d3030bcd3171c]::util::run_in_thread_pool_with_globals<rustc_interface[92d3030bcd3171c]::interface::run_compiler<core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>, rustc_driver[e523befe4bb85523]::run_compiler::{closure#1}>::{closure#0}, core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>>::{closure#0}, core[acffb087d5026997]::result::Result<(), rustc_errors[f31f9da7e6384848]::ErrorGuaranteed>>::{closure#1} as core[acffb087d5026997]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  20:        0x10a630177 - std::sys::unix::thread::Thread::new::thread_start::h35da0f5a4da6fc50
  21:     0x7ff813c974e1 - __pthread_start

note: 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: rustc 1.65.0-nightly (e1b28cd2f 2022-08-19) running on x86_64-apple-darwin

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no

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

query stack during panic:
end of query stack
error: could not compile `nalgebra`
@mstankus mstankus added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 21, 2022
@ehuss
Copy link
Contributor

ehuss commented Aug 21, 2022

I believe this is a duplicate of #100550.

@compiler-errors
Copy link
Member

Yes, this is a duplicate!

@compiler-errors compiler-errors closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants