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

Compilation failure on 2019-12-20 nightly: unresolved imports crate::codegen::pointer_sized_int::isize_, crate::codegen::pointer_sized_int::usize_ #277

Open
rocurley opened this issue Jan 2, 2020 · 1 comment
Labels
Bug Something isn't working

Comments

@rocurley
Copy link

rocurley commented Jan 2, 2020

I'm unable to compule packed_simd using nightly-2019-12-20-x86_64-unknown-linux-gnu. The error message is below:

   Compiling packed_simd v0.3.3
error[E0432]: unresolved imports `crate::codegen::pointer_sized_int::isize_`, `crate::codegen::pointer_sized_int::usize_`
 --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/vSize.rs:3:41
  |
3 | use crate::codegen::pointer_sized_int::{isize_, usize_};
  |                                         ^^^^^^  ^^^^^^ no `usize_` in `codegen::pointer_sized_int`
  |                                         |
  |                                         no `isize_` in `codegen::pointer_sized_int`

error[E0432]: unresolved imports `crate::codegen::pointer_sized_int::isize_`, `crate::codegen::pointer_sized_int::usize_`
 --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/vSize.rs:3:41
  |
3 | use crate::codegen::pointer_sized_int::{isize_, usize_};
  |                                         ^^^^^^  ^^^^^^ no `usize_` in `codegen::pointer_sized_int`
  |                                         |
  |                                         no `isize_` in `codegen::pointer_sized_int`

error: cannot find macro `__cfg_if_items` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/pointer_sized_int.rs:5:1
   |
5  | / cfg_if! {
6  | |     if #[cfg(target_pointer_width = "8")] {
7  | |         crate type isize_ = i8;
8  | |         crate type usize_ = u8;
...  |
27 | |     }
28 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/swap_bytes.rs:169:1
    |
169 | / cfg_if! {
170 | |     if #[cfg(target_pointer_width = "8")] {
171 | |         impl_swap_bytes!(v16: isizex2, usizex2,);
172 | |         impl_swap_bytes!(v32: isizex4, usizex4,);
...   |
188 | |     }
189 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/shuffle1_dyn.rs:313:1
    |
313 | impl_shuffle1_dyn!(u64x2);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/shuffle1_dyn.rs:309:1
    |
309 | impl_shuffle1_dyn!(u32x4);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/shuffle1_dyn.rs:298:1
    |
298 | impl_shuffle1_dyn!(u8x16);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/shuffle1_dyn.rs:297:1
    |
297 | impl_shuffle1_dyn!(u8x8);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:69:1
   |
69 | impl_mask_reductions!(msizex8);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:68:1
   |
68 | impl_mask_reductions!(msizex4);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:67:1
   |
67 | impl_mask_reductions!(msizex2);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:65:1
   |
65 | impl_mask_reductions!(m128x4);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:64:1
   |
64 | impl_mask_reductions!(m128x2);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:63:1
   |
63 | impl_mask_reductions!(m128x1);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:61:1
   |
61 | impl_mask_reductions!(m64x8);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:60:1
   |
60 | impl_mask_reductions!(m64x4);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:59:1
   |
59 | impl_mask_reductions!(m64x2);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:55:1
   |
55 | impl_mask_reductions!(m32x16);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:54:1
   |
54 | impl_mask_reductions!(m32x8);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:53:1
   |
53 | impl_mask_reductions!(m32x4);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:52:1
   |
52 | impl_mask_reductions!(m32x2);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:50:1
   |
50 | impl_mask_reductions!(m16x32);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:49:1
   |
49 | impl_mask_reductions!(m16x16);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:48:1
   |
48 | impl_mask_reductions!(m16x8);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:47:1
   |
47 | impl_mask_reductions!(m16x4);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:46:1
   |
46 | impl_mask_reductions!(m16x2);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:44:1
   |
44 | impl_mask_reductions!(m8x64);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:43:1
   |
43 | impl_mask_reductions!(m8x32);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:42:1
   |
42 | impl_mask_reductions!(m8x16);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:41:1
   |
41 | impl_mask_reductions!(m8x8);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:40:1
   |
40 | impl_mask_reductions!(m8x4);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `impl_mask_reductions` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:39:1
   |
39 | impl_mask_reductions!(m8x2);
   | ^^^^^^^^^^^^^^^^^^^^

error: cannot find macro `__cfg_if_items` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask.rs:21:1
   |
