[INFO] fetching crate simd-utf16-len 0.1.0... [INFO] testing simd-utf16-len-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate simd-utf16-len 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate simd-utf16-len 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate simd-utf16-len 0.1.0 [INFO] tweaked toml for crates.io crate simd-utf16-len 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simd-utf16-len 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simd-utf16-len 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5ee096e188d3cad99e70b85db8bb0334200a3a8db698af3e9d08ccd962957c1 [INFO] running `Command { std: "docker" "start" "-a" "c5ee096e188d3cad99e70b85db8bb0334200a3a8db698af3e9d08ccd962957c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5ee096e188d3cad99e70b85db8bb0334200a3a8db698af3e9d08ccd962957c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ee096e188d3cad99e70b85db8bb0334200a3a8db698af3e9d08ccd962957c1", kill_on_drop: false }` [INFO] [stdout] c5ee096e188d3cad99e70b85db8bb0334200a3a8db698af3e9d08ccd962957c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52594fa0979714be3abb8d6fa82452f716f2d4ecfbfb695279417edee17bba17 [INFO] running `Command { std: "docker" "start" "-a" "52594fa0979714be3abb8d6fa82452f716f2d4ecfbfb695279417edee17bba17", kill_on_drop: false }` [INFO] [stderr] Compiling simd-utf16-len v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let cont_mask = _mm_set1_epi8(0xC0_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86_64.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn utf16_length_sse2(s: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let cont_val = _mm_set1_epi8(0x80_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | let four_threshold = _mm_set1_epi8(0xEF_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let ones = _mm_set1_epi8(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_setzero_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let zero = _mm_setzero_si128(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_loadu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_and_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let masked = _mm_and_si128(chunk, cont_mask); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cmpeq_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let is_cont = _mm_cmpeq_epi8(masked, cont_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sub_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | cont_acc = _mm_sub_epi8(cont_acc, is_cont); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_subs_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let sub = _mm_subs_epu8(chunk, four_threshold); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_min_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let is_four = _mm_min_epu8(sub, ones); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | four_acc = _mm_add_epi8(four_acc, is_four); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | let cont_sad = _mm_sad_epu8(cont_acc, zero); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let high = _mm_srli_si128::<8>(cont_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let sum = _mm_add_epi64(cont_sad, high); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | continuation_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let four_sad = _mm_sad_epu8(four_acc, zero); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let high = _mm_srli_si128::<8>(four_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let sum = _mm_add_epi64(four_sad, high); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | four_byte_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52594fa0979714be3abb8d6fa82452f716f2d4ecfbfb695279417edee17bba17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52594fa0979714be3abb8d6fa82452f716f2d4ecfbfb695279417edee17bba17", kill_on_drop: false }` [INFO] [stdout] 52594fa0979714be3abb8d6fa82452f716f2d4ecfbfb695279417edee17bba17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1820d9c131379775e0b3c3a68d9984947d0ec21b2d6968101bab30b35731357 [INFO] running `Command { std: "docker" "start" "-a" "d1820d9c131379775e0b3c3a68d9984947d0ec21b2d6968101bab30b35731357", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling codspeed-criterion-compat v2.10.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let cont_mask = _mm_set1_epi8(0xC0_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86_64.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn utf16_length_sse2(s: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let cont_val = _mm_set1_epi8(0x80_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | let four_threshold = _mm_set1_epi8(0xEF_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let ones = _mm_set1_epi8(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_setzero_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let zero = _mm_setzero_si128(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_loadu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_and_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let masked = _mm_and_si128(chunk, cont_mask); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cmpeq_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let is_cont = _mm_cmpeq_epi8(masked, cont_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sub_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | cont_acc = _mm_sub_epi8(cont_acc, is_cont); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_subs_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let sub = _mm_subs_epu8(chunk, four_threshold); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_min_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let is_four = _mm_min_epu8(sub, ones); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | four_acc = _mm_add_epi8(four_acc, is_four); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | let cont_sad = _mm_sad_epu8(cont_acc, zero); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let high = _mm_srli_si128::<8>(cont_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let sum = _mm_add_epi64(cont_sad, high); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | continuation_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let four_sad = _mm_sad_epu8(four_acc, zero); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let high = _mm_srli_si128::<8>(four_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let sum = _mm_add_epi64(four_sad, high); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | four_byte_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.40 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling codspeed v2.10.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling codspeed-criterion-compat-walltime v2.10.1 [INFO] [stderr] Compiling simd-utf16-len v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let cont_mask = _mm_set1_epi8(0xC0_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86_64.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn utf16_length_sse2(s: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let cont_val = _mm_set1_epi8(0x80_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | let four_threshold = _mm_set1_epi8(0xEF_u8 as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let ones = _mm_set1_epi8(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_setzero_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let zero = _mm_setzero_si128(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_loadu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_and_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let masked = _mm_and_si128(chunk, cont_mask); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cmpeq_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let is_cont = _mm_cmpeq_epi8(masked, cont_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sub_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | cont_acc = _mm_sub_epi8(cont_acc, is_cont); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_subs_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let sub = _mm_subs_epu8(chunk, four_threshold); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_min_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let is_four = _mm_min_epu8(sub, ones); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | four_acc = _mm_add_epi8(four_acc, is_four); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | let cont_sad = _mm_sad_epu8(cont_acc, zero); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let high = _mm_srli_si128::<8>(cont_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let sum = _mm_add_epi64(cont_sad, high); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | continuation_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let four_sad = _mm_sad_epu8(four_acc, zero); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let high = _mm_srli_si128::<8>(four_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let sum = _mm_add_epi64(four_sad, high); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stdout] --> src/x86_64.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | four_byte_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stdout] | [INFO] [stdout] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stdout] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.49s [INFO] running `Command { std: "docker" "inspect" "d1820d9c131379775e0b3c3a68d9984947d0ec21b2d6968101bab30b35731357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1820d9c131379775e0b3c3a68d9984947d0ec21b2d6968101bab30b35731357", kill_on_drop: false }` [INFO] [stdout] d1820d9c131379775e0b3c3a68d9984947d0ec21b2d6968101bab30b35731357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ceec1a833b0c4787d162e3ffd5c3fbba595ade8b237888190aea421d85136529 [INFO] running `Command { std: "docker" "start" "-a" "ceec1a833b0c4787d162e3ffd5c3fbba595ade8b237888190aea421d85136529", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | let cont_mask = _mm_set1_epi8(0xC0_u8 as i8); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/x86_64.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | unsafe fn utf16_length_sse2(s: &str) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | let cont_val = _mm_set1_epi8(0x80_u8 as i8); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | let four_threshold = _mm_set1_epi8(0xEF_u8 as i8); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_set1_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | let ones = _mm_set1_epi8(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_setzero_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | let zero = _mm_setzero_si128(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_loadu_si128` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:42:41 [INFO] [stderr] | [INFO] [stderr] 42 | let chunk = _mm_loadu_si128(bytes.as_ptr().add(i) as *const __m128i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_and_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let masked = _mm_and_si128(chunk, cont_mask); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_cmpeq_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | let is_cont = _mm_cmpeq_epi8(masked, cont_val); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_sub_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:46:24 [INFO] [stderr] | [INFO] [stderr] 46 | cont_acc = _mm_sub_epi8(cont_acc, is_cont); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_subs_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | let sub = _mm_subs_epu8(chunk, four_threshold); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_min_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:49:27 [INFO] [stderr] | [INFO] [stderr] 49 | let is_four = _mm_min_epu8(sub, ones); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | four_acc = _mm_add_epi8(four_acc, is_four); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | let cont_sad = _mm_sad_epu8(cont_acc, zero); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:57:20 [INFO] [stderr] | [INFO] [stderr] 57 | let high = _mm_srli_si128::<8>(cont_sad); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | let sum = _mm_add_epi64(cont_sad, high); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:59:31 [INFO] [stderr] | [INFO] [stderr] 59 | continuation_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_sad_epu8` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | let four_sad = _mm_sad_epu8(four_acc, zero); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_srli_si128` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | let high = _mm_srli_si128::<8>(four_sad); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_add_epi64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | let sum = _mm_add_epi64(four_sad, high); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to function `std::arch::x86_64::_mm_cvtsi128_si64` with `#[target_feature]` is unsafe and requires unsafe block [INFO] [stderr] --> src/x86_64.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | four_byte_count += _mm_cvtsi128_si64(sum) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]` [INFO] [stderr] | [INFO] [stderr] = help: in order for the call to be safe, the context requires the following additional target feature: sse2 [INFO] [stderr] = note: the sse2 target feature being enabled in the build configuration does not remove the requirement to list it in `#[target_feature]` [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `simd-utf16-len` (lib) generated 21 warnings (run `cargo fix --lib -p simd-utf16-len` to apply 1 suggestion) [INFO] [stderr] warning: `simd-utf16-len` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simd_utf16_len-d0b63ede0f063cc8) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::empty ... ok [INFO] [stdout] test tests::four_byte_chars ... ok [INFO] [stdout] test tests::all_byte_widths_interleaved ... ok [INFO] [stdout] test tests::ascii_only ... ok [INFO] [stdout] test tests::longer_than_simd_width ... ok [INFO] [stdout] test tests::repeated_pattern_large ... ok [INFO] [stdout] test tests::mixed ... ok [INFO] [stdout] test tests::single_char_boundaries ... ok [INFO] [stdout] test tests::three_byte_chars ... ok [INFO] [stdout] test tests::two_byte_chars ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simd_utf16_len [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ceec1a833b0c4787d162e3ffd5c3fbba595ade8b237888190aea421d85136529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceec1a833b0c4787d162e3ffd5c3fbba595ade8b237888190aea421d85136529", kill_on_drop: false }` [INFO] [stdout] ceec1a833b0c4787d162e3ffd5c3fbba595ade8b237888190aea421d85136529