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

forget "packed_simd" for "edition 2018" ^.^ #64

Closed
shenhunluo opened this issue Nov 2, 2020 · 4 comments
Closed

forget "packed_simd" for "edition 2018" ^.^ #64

shenhunluo opened this issue Nov 2, 2020 · 4 comments

Comments

@shenhunluo
Copy link

No description provided.

@hsivonen
Copy link
Owner

hsivonen commented Nov 2, 2020

Can you, please, elaborate on what the problem is?

@BurntSushi
Copy link
Contributor

Not sure, but it looks like this crate doesn't build with the simd-accel feature enabled on the latest available nightly?

$ rustc --version
rustc 1.49.0-nightly (ffa2e7ae8 2020-10-24)

$ git rev-parse HEAD
3dbf4d1814f9a63e35a77554cd96ffb5ff691678

$ cargo build --features simd-accel
   Compiling encoding_rs v0.8.25 (/home/andrew/clones/encoding_rs)
error[E0432]: unresolved import `simd_funcs`
  --> src/ascii.rs:32:5
   |
32 | use simd_funcs::*;
   |     ^^^^^^^^^^ help: a similar path exists: `crate::simd_funcs`
   |
   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0432]: unresolved import `simd_funcs`
  --> src/handles.rs:27:5
   |
27 | use simd_funcs::*;
   |     ^^^^^^^^^^ help: a similar path exists: `crate::simd_funcs`
   |
   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0432]: unresolved import `simd_funcs`
   --> src/mem.rs:233:13
    |
233 |         use simd_funcs::*;
    |             ^^^^^^^^^^ help: a similar path exists: `crate::simd_funcs`
    |
    = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:768:25
    |
768 |             let first = load16_aligned(src);
    |                         ^^^^^^^^^^^^^^ not found in this scope
...
961 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_both_aligned, store16_aligned);
    |         ---------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:769:26
    |
769 |             let second = load16_aligned(src.add(SIMD_STRIDE_SIZE));
    |                          ^^^^^^^^^^^^^^ not found in this scope
...
961 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_both_aligned, store16_aligned);
    |         ---------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `store16_aligned` in this scope
   --> src/ascii.rs:961:92
    |
961 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_both_aligned, store16_aligned);
    |                                                                                            ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_aligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:771:26
    |
771 |             if unlikely(!simd_is_ascii(first | second)) {
    |                          ^^^^^^^^^^^^^ not found in this scope
...
961 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_both_aligned, store16_aligned);
    |         ---------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:772:34
    |
772 |                 let mask_first = mask_ascii(first);
    |                                  ^^^^^^^^^^ not found in this scope
...
961 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_both_aligned, store16_aligned);
    |         ---------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:777:35
    |
777 |                 let mask_second = mask_ascii(second);
    |                                   ^^^^^^^^^^ not found in this scope
...
961 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_both_aligned, store16_aligned);
    |         ---------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:768:25
    |
768 |             let first = load16_aligned(src);
    |                         ^^^^^^^^^^^^^^ not found in this scope
...
962 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_src_aligned, store16_unaligned);
    |         ----------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:769:26
    |
769 |             let second = load16_aligned(src.add(SIMD_STRIDE_SIZE));
    |                          ^^^^^^^^^^^^^^ not found in this scope
...
962 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_src_aligned, store16_unaligned);
    |         ----------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/ascii.rs:962:91
    |
962 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_src_aligned, store16_unaligned);
    |                                                                                           ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:771:26
    |
771 |             if unlikely(!simd_is_ascii(first | second)) {
    |                          ^^^^^^^^^^^^^ not found in this scope
...
962 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_src_aligned, store16_unaligned);
    |         ----------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:772:34
    |
772 |                 let mask_first = mask_ascii(first);
    |                                  ^^^^^^^^^^ not found in this scope
...
962 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_src_aligned, store16_unaligned);
    |         ----------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:777:35
    |
777 |                 let mask_second = mask_ascii(second);
    |                                   ^^^^^^^^^^ not found in this scope
...
962 |         ascii_to_ascii_simd_double_stride!(ascii_to_ascii_simd_double_stride_src_aligned, store16_unaligned);
    |         ----------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:808:25
    |
808 |             let first = load16_aligned(src);
    |                         ^^^^^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:809:26
    |
809 |             let second = load16_aligned(src.add(SIMD_STRIDE_SIZE));
    |                          ^^^^^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:810:26
    |
810 |             let (a, b) = simd_unpack(first);
    |                          ^^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_aligned` in this scope
   --> src/ascii.rs:964:104
    |
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |                                                                                                        ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_aligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:813:26
    |
813 |             if unlikely(!simd_is_ascii(first | second)) {
    |                          ^^^^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:814:34
    |
814 |                 let mask_first = mask_ascii(first);
    |                                  ^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:818:30
    |
818 |                 let (c, d) = simd_unpack(second);
    |                              ^^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:821:35
    |
821 |                 let mask_second = mask_ascii(second);
    |                                   ^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:824:26
    |
824 |             let (c, d) = simd_unpack(second);
    |                          ^^^^^^^^^^^ not found in this scope
...
964 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_both_aligned, store8_aligned);
    |         --------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:808:25
    |
808 |             let first = load16_aligned(src);
    |                         ^^^^^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:809:26
    |
809 |             let second = load16_aligned(src.add(SIMD_STRIDE_SIZE));
    |                          ^^^^^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:810:26
    |
810 |             let (a, b) = simd_unpack(first);
    |                          ^^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_unaligned` in this scope
   --> src/ascii.rs:965:103
    |
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |                                                                                                       ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_unaligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:813:26
    |
813 |             if unlikely(!simd_is_ascii(first | second)) {
    |                          ^^^^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:814:34
    |
814 |                 let mask_first = mask_ascii(first);
    |                                  ^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:818:30
    |
818 |                 let (c, d) = simd_unpack(second);
    |                              ^^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `mask_ascii` in this scope
   --> src/ascii.rs:821:35
    |
821 |                 let mask_second = mask_ascii(second);
    |                                   ^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::mask_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:824:26
    |
824 |             let (c, d) = simd_unpack(second);
    |                          ^^^^^^^^^^^ not found in this scope
...
965 |         ascii_to_basic_latin_simd_double_stride!(ascii_to_basic_latin_simd_double_stride_src_aligned, store8_unaligned);
    |         ---------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:967:73
    |
967 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_both_aligned, load16_aligned, store16_aligned);
    |                                                                         ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:754:17
    |
754 |             if !simd_is_ascii(simd) {
    |                 ^^^^^^^^^^^^^ not found in this scope
...
967 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_both_aligned, load16_aligned, store16_aligned);
    |         ------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `store16_aligned` in this scope
   --> src/ascii.rs:967:89
    |
967 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_both_aligned, load16_aligned, store16_aligned);
    |                                                                                         ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:968:72
    |
968 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_src_aligned, load16_aligned, store16_unaligned);
    |                                                                        ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:754:17
    |
754 |             if !simd_is_ascii(simd) {
    |                 ^^^^^^^^^^^^^ not found in this scope
...
968 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_src_aligned, load16_aligned, store16_unaligned);
    |         -------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/ascii.rs:968:88
    |
968 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_src_aligned, load16_aligned, store16_unaligned);
    |                                                                                        ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `load16_unaligned` in this scope
   --> src/ascii.rs:969:76
    |
969 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_neither_aligned, load16_unaligned, store16_unaligned);
    |                                                                            ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_unaligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:754:17
    |
754 |             if !simd_is_ascii(simd) {
    |                 ^^^^^^^^^^^^^ not found in this scope
...
969 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_neither_aligned, load16_unaligned, store16_unaligned);
    |         -------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/ascii.rs:969:94
    |
969 |         ascii_to_ascii_simd_stride!(ascii_to_ascii_stride_neither_aligned, load16_unaligned, store16_unaligned);
    |                                                                                              ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:971:85
    |
971 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_both_aligned, load16_aligned, store8_aligned);
    |                                                                                     ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:792:17
    |
792 |             if !simd_is_ascii(simd) {
    |                 ^^^^^^^^^^^^^ not found in this scope
...
971 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_both_aligned, load16_aligned, store8_aligned);
    |         ------------------------------------------------------------------------------------------------------------ in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:795:35
    |
795 |             let (first, second) = simd_unpack(simd);
    |                                   ^^^^^^^^^^^ not found in this scope
...
971 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_both_aligned, load16_aligned, store8_aligned);
    |         ------------------------------------------------------------------------------------------------------------ in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_aligned` in this scope
   --> src/ascii.rs:971:101
    |
971 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_both_aligned, load16_aligned, store8_aligned);
    |                                                                                                     ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:972:84
    |
972 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_src_aligned, load16_aligned, store8_unaligned);
    |                                                                                    ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:792:17
    |
792 |             if !simd_is_ascii(simd) {
    |                 ^^^^^^^^^^^^^ not found in this scope
...
972 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_src_aligned, load16_aligned, store8_unaligned);
    |         ------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:795:35
    |
795 |             let (first, second) = simd_unpack(simd);
    |                                   ^^^^^^^^^^^ not found in this scope
...
972 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_src_aligned, load16_aligned, store8_unaligned);
    |         ------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_unaligned` in this scope
   --> src/ascii.rs:972:100
    |
972 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_src_aligned, load16_aligned, store8_unaligned);
    |                                                                                                    ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_unaligned;
    |

error[E0425]: cannot find function `load16_unaligned` in this scope
   --> src/ascii.rs:973:88
    |
973 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_neither_aligned, load16_unaligned, store8_unaligned);
    |                                                                                        ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_unaligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/ascii.rs:792:17
    |
792 |             if !simd_is_ascii(simd) {
    |                 ^^^^^^^^^^^^^ not found in this scope
...
973 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_neither_aligned, load16_unaligned, store8_unaligned);
    |         ------------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:795:35
    |
795 |             let (first, second) = simd_unpack(simd);
    |                                   ^^^^^^^^^^^ not found in this scope
...
973 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_neither_aligned, load16_unaligned, store8_unaligned);
    |         ------------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_unaligned` in this scope
   --> src/ascii.rs:973:106
    |
973 |         ascii_to_basic_latin_simd_stride!(ascii_to_basic_latin_stride_neither_aligned, load16_unaligned, store8_unaligned);
    |                                                                                                          ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_unaligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:975:57
    |
975 |         unpack_simd_stride!(unpack_stride_both_aligned, load16_aligned, store8_aligned);
    |                                                         ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:838:35
    |
838 |             let (first, second) = simd_unpack(simd);
    |                                   ^^^^^^^^^^^ not found in this scope
...
975 |         unpack_simd_stride!(unpack_stride_both_aligned, load16_aligned, store8_aligned);
    |         -------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_aligned` in this scope
   --> src/ascii.rs:975:73
    |
975 |         unpack_simd_stride!(unpack_stride_both_aligned, load16_aligned, store8_aligned);
    |                                                                         ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_aligned;
    |

error[E0425]: cannot find function `load16_aligned` in this scope
   --> src/ascii.rs:976:56
    |
976 |         unpack_simd_stride!(unpack_stride_src_aligned, load16_aligned, store8_unaligned);
    |                                                        ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load16_aligned;
    |

error[E0425]: cannot find function `simd_unpack` in this scope
   --> src/ascii.rs:838:35
    |
838 |             let (first, second) = simd_unpack(simd);
    |                                   ^^^^^^^^^^^ not found in this scope
...
976 |         unpack_simd_stride!(unpack_stride_src_aligned, load16_aligned, store8_unaligned);
    |         --------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_unpack;
    |

error[E0425]: cannot find function `store8_unaligned` in this scope
   --> src/ascii.rs:976:72
    |
976 |         unpack_simd_stride!(unpack_stride_src_aligned, load16_aligned, store8_unaligned);
    |                                                                        ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store8_unaligned;
    |

error[E0425]: cannot find function `load8_aligned` in this scope
   --> src/ascii.rs:978:85
    |
978 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_both_aligned, load8_aligned, store16_aligned);
    |                                                                                     ^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load8_aligned;
    |

error[E0425]: cannot find function `simd_is_basic_latin` in this scope
   --> src/ascii.rs:852:16
    |
437 | /         pub unsafe fn $name(
438 | |             src: *const $src_unit,
439 | |             dst: *mut $dst_unit,
440 | |             len: usize,
...   |
542 | |             None
543 | |         }
    | |_________- similarly named function `ascii_to_basic_latin` defined here
...
852 |               if simd_is_basic_latin(first | second) {
    |                  ^^^^^^^^^^^^^^^^^^^
...
978 |           basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_both_aligned, load8_aligned, store16_aligned);
    |           ------------------------------------------------------------------------------------------------------------ in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: a function with a similar name exists
    |
852 |             if ascii_to_basic_latin(first | second) {
    |                ^^^^^^^^^^^^^^^^^^^^
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_basic_latin;
    |

error[E0425]: cannot find function `store16_aligned` in this scope
   --> src/ascii.rs:978:100
    |
978 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_both_aligned, load8_aligned, store16_aligned);
    |                                                                                                    ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_aligned;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/ascii.rs:853:29
    |
853 |                 $store(dst, simd_pack(first, second));
    |                             ^^^^^^^^^ not found in this scope
...
978 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_both_aligned, load8_aligned, store16_aligned);
    |         ------------------------------------------------------------------------------------------------------------ in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `load8_aligned` in this scope
   --> src/ascii.rs:979:84
    |
979 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_src_aligned, load8_aligned, store16_unaligned);
    |                                                                                    ^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load8_aligned;
    |

error[E0425]: cannot find function `simd_is_basic_latin` in this scope
   --> src/ascii.rs:852:16
    |
437 | /         pub unsafe fn $name(
438 | |             src: *const $src_unit,
439 | |             dst: *mut $dst_unit,
440 | |             len: usize,
...   |
542 | |             None
543 | |         }
    | |_________- similarly named function `ascii_to_basic_latin` defined here
...
852 |               if simd_is_basic_latin(first | second) {
    |                  ^^^^^^^^^^^^^^^^^^^
...
979 |           basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_src_aligned, load8_aligned, store16_unaligned);
    |           ------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: a function with a similar name exists
    |
852 |             if ascii_to_basic_latin(first | second) {
    |                ^^^^^^^^^^^^^^^^^^^^
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_basic_latin;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/ascii.rs:979:99
    |
979 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_src_aligned, load8_aligned, store16_unaligned);
    |                                                                                                   ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/ascii.rs:853:29
    |
853 |                 $store(dst, simd_pack(first, second));
    |                             ^^^^^^^^^ not found in this scope
...
979 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_src_aligned, load8_aligned, store16_unaligned);
    |         ------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `load8_unaligned` in this scope
   --> src/ascii.rs:980:84
    |
980 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_dst_aligned, load8_unaligned, store16_aligned);
    |                                                                                    ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load8_unaligned;
    |

error[E0425]: cannot find function `simd_is_basic_latin` in this scope
   --> src/ascii.rs:852:16
    |
437 | /         pub unsafe fn $name(
438 | |             src: *const $src_unit,
439 | |             dst: *mut $dst_unit,
440 | |             len: usize,
...   |
542 | |             None
543 | |         }
    | |_________- similarly named function `ascii_to_basic_latin` defined here
...
852 |               if simd_is_basic_latin(first | second) {
    |                  ^^^^^^^^^^^^^^^^^^^
...
980 |           basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_dst_aligned, load8_unaligned, store16_aligned);
    |           ------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: a function with a similar name exists
    |
852 |             if ascii_to_basic_latin(first | second) {
    |                ^^^^^^^^^^^^^^^^^^^^
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_basic_latin;
    |

error[E0425]: cannot find function `store16_aligned` in this scope
   --> src/ascii.rs:980:101
    |
980 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_dst_aligned, load8_unaligned, store16_aligned);
    |                                                                                                     ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_aligned;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/ascii.rs:853:29
    |
853 |                 $store(dst, simd_pack(first, second));
    |                             ^^^^^^^^^ not found in this scope
...
980 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_dst_aligned, load8_unaligned, store16_aligned);
    |         ------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `load8_unaligned` in this scope
   --> src/ascii.rs:981:88
    |
981 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_neither_aligned, load8_unaligned, store16_unaligned);
    |                                                                                        ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load8_unaligned;
    |

error[E0425]: cannot find function `simd_is_basic_latin` in this scope
   --> src/ascii.rs:852:16
    |
437 | /         pub unsafe fn $name(
438 | |             src: *const $src_unit,
439 | |             dst: *mut $dst_unit,
440 | |             len: usize,
...   |
542 | |             None
543 | |         }
    | |_________- similarly named function `ascii_to_basic_latin` defined here
...
852 |               if simd_is_basic_latin(first | second) {
    |                  ^^^^^^^^^^^^^^^^^^^
...
981 |           basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_neither_aligned, load8_unaligned, store16_unaligned);
    |           ------------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: a function with a similar name exists
    |
852 |             if ascii_to_basic_latin(first | second) {
    |                ^^^^^^^^^^^^^^^^^^^^
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_is_basic_latin;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/ascii.rs:981:105
    |
981 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_neither_aligned, load8_unaligned, store16_unaligned);
    |                                                                                                         ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/ascii.rs:853:29
    |
853 |                 $store(dst, simd_pack(first, second));
    |                             ^^^^^^^^^ not found in this scope
...
981 |         basic_latin_to_ascii_simd_stride!(basic_latin_to_ascii_stride_neither_aligned, load8_unaligned, store16_unaligned);
    |         ------------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `load8_aligned` in this scope
   --> src/ascii.rs:983:53
    |
983 |         pack_simd_stride!(pack_stride_both_aligned, load8_aligned, store16_aligned);
    |                                                     ^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load8_aligned;
    |

error[E0425]: cannot find function `store16_aligned` in this scope
   --> src/ascii.rs:983:68
    |
983 |         pack_simd_stride!(pack_stride_both_aligned, load8_aligned, store16_aligned);
    |                                                                    ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_aligned;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/ascii.rs:869:25
    |
869 |             $store(dst, simd_pack(first, second));
    |                         ^^^^^^^^^ not found in this scope
...
983 |         pack_simd_stride!(pack_stride_both_aligned, load8_aligned, store16_aligned);
    |         ---------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `load8_aligned` in this scope
   --> src/ascii.rs:984:52
    |
984 |         pack_simd_stride!(pack_stride_src_aligned, load8_aligned, store16_unaligned);
    |                                                    ^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::load8_aligned;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/ascii.rs:984:67
    |
984 |         pack_simd_stride!(pack_stride_src_aligned, load8_aligned, store16_unaligned);
    |                                                                   ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
32  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/ascii.rs:869:25
    |
869 |             $store(dst, simd_pack(first, second));
    |                         ^^^^^^^^^ not found in this scope
...
984 |         pack_simd_stride!(pack_stride_src_aligned, load8_aligned, store16_unaligned);
    |         ----------------------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this function
    |
32  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `load16_unaligned` in this scope
    --> src/ascii.rs:1244:37
     |
1244 |                 let simd = unsafe { load16_unaligned(src) };
     |                                     ^^^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_unaligned;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1245:28
     |
1245 |                 let mask = mask_ascii(simd);
     |                            ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `load16_unaligned` in this scope
    --> src/ascii.rs:1264:45
     |
1264 |                         let simd = unsafe { load16_unaligned(src.add(offset)) };
     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_unaligned;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1265:36
     |
1265 |                         let mask = mask_ascii(simd);
     |                                    ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `load16_aligned` in this scope
    --> src/ascii.rs:1275:46
     |
1275 |                         let first = unsafe { load16_aligned(src.add(offset)) };
     |                                              ^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_aligned;
     |

error[E0425]: cannot find function `load16_aligned` in this scope
    --> src/ascii.rs:1276:47
     |
1276 |                         let second = unsafe { load16_aligned(src.add(offset + SIMD_STRIDE_SIZE)) };
     |                                               ^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_aligned;
     |

error[E0425]: cannot find function `simd_is_ascii` in this scope
    --> src/ascii.rs:1277:29
     |
1277 |                         if !simd_is_ascii(first | second) {
     |                             ^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::simd_is_ascii;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1278:46
     |
1278 | ...                   let mask_first = mask_ascii(first);
     |                                        ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1282:51
     |
1282 | ...                   let mask_second = mask_ascii(second);
     |                                         ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `load16_aligned` in this scope
    --> src/ascii.rs:1294:46
     |
1294 |                          let simd = unsafe { load16_aligned(src.add(offset)) };
     |                                              ^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_aligned;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1295:37
     |
1295 |                          let mask = mask_ascii(simd);
     |                                     ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `load16_unaligned` in this scope
    --> src/ascii.rs:1306:45
     |
1306 |                         let simd = unsafe { load16_unaligned(src.add(offset)) };
     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_unaligned;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1307:36
     |
1307 |                         let mask = mask_ascii(simd);
     |                                    ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `load16_unaligned` in this scope
    --> src/ascii.rs:1315:50
     |
1315 | ...                   let simd = unsafe { load16_unaligned(src.add(offset)) };
     |                                           ^^^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::load16_unaligned;
     |

error[E0425]: cannot find function `mask_ascii` in this scope
    --> src/ascii.rs:1316:41
     |
1316 | ...                   let mask = mask_ascii(simd);
     |                                  ^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
32   | use crate::simd_funcs::mask_ascii;
     |

error[E0425]: cannot find function `to_u16_lanes` in this scope
   --> src/handles.rs:126:18
    |
126 |         unsafe { to_u16_lanes(load16_unaligned(self.ptr.add(byte_index))) }
    |                  ^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::to_u16_lanes;
    |

error[E0425]: cannot find function `load16_unaligned` in this scope
   --> src/handles.rs:126:31
    |
126 |         unsafe { to_u16_lanes(load16_unaligned(self.ptr.add(byte_index))) }
    |                               ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::load16_unaligned;
    |

error[E0425]: cannot find function `simd_byte_swap` in this scope
   --> src/handles.rs:152:28
    |
152 |                     simd = simd_byte_swap(simd);
    |                            ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_byte_swap;
    |

error[E0425]: cannot find function `store8_unaligned` in this scope
   --> src/handles.rs:155:21
    |
155 |                     store8_unaligned(other.as_mut_ptr().add(offset), simd);
    |                     ^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::store8_unaligned;
    |

error[E0425]: cannot find function `contains_surrogates` in this scope
   --> src/handles.rs:157:20
    |
157 |                 if contains_surrogates(simd) {
    |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::contains_surrogates;
    |

error[E0425]: cannot find function `simd_byte_swap` in this scope
   --> src/handles.rs:245:25
    |
245 |                 first = simd_byte_swap(first);
    |                         ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_byte_swap;
    |

error[E0425]: cannot find function `simd_byte_swap` in this scope
   --> src/handles.rs:246:26
    |
246 |                 second = simd_byte_swap(second);
    |                          ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_byte_swap;
    |

error[E0425]: cannot find function `simd_is_basic_latin` in this scope
   --> src/handles.rs:248:17
    |
248 |               if !simd_is_basic_latin(first | second) {
    |                   ^^^^^^^^^^^^^^^^^^^
    | 
   ::: src/ascii.rs:437:9
    |
437 | /         pub unsafe fn $name(
438 | |             src: *const $src_unit,
439 | |             dst: *mut $dst_unit,
440 | |             len: usize,
...   |
542 | |             None
543 | |         }
    | |_________- similarly named function `ascii_to_basic_latin` defined here
    |
help: a function with a similar name exists
    |
248 |             if !ascii_to_basic_latin(first | second) {
    |                 ^^^^^^^^^^^^^^^^^^^^
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_is_basic_latin;
    |

error[E0425]: cannot find function `simd_pack` in this scope
   --> src/handles.rs:251:26
    |
251 |             let packed = simd_pack(first, second);
    |                          ^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_pack;
    |

error[E0425]: cannot find function `store16_unaligned` in this scope
   --> src/handles.rs:253:17
    |
253 |                 store16_unaligned(dst.as_mut_ptr().add(offset), packed);
    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::store16_unaligned;
    |

error[E0425]: cannot find function `simd_is_ascii` in this scope
   --> src/mem.rs:241:78
    |
241 |         by_unit_check_simd!(is_ascii_impl, u8, u8x16::splat(0), u8x16, 0x80, simd_is_ascii);
    |                                                                              ^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_is_ascii;
    |

error[E0425]: cannot find function `simd_is_basic_latin` in this scope
   --> src/mem.rs:242:85
    |
242 |         by_unit_check_simd!(is_basic_latin_impl, u16, u16x8::splat(0), u16x8, 0x80, simd_is_basic_latin);
    |                                                                                     ^^^^^^^^^^^^^^^^^^^
...
646 | pub fn is_basic_latin(buffer: &[u16]) -> bool {
    | --------------------------------------------- similarly named function `is_basic_latin` defined here
    |
help: a function with a similar name exists
    |
242 |         by_unit_check_simd!(is_basic_latin_impl, u16, u16x8::splat(0), u16x8, 0x80, is_basic_latin);
    |                                                                                     ^^^^^^^^^^^^^^
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_is_basic_latin;
    |

error[E0425]: cannot find function `simd_is_latin1` in this scope
   --> src/mem.rs:243:87
    |
243 |         by_unit_check_simd!(is_utf16_latin1_impl, u16, u16x8::splat(0), u16x8, 0x100, simd_is_latin1);
    |                                                                                       ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_is_latin1;
    |

error[E0425]: cannot find function `contains_surrogates` in this scope
   --> src/mem.rs:281:24
    |
281 |                     if contains_surrogates(unsafe { *(src.add(offset) as *const u16x8) }) {
    |                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::contains_surrogates;
    |

error[E0425]: cannot find function `simd_is_str_latin1` in this scope
   --> src/mem.rs:384:29
    |
384 |                         if !simd_is_str_latin1(unsafe { *(src.add(offset) as *const u8x16) }) {
    |                             ^^^^^^^^^^^^^^^^^^
...
664 | pub fn is_str_latin1(buffer: &str) -> bool {
    | ------------------------------------------ similarly named function `is_str_latin1` defined here
    |
help: a function with a similar name exists
    |
384 |                         if !is_str_latin1(unsafe { *(src.add(offset) as *const u8x16) }) {
    |                             ^^^^^^^^^^^^^
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_is_str_latin1;
    |

error[E0425]: cannot find function `is_u16x8_bidi` in this scope
   --> src/mem.rs:472:28
    |
472 |                         if is_u16x8_bidi(unsafe { *(src.add(offset) as *const u16x8) }) {
    |                            ^^^^^^^^^^^^^
...
695 | pub fn is_utf8_bidi(buffer: &[u8]) -> bool {
    | ------------------------------------------ similarly named function `is_utf8_bidi` defined here
    |
help: a function with a similar name exists
    |
472 |                         if is_utf8_bidi(unsafe { *(src.add(offset) as *const u16x8) }) {
    |                            ^^^^^^^^^^^^
help: consider importing this function
    |
27  | use crate::simd_funcs::is_u16x8_bidi;
    |

error[E0425]: cannot find function `simd_is_latin1` in this scope
   --> src/mem.rs:528:29
    |
528 |                         if !simd_is_latin1(s) {
    |                             ^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
27  | use crate::simd_funcs::simd_is_latin1;
    |

error[E0425]: cannot find function `is_u16x8_bidi` in this scope
   --> src/mem.rs:530:36
    |
530 |                                 if is_u16x8_bidi(s) {
    |                                    ^^^^^^^^^^^^^
...
695 | pub fn is_utf8_bidi(buffer: &[u8]) -> bool {
    | ------------------------------------------ similarly named function `is_utf8_bidi` defined here
    |
help: a function with a similar name exists
    |
530 |                                 if is_utf8_bidi(s) {
    |                                    ^^^^^^^^^^^^
help: consider importing this function
    |
27  | use crate::simd_funcs::is_u16x8_bidi;
    |

warning: unused label
   --> src/mem.rs:279:17
    |
279 |                 'inner: loop {
    |                 ^^^^^^
    |
    = note: `#[warn(unused_labels)]` on by default

warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
  --> src/simd_funcs.rs:19:20
   |
19 |     let mut simd = ::std::mem::uninitialized();
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
  --> src/simd_funcs.rs:43:20
   |
43 |     let mut simd = ::std::mem::uninitialized();
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 115 previous errors; 3 warnings emitted

Some errors have detailed explanations: E0425, E0432.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `encoding_rs`

To learn more, run the command again with --verbose.

It looks like the simd-accel feature isn't tested in CI?

@hsivonen
Copy link
Owner

hsivonen commented Nov 2, 2020

Thanks. Fixed and released as 0.8.26.

It looks like the simd-accel feature isn't tested in CI?

Yeah, indeed that got dropped along with the build.rs hack that got too much community attention. (I didn't know Travis well enough to have different command for nightly vs. stable & beta.)

BurntSushi added a commit to BurntSushi/encoding_rs that referenced this issue Nov 2, 2020
@BurntSushi
Copy link
Contributor

@hsivonen It's been a while since I've used Travis myself, but I opened: #65

Also, I think the build.rs hack is still present?

BurntSushi added a commit to BurntSushi/encoding_rs that referenced this issue Nov 2, 2020
hsivonen pushed a commit that referenced this issue Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants