You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/07/16 08:01:23 UTC

[GitHub] [arrow-datafusion] yjshen opened a new issue #731: The master branch does not compile for feature gate ["simd"]

yjshen opened a new issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731


   **Describe the bug**
   The master branch cannot compile with `--features simd` because of arrow-4.4.0 crate.
   
   **To Reproduce**
   ```shell
   rustup default nightly
   rustup update
   cargo build --features=simd
   ```
   
   *output*
   
   ```
   error[E0425]: cannot find function `bitwise_bin_op_simd_helper` in this scope
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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`
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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`
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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`
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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`
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.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`
      --> /Users/shenyijie/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.0/src/compute/kernels/arithmetic.rs:455:15
       |
   455 |     right: T::Simd,
       |               ^^^^ associated type `Simd` not found
   
   Some errors have detailed explanations: E0220, E0412, E0425, E0433.
   For more information about an error, try `rustc --explain E0220`.
   error: could not compile `arrow` due to 12 previous errors
   ```
   
   **Expected behavior**
   No compilation error.
   
   **Additional context**
   I also install the specific nightly version 2021-07-04 as suggested in https://github.com/apache/arrow-rs/issues/458 but fails either.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] alamb commented on issue #731: The master branch does not compile for feature gate ["simd"]

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731#issuecomment-881385548


   @yjshen  are you looking into fixing this problem or do you need help?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] alamb commented on issue #731: The master branch does not compile for feature gate ["simd"]

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731#issuecomment-882541873


   It seems related to https://github.com/apache/arrow-rs/issues/458 which shows arrow failing to compile with similar errors


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] yjshen closed issue #731: The master branch does not compile for feature gate ["simd"]

Posted by GitBox <gi...@apache.org>.
yjshen closed issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731


   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] alamb commented on issue #731: The master branch does not compile for feature gate ["simd"]

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731#issuecomment-882541873


   It seems related to https://github.com/apache/arrow-rs/issues/458 which shows arrow failing to compile with similar errors


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] yjshen commented on issue #731: The master branch does not compile for feature gate ["simd"]

Posted by GitBox <gi...@apache.org>.
yjshen commented on issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731#issuecomment-882057220


   @alamb I'm not working on it yet. I encountered the bug and file it here. But at the same time, I find you made a bump up to arrow-rs 5.0 PR and arrow 5.0 compiles with SIMD feature, So I just wait for https://github.com/apache/arrow-datafusion/pull/721 to get merged, and no more questions at my side now.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] alamb commented on issue #731: The master branch does not compile for feature gate ["simd"]

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #731:
URL: https://github.com/apache/arrow-datafusion/issues/731#issuecomment-882541873


   It seems related to https://github.com/apache/arrow-rs/issues/458 which shows arrow failing to compile with similar errors


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org