alamb opened a new issue #766: URL: https://github.com/apache/arrow-rs/issues/766
**Describe the bug** Rust / Test SIMD Ci test began failing on active_release (and I suspect that it would fail on master as well) @nevi-me suggests https://github.com/apache/arrow-rs/pull/750#issuecomment-916950199 that these CI failures seem to be related to a packed_simd_2 release from 15 hours ago Here is a test PR to master with no code changes showing the issue https://github.com/apache/arrow-rs/pull/765 -- the failure is in https://github.com/apache/arrow-rs/pull/750/checks?check_run_id=3567651549. Example failures: https://github.com/apache/arrow-rs/pull/750/checks?check_run_id=3567651549 ``` Compiling bstr v0.2.16 error: type parameters must be declared prior to const parameters --> /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.6/src/codegen/llvm.rs:20:54 | 20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 2]>` error: type parameters must be declared prior to const parameters --> /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.6/src/codegen/llvm.rs:30:54 | 30 | pub unsafe fn __shuffle_vector4<const IDX: [u32; 4], T, U>(x: T, y: T) -> U | = note: the only supported types are integers, `bool` and `char` = help: more complex types are supported with `#![feature(const_generics)]` error: `[u32; 16]` is forbidden as the type of a const generic parameter --> /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.6/src/codegen/llvm.rs:50:45 | 50 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U | ^^^^^^^^^ | = note: the only supported types are integers, `bool` and `char` = help: more complex types are supported with `#![feature(const_generics)]` error: `[u32; 32]` is forbidden as the type of a const generic parameter --> /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.6/src/codegen/llvm.rs:60:45 | 60 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U | ^^^^^^^^^ | = note: the only supported types are integers, `bool` and `char` = help: more complex types are supported with `#![feature(const_generics)]` error: `[u32; 64]` is forbidden as the type of a const generic parameter --> /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.6/src/codegen/llvm.rs:70:45 | 70 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U | ^^^^^^^^^ | = note: the only supported types are integers, `bool` and `char` = help: more complex types are supported with `#![feature(const_generics)]` error: aborting due to 12 previous errors error: could not compile `packed_simd_2` ``` **To Reproduce** Make a new PR without any code changes: **Expected behavior** Clean CI run ;) **Additional context** First seen by @nevi-me and @matthewmturner on https://github.com/apache/arrow-rs/pull/750 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