21 | / cfg_if! {
22 | |     if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
23 | |         #[macro_use]
24 | |         mod x86;
...  |
36 | |     }
37 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/sqrte.rs:15:1
   |
15 | / cfg_if! {
16 | |     if #[cfg(all(target_arch = "x86_64", feature = "sleef-sys"))] {
17 | |         use sleef_sys::*;
18 | |         cfg_if! {
...  |
66 | |     }
67 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/sqrt.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_unary!(f32x2[f32; 2]: sqrt_f32);
...   |
102 | |     }
103 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/sin_pi.rs:35:1
   |
35 | / cfg_if! {
36 | |     if #[cfg(all(target_arch = "x86_64", feature = "sleef-sys"))] {
37 | |         use sleef_sys::*;
38 | |         cfg_if! {
...  |
86 | |     }
87 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/sin_cos_pi.rs:143:1
    |
143 | / cfg_if! {
144 | |     if #[cfg(all(target_arch = "x86_64", feature = "sleef-sys"))] {
145 | |         use sleef_sys::*;
146 | |         cfg_if! {
...   |
194 | |     }
195 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/sin.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_unary!(f32x2[f32; 2]: sin_f32);
...   |
102 | |     }
103 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/powf.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_binary!(f32x2[f32; 2]: powf_f32);
...   |
111 | |     }
112 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/mul_add.rs:36:1
    |
36  | / cfg_if! {
37  | |     if #[cfg(target_arch = "s390x")] {
38  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
39  | |         macro_rules! impl_broken {
...   |
108 | |     }
109 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/ln.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_unary!(f32x2[f32; 2]: ln_f32);
...   |
111 | |     }
112 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/exp.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_unary!(f32x2[f32; 2]: exp_f32);
...   |
111 | |     }
112 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/cos_pi.rs:35:1
   |
35 | / cfg_if! {
36 | |     if #[cfg(all(target_arch = "x86_64", feature = "sleef-sys"))] {
37 | |         use sleef_sys::*;
38 | |         cfg_if! {
...  |
86 | |     }
87 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/cos.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_unary!(f32x2[f32; 2]: cos_f32);
...   |
102 | |     }
103 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/math/float/abs.rs:41:1
    |
41  | / cfg_if! {
42  | |     if #[cfg(target_arch = "s390x")] {
43  | |         // FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/14
44  | |         impl_unary!(f32x2[f32; 2]: fabs_f32);
...   |
102 | |     }
103 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/bit_manip.rs:334:1
    |
334 | / cfg_if! {
335 | |     if #[cfg(target_pointer_width = "8")] {
336 | |         impl_bit_manip! { sized: usizex2, usize, isizex2, isize, u8x2 }
337 | |         impl_bit_manip! { sized: usizex4, usize, isizex4, isize, u8x4 }
...   |
353 | |     }
354 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `__cfg_if_items` in this scope
   --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/lib.rs:240:1
    |
240 | / cfg_if! {
241 | |     if #[cfg(feature = "core_arch")] {
242 | |         #[allow(unused_imports)]
243 | |         use core_arch as arch;
...   |
247 | |     }
248 | | }
    | |_^
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error[E0277]: the trait bound `Simd<[u8; 8]>: codegen::shuffle1_dyn::Shuffle1Dyn` is not satisfied
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/api/shuffle1_dyn.rs:8:13
   |
8  |  /             pub fn shuffle1_dyn<I>(self, indices: I) -> Self
9  |  |             where
10 |  |                 Self: codegen::shuffle1_dyn::Shuffle1Dyn<Indices = I>,
11 |  |             {
12 |  |                 codegen::shuffle1_dyn::Shuffle1Dyn::shuffle1_dyn(self, indices)
13 |  |             }
   |  |_____________^ the trait `codegen::shuffle1_dyn::Shuffle1Dyn` is not implemented for `Simd<[u8; 8]>`
   | 
  ::: /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/v64.rs:10:1
   |
10 | /  impl_u!([u8; 8]: u8x8, m8x8 | u8, u8 | test_v64 | x0, x1, x2, x3, x4, x5, x6, x7 |
11 | |          From: |
12 | |          /// A 64-bit vector with 8 `u8` lanes.
13 | |  );
   | |___- in this macro invocation
   |
   = help: the following implementations were found:
             <Simd<[*const T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 4]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 8]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*mut T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
           and 77 others
   = help: see issue #48214
   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable

error[E0277]: the trait bound `Simd<[u8; 16]>: codegen::shuffle1_dyn::Shuffle1Dyn` is not satisfied
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/api/shuffle1_dyn.rs:8:13
   |
8  |  /             pub fn shuffle1_dyn<I>(self, indices: I) -> Self
9  |  |             where
10 |  |                 Self: codegen::shuffle1_dyn::Shuffle1Dyn<Indices = I>,
11 |  |             {
12 |  |                 codegen::shuffle1_dyn::Shuffle1Dyn::shuffle1_dyn(self, indices)
13 |  |             }
   |  |_____________^ the trait `codegen::shuffle1_dyn::Shuffle1Dyn` is not implemented for `Simd<[u8; 16]>`
   | 
  ::: /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/v128.rs:11:1
   |
11 | /  impl_u!([u8; 16]: u8x16, m8x16 | u8, u16 | test_v128 |
12 | |          x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15 |
13 | |          From: |
14 | |          /// A 128-bit vector with 16 `u8` lanes.
15 | |  );
   | |___- in this macro invocation
   |
   = help: the following implementations were found:
             <Simd<[*const T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 4]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 8]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*mut T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
           and 77 others
   = help: see issue #48214
   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable

error[E0277]: the trait bound `Simd<[u32; 4]>: codegen::shuffle1_dyn::Shuffle1Dyn` is not satisfied
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/api/shuffle1_dyn.rs:8:13
   |
8  | /             pub fn shuffle1_dyn<I>(self, indices: I) -> Self
9  | |             where
10 | |                 Self: codegen::shuffle1_dyn::Shuffle1Dyn<Indices = I>,
11 | |             {
12 | |                 codegen::shuffle1_dyn::Shuffle1Dyn::shuffle1_dyn(self, indices)
13 | |             }
   | |_____________^ the trait `codegen::shuffle1_dyn::Shuffle1Dyn` is not implemented for `Simd<[u32; 4]>`
   | 
  ::: /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/v128.rs:39:1
   |
39 | / impl_u!([u32; 4]: u32x4, m32x4 | u32, u8 | test_v128 | x0, x1, x2, x3 |
40 | |         From: u8x4, u16x4 |
41 | |         /// A 128-bit vector with 4 `u32` lanes.
42 | | );
   | |__- in this macro invocation
   |
   = help: the following implementations were found:
             <Simd<[*const T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 4]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 8]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*mut T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
           and 77 others
   = help: see issue #48214
   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable

error[E0277]: the trait bound `Simd<[u64; 2]>: codegen::shuffle1_dyn::Shuffle1Dyn` is not satisfied
  --> /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/api/shuffle1_dyn.rs:8:13
   |
8  | /             pub fn shuffle1_dyn<I>(self, indices: I) -> Self
9  | |             where
10 | |                 Self: codegen::shuffle1_dyn::Shuffle1Dyn<Indices = I>,
11 | |             {
12 | |                 codegen::shuffle1_dyn::Shuffle1Dyn::shuffle1_dyn(self, indices)
13 | |             }
   | |_____________^ the trait `codegen::shuffle1_dyn::Shuffle1Dyn` is not implemented for `Simd<[u64; 2]>`
   | 
  ::: /home/roger/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/v128.rs:56:1
   |
56 | / impl_u!([u64; 2]: u64x2, m64x2 | u64, u8 | test_v128 | x0, x1 |
57 | |         From: u8x2, u16x2, u32x2 |
58 | |         /// A 128-bit vector with 2 `u64` lanes.
59 | | );
   | |__- in this macro invocation
   |
   = help: the following implementations were found:
             <Simd<[*const T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 4]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*const T; 8]> as codegen::shuffle1_dyn::Shuffle1Dyn>
             <Simd<[*mut T; 2]> as codegen::shuffle1_dyn::Shuffle1Dyn>
           and 77 others
   = help: see issue #48214
   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable

error: aborting due to 51 previous errors

Some errors have detailed explanations: E0277, E0432.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `packed_simd`.
@rocurley
Copy link
Author

Okay, I've figured this out. A different dependency of my project (cpuprofiler 0.0.3) had a dependency on cfg-if v0.1.2. The 0.3.3 release advertises itself as compatible with cfg-if v0.1.2, because it predates 127a0fc , which bumped the requirement to cfg-if v0.1.6. I think releasing a new version containing 127a0fc will prevent anybody from running into this in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants