[INFO] fetching crate simd-utf16-len 0.1.0... [INFO] testing simd-utf16-len-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate simd-utf16-len 0.1.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simd-utf16-len 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leb128fmt v0.1.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.6 [INFO] [stderr] Downloaded wit-bindgen-rust-macro v0.51.0 [INFO] [stderr] Downloaded quote v1.0.45 [INFO] [stderr] Downloaded zerocopy v0.8.40 [INFO] [stderr] Downloaded hashbrown v0.16.1 [INFO] [stderr] Downloaded wit-component v0.244.0 [INFO] [stderr] Downloaded clap v4.5.60 [INFO] [stderr] Downloaded memchr v2.8.0 [INFO] [stderr] Downloaded clap_lex v1.0.0 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded regex-syntax v0.8.10 [INFO] [stderr] Downloaded is-terminal v0.4.17 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded indexmap v2.13.0 [INFO] [stderr] Downloaded r-efi v6.0.0 [INFO] [stderr] Downloaded codspeed v2.10.1 [INFO] [stderr] Downloaded unicode-ident v1.0.24 [INFO] [stderr] Downloaded wasm-metadata v0.244.0 [INFO] [stderr] Downloaded wit-bindgen-core v0.51.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.114 [INFO] [stderr] Downloaded log v0.4.29 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded syn v2.0.117 [INFO] [stderr] Downloaded unicode-xid v0.2.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Downloaded web-sys v0.3.91 [INFO] [stderr] Downloaded wasip3 v0.4.0+wasi-0.3.0-rc-2026-01-06 [INFO] [stderr] Downloaded zmij v1.0.21 [INFO] [stderr] Downloaded windows-sys v0.61.2 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.114 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded itoa v1.0.17 [INFO] [stderr] Downloaded lazy_static v1.5.0 [INFO] [stderr] Downloaded wit-bindgen v0.51.0 [INFO] [stderr] Downloaded aho-corasick v1.1.4 [INFO] [stderr] Downloaded crossbeam-utils v0.8.21 [INFO] [stderr] Downloaded id-arena v2.3.0 [INFO] [stderr] Downloaded anstyle v1.0.13 [INFO] [stderr] Downloaded wit-parser v0.244.0 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded anyhow v1.0.102 [INFO] [stderr] Downloaded zerocopy-derive v0.8.40 [INFO] [stderr] Downloaded uuid v1.21.0 [INFO] [stderr] Downloaded serde v1.0.228 [INFO] [stderr] Downloaded wasmparser v0.244.0 [INFO] [stderr] Downloaded libc v0.2.182 [INFO] [stderr] Downloaded js-sys v0.3.91 [INFO] [stderr] Downloaded half v2.7.1 [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded wasm-encoder v0.244.0 [INFO] [stderr] Downloaded wasip2 v1.0.2+wasi-0.2.9 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded clap_builder v4.5.60 [INFO] [stderr] Downloaded regex v1.12.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.114 [INFO] [stderr] Downloaded proc-macro2 v1.0.106 [INFO] [stderr] Downloaded serde_derive v1.0.228 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] [stderr] Downloaded bumpalo v3.20.2 [INFO] [stderr] Downloaded codspeed-criterion-compat-walltime v2.10.1 [INFO] [stderr] Downloaded serde_json v1.0.149 [INFO] [stderr] Downloaded cfg-if v1.0.4 [INFO] [stderr] Downloaded regex-automata v0.4.14 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded wit-bindgen-rust v0.51.0 [INFO] [stderr] Downloaded codspeed-criterion-compat v2.10.1 [INFO] [stderr] Downloaded windows-link v0.2.1 [INFO] [stderr] Downloaded serde_core v1.0.228 [INFO] [stderr] Downloaded bitflags v2.11.0 [INFO] [stderr] Downloaded getrandom v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffeb9818bcb7d6c25f573817522d612c65584d33c942671d36d7c474ccd65974 [INFO] running `Command { std: "docker" "start" "-a" "ffeb9818bcb7d6c25f573817522d612c65584d33c942671d36d7c474ccd65974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffeb9818bcb7d6c25f573817522d612c65584d33c942671d36d7c474ccd65974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffeb9818bcb7d6c25f573817522d612c65584d33c942671d36d7c474ccd65974", kill_on_drop: false }` [INFO] [stdout] ffeb9818bcb7d6c25f573817522d612c65584d33c942671d36d7c474ccd65974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97cf2133aa962fdf450999365ac787381a573c3e2487a18fce184825979f2612 [INFO] running `Command { std: "docker" "start" "-a" "97cf2133aa962fdf450999365ac787381a573c3e2487a18fce184825979f2612", 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] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "97cf2133aa962fdf450999365ac787381a573c3e2487a18fce184825979f2612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97cf2133aa962fdf450999365ac787381a573c3e2487a18fce184825979f2612", kill_on_drop: false }` [INFO] [stdout] 97cf2133aa962fdf450999365ac787381a573c3e2487a18fce184825979f2612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f4e4792834adbf1a4b39bfaac38b988c5386f6f092b464e359496535a3c675 [INFO] running `Command { std: "docker" "start" "-a" "b8f4e4792834adbf1a4b39bfaac38b988c5386f6f092b464e359496535a3c675", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling codspeed-criterion-compat v2.10.1 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters-svg v0.3.7 [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] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.40 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling codspeed v2.10.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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.17s [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8f4e4792834adbf1a4b39bfaac38b988c5386f6f092b464e359496535a3c675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f4e4792834adbf1a4b39bfaac38b988c5386f6f092b464e359496535a3c675", kill_on_drop: false }` [INFO] [stdout] b8f4e4792834adbf1a4b39bfaac38b988c5386f6f092b464e359496535a3c675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b8750ac803cb6c5c443dfc4eb047882cfcbd763f2712aee8722a45bda6babda [INFO] running `Command { std: "docker" "start" "-a" "1b8750ac803cb6c5c443dfc4eb047882cfcbd763f2712aee8722a45bda6babda", 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.13s [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::all_byte_widths_interleaved ... ok [INFO] [stdout] test tests::ascii_only ... ok [INFO] [stdout] test tests::empty ... ok [INFO] [stdout] test tests::longer_than_simd_width ... ok [INFO] [stdout] test tests::three_byte_chars ... ok [INFO] [stdout] test tests::mixed ... ok [INFO] [stdout] test tests::repeated_pattern_large ... ok [INFO] [stdout] test tests::single_char_boundaries ... ok [INFO] [stderr] Doc-tests simd_utf16_len [INFO] [stdout] test tests::two_byte_chars ... ok [INFO] [stdout] test tests::four_byte_chars ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "1b8750ac803cb6c5c443dfc4eb047882cfcbd763f2712aee8722a45bda6babda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8750ac803cb6c5c443dfc4eb047882cfcbd763f2712aee8722a45bda6babda", kill_on_drop: false }` [INFO] [stdout] 1b8750ac803cb6c5c443dfc4eb047882cfcbd763f2712aee8722a45bda6babda