You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The released arrow version 4.3.0 does not compile with SIMD feature flags:
# compiles
=4.2: features = ["simd", "avx512"]# does not compile
=4.2: features = ["simd"]
=4.3: features = ["simd", "avx512"]
=4.3: features = ["simd"]
To Reproduce
Start a new rust project and try to compile with any of hte named features.
Expected behavior
No compiler errors
output
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/buffer/ops.rs:258:9
|
125 | / pub fn bitwise_bin_op_helper<F>(
126 | | left: &Buffer,
127 | | left_offset_in_bits: usize,
128 | | right: &Buffer,
... |
152 | | buffer.into()
153 | | }
| |_- similarly named function `bitwise_bin_op_helper` defined here
...
258 | bitwise_bin_op_simd_helper(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `bitwise_bin_op_helper`
error[E0425]: cannot find function `bitwise_bin_op_simd_helper` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/buffer/ops.rs:369:9
|
125 | / pub fn bitwise_bin_op_helper<F>(
126 | | left: &Buffer,
127 | | left_offset_in_bits: usize,
128 | | right: &Buffer,
... |
152 | | buffer.into()
153 | | }
| |_- similarly named function `bitwise_bin_op_helper` defined here
...
369 | bitwise_bin_op_simd_helper(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `bitwise_bin_op_helper`
error[E0412]: cannot find type `ChunksExact` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:521:18
|
521 | left_chunks: ChunksExact<T::Native>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExact;
|
25 | use std::slice::ChunksExact;
|
error[E0412]: cannot find type `ChunksExact` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:522:19
|
522 | right_chunks: ChunksExact<T::Native>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExact;
|
25 | use std::slice::ChunksExact;
|
error[E0412]: cannot find type `ChunksExactMut` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:523:20
|
523 | result_chunks: ChunksExactMut<T::Native>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExactMut;
|
25 | use std::slice::ChunksExactMut;
|
error[E0412]: cannot find type `ChunksExact` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:587:19
|
587 | array_chunks: ChunksExact<T::Native>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExact;
|
25 | use std::slice::ChunksExact;
|
error[E0412]: cannot find type `ChunksExactMut` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:589:20
|
589 | result_chunks: ChunksExactMut<T::Native>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExactMut;
|
25 | use std::slice::ChunksExactMut;
|
error[E0433]: failed to resolve: use of undeclared type `MutableBuffer`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:664:22
|
664 | let mut result = MutableBuffer::new(buffer_size).with_bitset(buffer_size, false);
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
25 | use crate::buffer::MutableBuffer;
|
error[E0433]: failed to resolve: use of undeclared type `MutableBuffer`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:895:22
|
895 | let mut result = MutableBuffer::new(buffer_size).with_bitset(buffer_size, false);
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
25 | use crate::buffer::MutableBuffer;
|
error[E0220]: associated type `Simd` not found for `T`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:456:16
|
456 | ) -> Result<T::Simd>
| ^^^^ associated type `Simd` not found
error[E0220]: associated type `Simd` not found for `T`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:454:14
|
454 | left: T::Simd,
| ^^^^ associated type `Simd` not found
error[E0220]: associated type `Simd` not found for `T`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:455:15
|
455 | right: T::Simd,
| ^^^^ associated type `Simd` not found
The text was updated successfully, but these errors were encountered:
Potentially a duplicate of #232? From my testing, compiling from source always works even when checking out to specific version tag in git. I feel like it has something to do with cargo release/publish.
The released arrow version 4.3.0 does not compile with SIMD feature flags:
To Reproduce
Start a new rust project and try to compile with any of hte named features.
Expected behavior
No compiler errors
output
The text was updated successfully, but these errors were encountered: