[INFO] fetching crate zlib-rs 0.3.0... [INFO] checking zlib-rs-0.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate zlib-rs 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate zlib-rs 0.3.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zlib-rs 0.3.0 [INFO] finished tweaking crates.io crate zlib-rs 0.3.0 [INFO] tweaked toml for crates.io crate zlib-rs 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e76442adb91b2dea45453a68016b2253d13a11085700c8693008a04000ef847c [INFO] running `Command { std: "docker" "start" "-a" "e76442adb91b2dea45453a68016b2253d13a11085700c8693008a04000ef847c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e76442adb91b2dea45453a68016b2253d13a11085700c8693008a04000ef847c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76442adb91b2dea45453a68016b2253d13a11085700c8693008a04000ef847c", kill_on_drop: false }` [INFO] [stdout] e76442adb91b2dea45453a68016b2253d13a11085700c8693008a04000ef847c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78376526346c18c5e59ca2cb53582742839a3670f3146cb0d5b100b8bcb9ac0b [INFO] running `Command { std: "docker" "start" "-a" "78376526346c18c5e59ca2cb53582742839a3670f3146cb0d5b100b8bcb9ac0b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking zlib-rs v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zlib_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/adler32/generic.rs [INFO] [stderr] * src/crc32/pclmulqdq.rs [INFO] [stderr] * src/deflate/algorithm/mod.rs [INFO] [stderr] * src/deflate/algorithm/quick.rs [INFO] [stderr] * src/inflate.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:40 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:58 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:58 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:40 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:58 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:6 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:40 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:58 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:37:23 [INFO] [stderr] | [INFO] [stderr] 37 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:37:40 [INFO] [stderr] | [INFO] [stderr] 37 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/quick.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | ($last:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/quick.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | ($last:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/mod.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($stream:expr_2021, $is_last_block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/mod.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | ($stream:expr_2021, $is_last_block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/inflate.rs:457:6 [INFO] [stderr] | [INFO] [stderr] 457 | ($self:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/inflate.rs:466:6 [INFO] [stderr] | [INFO] [stderr] 466 | ($self:expr_2021, $n:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/inflate.rs:466:23 [INFO] [stderr] | [INFO] [stderr] 466 | ($self:expr_2021, $n:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/crc32/pclmulqdq.rs:261:34 [INFO] [stderr] | [INFO] [stderr] 235 | ) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 261 | let (before, _, _) = unsafe { src.align_to::<__m128i>() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 71 | pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 74 | let stream = unsafe { strm.as_ref() }?; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:101:26 [INFO] [stderr] | [INFO] [stderr] 98 | pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self> { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 101 | let stream = unsafe { strm.as_ref() }?; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2067:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2067 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2079:9 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2079 | unsafe { core::ptr::read(&state.writer as *const _ as *const MaybeUninit) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2134:21 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2134 | let field_ptr = unsafe { core::ptr::addr_of_mut!((*dest.as_mut_ptr()).state) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2135:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2135 | unsafe { core::ptr::write(field_ptr as *mut *mut State, state_ptr) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2138:21 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2138 | let field_ptr = unsafe { core::ptr::addr_of_mut!((*dest.as_mut_ptr()).state.writer) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2139:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2139 | unsafe { core::ptr::copy(writer.as_ptr(), field_ptr, 1) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2142:21 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2142 | let field_ptr = unsafe { core::ptr::addr_of_mut!((*dest.as_mut_ptr()).state.head) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2143:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2143 | unsafe { core::ptr::copy(&source.state.head, field_ptr, 1) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 previous errors; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr_2021, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr_2021, $chunk:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/allocate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 23 | | fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/allocate.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 54 | | fn free(p: *mut c_void); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/quick.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | ($last:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($last:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/quick.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | ($last:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($last:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr, $is_last_block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr_2021, $is_last_block:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr, $is_last_block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr, $is_last_block:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/inflate.rs:457:12 [INFO] [stdout] | [INFO] [stdout] 457 | ($self:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 457 | ($self:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/inflate.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr, $n:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr_2021, $n:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/inflate.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr, $n:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr, $n:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/adler32/avx2.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / unsafe fn helper_32_bytes( [INFO] [stdout] 143 | | mut adler0: u32, [INFO] [stdout] 144 | | mut adler1: u32, [INFO] [stdout] 145 | | dst: &mut [MaybeUninit], [INFO] [stdout] 146 | | src: &[__m256i], [INFO] [stdout] 147 | | ) -> (u32, u32) { [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _mm256_storeu_si256(out_chunk.as_mut_ptr() as *mut __m256i, vbuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_sad_epu8` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let vs1_sad = _mm256_sad_epu8(vbuf, ZERO); // Sum of abs diff, resulting in 2 x int32's [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | vs1 = _mm256_add_epi32(vs1, vs1_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | vs3 = _mm256_add_epi32(vs3, vs1_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_maddubs_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let v_short_sum2 = _mm256_maddubs_epi16(vbuf, DOT2V); // sum 32 uint8s to 16 shorts [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_madd_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | let vsum2 = _mm256_madd_epi16(v_short_sum2, DOT3V); // sum 16 shorts to 8 uint32s [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | vs2 = _mm256_add_epi32(vsum2, vs2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_slli_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | vs3 = _mm256_slli_epi32(vs3, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | vs2 = _mm256_add_epi32(vs2, vs3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::partial_hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | adler0 = partial_hsum256(vs1) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | adler1 = hsum256(vs2) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::zalloc_c::posix_memalign` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | match posix_memalign(&mut ptr, 64, items as size_t * size as size_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe extern "C" fn zalloc_c(opaque: *mut c_void, items: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let ptr = std::alloc::System.alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe extern "C" fn zalloc_rust(_opaque: *mut c_void, count: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | let size = *(opaque as *mut usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe extern "C" fn zfree_rust(opaque: *mut c_void, ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | std::alloc::System.dealloc(ptr.cast(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | return (Allocator::RUST.zfree)(&mut size as *mut usize as *mut c_void, ptr.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn deallocate(&self, ptr: *mut T, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::sub` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | let original_ptr = (ptr as *mut u8).sub(core::mem::size_of::<*const c_void>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let free_ptr = core::ptr::read_unaligned(original_ptr as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | (self.zfree)(self.opaque, free_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let x_tmp0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn finish(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | xmm_crc0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | xmm_crc1 = _mm_xor_si128(xmm_crc1, x_tmp0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | xmm_crc1 = _mm_xor_si128(xmm_crc1, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let x_tmp1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | xmm_crc1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | xmm_crc2 = _mm_xor_si128(xmm_crc2, x_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | xmm_crc2 = _mm_xor_si128(xmm_crc2, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let x_tmp2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | xmm_crc2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | xmm_crc3 = _mm_xor_si128(xmm_crc3, x_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_srli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | xmm_crc0 = _mm_srli_si128(xmm_crc0, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_slli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | xmm_crc3 = _mm_slli_si128(xmm_crc3, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_extract_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | !(_mm_extract_epi32(xmm_crc3, 2) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / _mm_xor_si128( [INFO] [stdout] 140 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] 141 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe fn step(input: __m128i) -> __m128i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let xmm_shr = _mm_xor_si128(xmm_shl, reg([0x80808080u32; 4])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn partial_fold(&mut self, xmm_crc_part: __m128i, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::step` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | self.fold[0] = _mm_shuffle_epi8(self.fold[0], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let xmm_tmp1 = _mm_shuffle_epi8(self.fold[1], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | self.fold[0] = _mm_or_si128(self.fold[0], xmm_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | self.fold[1] = _mm_shuffle_epi8(self.fold[1], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | let xmm_tmp2 = _mm_shuffle_epi8(self.fold[2], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | self.fold[1] = _mm_or_si128(self.fold[1], xmm_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | self.fold[2] = _mm_shuffle_epi8(self.fold[2], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let xmm_tmp3 = _mm_shuffle_epi8(self.fold[3], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | self.fold[2] = _mm_or_si128(self.fold[2], xmm_tmp3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | self.fold[3] = _mm_shuffle_epi8(self.fold[3], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let xmm_crc_part = _mm_shuffle_epi8(xmm_crc_part, xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | self.fold[3] = _mm_or_si128(self.fold[3], xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_a0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_load_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | xmm_crc_part = _mm_load_si128(partial_buf.0.as_mut_ptr() as *mut __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / unsafe fn fold_help( [INFO] [stdout] 231 | | &mut self, [INFO] [stdout] 232 | | mut dst: &mut [MaybeUninit], [INFO] [stdout] 233 | | mut src: &[u8], [INFO] [stdout] 234 | | mut init_crc: u32, [INFO] [stdout] 235 | | ) { [INFO] [stdout] | |_____^ [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/crc32/pclmulqdq.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | xmm_crc_part = _mm_loadu_si128(src.as_ptr() as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | _mm_storeu_si128(dst.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | xmm_crc_part = _mm_xor_si128(xmm_crc_part, xmm_initial); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:40 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:56 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_t0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | self.partial_fold(xmm_crc_part, before.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 326 | | src.as_ptr(), [INFO] [stdout] 327 | | &mut xmm_crc_part as *mut _ as *mut u8, [INFO] [stdout] 328 | | src.len(), [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _mm_storeu_si128(partial_buf.0.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 333 | | partial_buf.0.as_ptr() as *const MaybeUninit, [INFO] [stdout] 334 | | dst.as_mut_ptr(), [INFO] [stdout] 335 | | src.len(), [INFO] [stdout] 336 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | self.partial_fold(xmm_crc_part, src.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | let src0_cmp = core::ptr::read(src0 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe fn memcmp_n_ptr(src0: *const u8, src1: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let src1_cmp = core::ptr::read(src1 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / unsafe fn is_match( [INFO] [stdout] 187 | | cur_match: u16, [INFO] [stdout] 188 | | mbase_start: *const u8, [INFO] [stdout] 189 | | mbase_end: *const u8, [INFO] [stdout] 190 | | scan_start: *const u8, [INFO] [stdout] 191 | | scan_end: *const u8, [INFO] [stdout] 192 | | ) -> bool { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/pending.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | alloc.deallocate(self.buf, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/pending.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) unsafe fn drop_in(&self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn drop_in(&mut self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | core::ptr::copy_nonoverlapping(src, dst, end - start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn copy_and_initialize(&mut self, range: core::ops::Range, src: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | &mut *(slice as *mut [MaybeUninit] as *mut [T]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | unsafe fn slice_assume_init_mut(slice: &mut [MaybeUninit]) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 177 | &*(slice as *const [u8] as *const [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe fn slice_to_uninit(slice: &[u8]) -> &[MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | strm.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | strm.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1887:24 [INFO] [stdout] | [INFO] [stdout] 1887 | let source_slice = core::slice::from_raw_parts(stream.next_in, stream.avail_in as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:1882:1 [INFO] [stdout] | [INFO] [stdout] 1882 | pub unsafe fn inflate(stream: &mut InflateStream, flush: InflateFlush) -> ReturnCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1888:22 [INFO] [stdout] | [INFO] [stdout] 1888 | let dest_slice = core::slice::from_raw_parts_mut(stream.next_out, stream.avail_out as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:2123:13 [INFO] [stdout] | [INFO] [stdout] 2123 | source.alloc.deallocate(state_allocation.as_mut_ptr(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:2057:1 [INFO] [stdout] | [INFO] [stdout] 2057 | / pub unsafe fn copy<'a>( [INFO] [stdout] 2058 | | dest: &mut MaybeUninit>, [INFO] [stdout] 2059 | | source: &InflateStream<'a>, [INFO] [stdout] 2060 | | ) -> ReturnCode { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::load_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let chunk = C::load_chunk(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / unsafe fn copy_chunk_unchecked( [INFO] [stdout] 278 | | mut src: *const MaybeUninit, [INFO] [stdout] 279 | | mut dst: *mut MaybeUninit, [INFO] [stdout] 280 | | end: *const MaybeUninit, [INFO] [stdout] 281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::store_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | C::store_chunk(dst, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/read_buf.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | src = src.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | dst = dst.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) unsafe fn drop_in(&mut self, alloc: &Allocator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | &mut *(slice as *mut [u8] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | unsafe fn slice_to_uninit_mut(slice: &mut [u8]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | u64::to_le(core::ptr::read_unaligned(from.cast())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 357 | | chunk.to_le_bytes().as_ptr().cast(), [INFO] [stdout] 358 | | out, [INFO] [stdout] 359 | | core::mem::size_of::(), [INFO] [stdout] 360 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/read_buf.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | core::arch::x86_64::_mm_loadu_si128(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | core::arch::x86_64::_mm_storeu_si128(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | core::arch::x86_64::_mm256_loadu_si256(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | core::arch::x86_64::_mm256_storeu_si256(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | core::ptr::read_unaligned(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | core::ptr::write_unaligned(out.cast(), chunk) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zlib_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/adler32/generic.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/crc32/pclmulqdq.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/deflate.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/deflate/algorithm/mod.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/deflate/algorithm/quick.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/inflate.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:40 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:9:58 [INFO] [stderr] | [INFO] [stderr] 9 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:16:58 [INFO] [stderr] | [INFO] [stderr] 16 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:40 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:23:58 [INFO] [stderr] | [INFO] [stderr] 23 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:6 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:40 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:30:58 [INFO] [stderr] | [INFO] [stderr] 30 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021, $i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:37:23 [INFO] [stderr] | [INFO] [stderr] 37 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/adler32/generic.rs:37:40 [INFO] [stderr] | [INFO] [stderr] 37 | ($sum1:expr_2021, $sum2:expr_2021, $chunk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/quick.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | ($last:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/quick.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | ($last:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/mod.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($stream:expr_2021, $is_last_block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/deflate/algorithm/mod.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | ($stream:expr_2021, $is_last_block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/inflate.rs:457:6 [INFO] [stderr] | [INFO] [stderr] 457 | ($self:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/inflate.rs:466:6 [INFO] [stderr] | [INFO] [stderr] 466 | ($self:expr_2021, $n:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/inflate.rs:466:23 [INFO] [stderr] | [INFO] [stderr] 466 | ($self:expr_2021, $n:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/crc32/pclmulqdq.rs:261:34 [INFO] [stderr] | [INFO] [stderr] 235 | ) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 261 | let (before, _, _) = unsafe { src.align_to::<__m128i>() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/deflate.rs:3171:21 [INFO] [stderr] | [INFO] [stderr] 3170 | ) -> crate::c_api::voidpf { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 3171 | let count = unsafe { &*(opaque as *const AtomicUsize) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 71 | pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 74 | let stream = unsafe { strm.as_ref() }?; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:101:26 [INFO] [stderr] | [INFO] [stderr] 98 | pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self> { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 101 | let stream = unsafe { strm.as_ref() }?; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2067:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2067 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2079:9 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2079 | unsafe { core::ptr::read(&state.writer as *const _ as *const MaybeUninit) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2134:21 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2134 | let field_ptr = unsafe { core::ptr::addr_of_mut!((*dest.as_mut_ptr()).state) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2135:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2135 | unsafe { core::ptr::write(field_ptr as *mut *mut State, state_ptr) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2138:21 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2138 | let field_ptr = unsafe { core::ptr::addr_of_mut!((*dest.as_mut_ptr()).state.writer) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2139:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2139 | unsafe { core::ptr::copy(writer.as_ptr(), field_ptr, 1) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2142:21 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2142 | let field_ptr = unsafe { core::ptr::addr_of_mut!((*dest.as_mut_ptr()).state.head) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/inflate.rs:2143:5 [INFO] [stderr] | [INFO] [stderr] 2060 | ) -> ReturnCode { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 2143 | unsafe { core::ptr::copy(&source.state.head, field_ptr, 1) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 previous errors; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr_2021, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr_2021, $chunk:expr, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($sum1:expr, $sum2:expr, $chunk:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr_2021, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr_2021, $chunk:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/adler32/generic.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($sum1:expr, $sum2:expr, $chunk:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/allocate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 23 | | fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/allocate.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 54 | | fn free(p: *mut c_void); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/quick.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | ($last:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($last:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/quick.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | ($last:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($last:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr, $is_last_block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr_2021, $is_last_block:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/deflate/algorithm/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr, $is_last_block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 18 | ($stream:expr, $is_last_block:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/inflate.rs:457:12 [INFO] [stdout] | [INFO] [stdout] 457 | ($self:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 457 | ($self:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/inflate.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr, $n:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr_2021, $n:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/inflate.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr, $n:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 466 | ($self:expr, $n:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/adler32/avx2.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / unsafe fn helper_32_bytes( [INFO] [stdout] 143 | | mut adler0: u32, [INFO] [stdout] 144 | | mut adler1: u32, [INFO] [stdout] 145 | | dst: &mut [MaybeUninit], [INFO] [stdout] 146 | | src: &[__m256i], [INFO] [stdout] 147 | | ) -> (u32, u32) { [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _mm256_storeu_si256(out_chunk.as_mut_ptr() as *mut __m256i, vbuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_sad_epu8` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let vs1_sad = _mm256_sad_epu8(vbuf, ZERO); // Sum of abs diff, resulting in 2 x int32's [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | vs1 = _mm256_add_epi32(vs1, vs1_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | vs3 = _mm256_add_epi32(vs3, vs1_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_maddubs_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let v_short_sum2 = _mm256_maddubs_epi16(vbuf, DOT2V); // sum 32 uint8s to 16 shorts [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_madd_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | let vsum2 = _mm256_madd_epi16(v_short_sum2, DOT3V); // sum 16 shorts to 8 uint32s [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | vs2 = _mm256_add_epi32(vsum2, vs2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_slli_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | vs3 = _mm256_slli_epi32(vs3, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | vs2 = _mm256_add_epi32(vs2, vs3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::partial_hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | adler0 = partial_hsum256(vs1) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | adler1 = hsum256(vs2) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::zalloc_c::posix_memalign` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | match posix_memalign(&mut ptr, 64, items as size_t * size as size_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe extern "C" fn zalloc_c(opaque: *mut c_void, items: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let ptr = std::alloc::System.alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe extern "C" fn zalloc_rust(_opaque: *mut c_void, count: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | let size = *(opaque as *mut usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe extern "C" fn zfree_rust(opaque: *mut c_void, ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | std::alloc::System.dealloc(ptr.cast(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | return (Allocator::RUST.zfree)(&mut size as *mut usize as *mut c_void, ptr.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn deallocate(&self, ptr: *mut T, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::sub` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | let original_ptr = (ptr as *mut u8).sub(core::mem::size_of::<*const c_void>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let free_ptr = core::ptr::read_unaligned(original_ptr as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | (self.zfree)(self.opaque, free_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let x_tmp0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn finish(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | xmm_crc0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | xmm_crc1 = _mm_xor_si128(xmm_crc1, x_tmp0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | xmm_crc1 = _mm_xor_si128(xmm_crc1, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let x_tmp1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | xmm_crc1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | xmm_crc2 = _mm_xor_si128(xmm_crc2, x_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | xmm_crc2 = _mm_xor_si128(xmm_crc2, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let x_tmp2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | xmm_crc2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | xmm_crc3 = _mm_xor_si128(xmm_crc3, x_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_srli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | xmm_crc0 = _mm_srli_si128(xmm_crc0, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_slli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | xmm_crc3 = _mm_slli_si128(xmm_crc3, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_extract_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | !(_mm_extract_epi32(xmm_crc3, 2) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / _mm_xor_si128( [INFO] [stdout] 140 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] 141 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe fn step(input: __m128i) -> __m128i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let xmm_shr = _mm_xor_si128(xmm_shl, reg([0x80808080u32; 4])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn partial_fold(&mut self, xmm_crc_part: __m128i, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::step` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | self.fold[0] = _mm_shuffle_epi8(self.fold[0], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let xmm_tmp1 = _mm_shuffle_epi8(self.fold[1], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | self.fold[0] = _mm_or_si128(self.fold[0], xmm_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | self.fold[1] = _mm_shuffle_epi8(self.fold[1], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | let xmm_tmp2 = _mm_shuffle_epi8(self.fold[2], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | self.fold[1] = _mm_or_si128(self.fold[1], xmm_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | self.fold[2] = _mm_shuffle_epi8(self.fold[2], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let xmm_tmp3 = _mm_shuffle_epi8(self.fold[3], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | self.fold[2] = _mm_or_si128(self.fold[2], xmm_tmp3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | self.fold[3] = _mm_shuffle_epi8(self.fold[3], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let xmm_crc_part = _mm_shuffle_epi8(xmm_crc_part, xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | self.fold[3] = _mm_or_si128(self.fold[3], xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_a0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_load_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | xmm_crc_part = _mm_load_si128(partial_buf.0.as_mut_ptr() as *mut __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / unsafe fn fold_help( [INFO] [stdout] 231 | | &mut self, [INFO] [stdout] 232 | | mut dst: &mut [MaybeUninit], [INFO] [stdout] 233 | | mut src: &[u8], [INFO] [stdout] 234 | | mut init_crc: u32, [INFO] [stdout] 235 | | ) { [INFO] [stdout] | |_____^ [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/crc32/pclmulqdq.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | xmm_crc_part = _mm_loadu_si128(src.as_ptr() as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | _mm_storeu_si128(dst.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | xmm_crc_part = _mm_xor_si128(xmm_crc_part, xmm_initial); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:40 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:56 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_t0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | self.partial_fold(xmm_crc_part, before.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 326 | | src.as_ptr(), [INFO] [stdout] 327 | | &mut xmm_crc_part as *mut _ as *mut u8, [INFO] [stdout] 328 | | src.len(), [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _mm_storeu_si128(partial_buf.0.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 333 | | partial_buf.0.as_ptr() as *const MaybeUninit, [INFO] [stdout] 334 | | dst.as_mut_ptr(), [INFO] [stdout] 335 | | src.len(), [INFO] [stdout] 336 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | self.partial_fold(xmm_crc_part, src.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | let src0_cmp = core::ptr::read(src0 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe fn memcmp_n_ptr(src0: *const u8, src1: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let src1_cmp = core::ptr::read(src1 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / unsafe fn is_match( [INFO] [stdout] 187 | | cur_match: u16, [INFO] [stdout] 188 | | mbase_start: *const u8, [INFO] [stdout] 189 | | mbase_end: *const u8, [INFO] [stdout] 190 | | scan_start: *const u8, [INFO] [stdout] 191 | | scan_end: *const u8, [INFO] [stdout] 192 | | ) -> bool { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/pending.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | alloc.deallocate(self.buf, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/pending.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) unsafe fn drop_in(&self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn drop_in(&mut self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | core::ptr::copy_nonoverlapping(src, dst, end - start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn copy_and_initialize(&mut self, range: core::ops::Range, src: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | &mut *(slice as *mut [MaybeUninit] as *mut [T]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | unsafe fn slice_assume_init_mut(slice: &mut [MaybeUninit]) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate.rs:3177:13 [INFO] [stdout] | [INFO] [stdout] 3177 | (crate::allocate::Allocator::C.zalloc)(opaque, items, size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate.rs:3166:5 [INFO] [stdout] | [INFO] [stdout] 3166 | / unsafe extern "C" fn fail_nth_allocation( [INFO] [stdout] 3167 | | opaque: crate::c_api::voidpf, [INFO] [stdout] 3168 | | items: crate::c_api::uInt, [INFO] [stdout] 3169 | | size: crate::c_api::uInt, [INFO] [stdout] 3170 | | ) -> crate::c_api::voidpf { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 177 | &*(slice as *const [u8] as *const [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe fn slice_to_uninit(slice: &[u8]) -> &[MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | strm.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | strm.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1887:24 [INFO] [stdout] | [INFO] [stdout] 1887 | let source_slice = core::slice::from_raw_parts(stream.next_in, stream.avail_in as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:1882:1 [INFO] [stdout] | [INFO] [stdout] 1882 | pub unsafe fn inflate(stream: &mut InflateStream, flush: InflateFlush) -> ReturnCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1888:22 [INFO] [stdout] | [INFO] [stdout] 1888 | let dest_slice = core::slice::from_raw_parts_mut(stream.next_out, stream.avail_out as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:2123:13 [INFO] [stdout] | [INFO] [stdout] 2123 | source.alloc.deallocate(state_allocation.as_mut_ptr(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:2057:1 [INFO] [stdout] | [INFO] [stdout] 2057 | / pub unsafe fn copy<'a>( [INFO] [stdout] 2058 | | dest: &mut MaybeUninit>, [INFO] [stdout] 2059 | | source: &InflateStream<'a>, [INFO] [stdout] 2060 | | ) -> ReturnCode { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::load_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let chunk = C::load_chunk(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / unsafe fn copy_chunk_unchecked( [INFO] [stdout] 278 | | mut src: *const MaybeUninit, [INFO] [stdout] 279 | | mut dst: *mut MaybeUninit, [INFO] [stdout] 280 | | end: *const MaybeUninit, [INFO] [stdout] 281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::store_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | C::store_chunk(dst, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/read_buf.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | src = src.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | dst = dst.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) unsafe fn drop_in(&mut self, alloc: &Allocator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.99s [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | &mut *(slice as *mut [u8] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | unsafe fn slice_to_uninit_mut(slice: &mut [u8]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | u64::to_le(core::ptr::read_unaligned(from.cast())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 357 | | chunk.to_le_bytes().as_ptr().cast(), [INFO] [stdout] 358 | | out, [INFO] [stdout] 359 | | core::mem::size_of::(), [INFO] [stdout] 360 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/read_buf.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | core::arch::x86_64::_mm_loadu_si128(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | core::arch::x86_64::_mm_storeu_si128(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | core::arch::x86_64::_mm256_loadu_si256(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | core::arch::x86_64::_mm256_storeu_si256(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | core::ptr::read_unaligned(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | core::ptr::write_unaligned(out.cast(), chunk) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 139 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking zlib-rs v0.3.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/allocate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / extern "C" { [INFO] [stdout] 23 | | fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/allocate.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / extern "C" { [INFO] [stdout] 54 | | fn free(p: *mut c_void); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/allocate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / extern "C" { [INFO] [stdout] 23 | | fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/allocate.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / extern "C" { [INFO] [stdout] 54 | | fn free(p: *mut c_void); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/adler32/avx2.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / unsafe fn helper_32_bytes( [INFO] [stdout] 143 | | mut adler0: u32, [INFO] [stdout] 144 | | mut adler1: u32, [INFO] [stdout] 145 | | dst: &mut [MaybeUninit], [INFO] [stdout] 146 | | src: &[__m256i], [INFO] [stdout] 147 | | ) -> (u32, u32) { [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _mm256_storeu_si256(out_chunk.as_mut_ptr() as *mut __m256i, vbuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_sad_epu8` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let vs1_sad = _mm256_sad_epu8(vbuf, ZERO); // Sum of abs diff, resulting in 2 x int32's [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | vs1 = _mm256_add_epi32(vs1, vs1_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | vs3 = _mm256_add_epi32(vs3, vs1_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_maddubs_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let v_short_sum2 = _mm256_maddubs_epi16(vbuf, DOT2V); // sum 32 uint8s to 16 shorts [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_madd_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | let vsum2 = _mm256_madd_epi16(v_short_sum2, DOT3V); // sum 16 shorts to 8 uint32s [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | vs2 = _mm256_add_epi32(vsum2, vs2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_slli_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | vs3 = _mm256_slli_epi32(vs3, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | vs2 = _mm256_add_epi32(vs2, vs3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::partial_hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | adler0 = partial_hsum256(vs1) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | adler1 = hsum256(vs2) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::zalloc_c::posix_memalign` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | match posix_memalign(&mut ptr, 64, items as size_t * size as size_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe extern "C" fn zalloc_c(opaque: *mut c_void, items: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let ptr = std::alloc::System.alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe extern "C" fn zalloc_rust(_opaque: *mut c_void, count: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | let size = *(opaque as *mut usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe extern "C" fn zfree_rust(opaque: *mut c_void, ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | std::alloc::System.dealloc(ptr.cast(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | return (Allocator::RUST.zfree)(&mut size as *mut usize as *mut c_void, ptr.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn deallocate(&self, ptr: *mut T, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::sub` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | let original_ptr = (ptr as *mut u8).sub(core::mem::size_of::<*const c_void>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let free_ptr = core::ptr::read_unaligned(original_ptr as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | (self.zfree)(self.opaque, free_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let x_tmp0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn finish(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | xmm_crc0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | xmm_crc1 = _mm_xor_si128(xmm_crc1, x_tmp0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | xmm_crc1 = _mm_xor_si128(xmm_crc1, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let x_tmp1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | xmm_crc1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | xmm_crc2 = _mm_xor_si128(xmm_crc2, x_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | xmm_crc2 = _mm_xor_si128(xmm_crc2, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let x_tmp2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | xmm_crc2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | xmm_crc3 = _mm_xor_si128(xmm_crc3, x_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_srli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | xmm_crc0 = _mm_srli_si128(xmm_crc0, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_slli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | xmm_crc3 = _mm_slli_si128(xmm_crc3, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_extract_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | !(_mm_extract_epi32(xmm_crc3, 2) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / _mm_xor_si128( [INFO] [stdout] 140 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] 141 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe fn step(input: __m128i) -> __m128i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let xmm_shr = _mm_xor_si128(xmm_shl, reg([0x80808080u32; 4])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn partial_fold(&mut self, xmm_crc_part: __m128i, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::step` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | self.fold[0] = _mm_shuffle_epi8(self.fold[0], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let xmm_tmp1 = _mm_shuffle_epi8(self.fold[1], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | self.fold[0] = _mm_or_si128(self.fold[0], xmm_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | self.fold[1] = _mm_shuffle_epi8(self.fold[1], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | let xmm_tmp2 = _mm_shuffle_epi8(self.fold[2], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | self.fold[1] = _mm_or_si128(self.fold[1], xmm_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | self.fold[2] = _mm_shuffle_epi8(self.fold[2], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let xmm_tmp3 = _mm_shuffle_epi8(self.fold[3], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | self.fold[2] = _mm_or_si128(self.fold[2], xmm_tmp3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | self.fold[3] = _mm_shuffle_epi8(self.fold[3], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let xmm_crc_part = _mm_shuffle_epi8(xmm_crc_part, xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | self.fold[3] = _mm_or_si128(self.fold[3], xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_a0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_load_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | xmm_crc_part = _mm_load_si128(partial_buf.0.as_mut_ptr() as *mut __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / unsafe fn fold_help( [INFO] [stdout] 231 | | &mut self, [INFO] [stdout] 232 | | mut dst: &mut [MaybeUninit], [INFO] [stdout] 233 | | mut src: &[u8], [INFO] [stdout] 234 | | mut init_crc: u32, [INFO] [stdout] 235 | | ) { [INFO] [stdout] | |_____^ [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/crc32/pclmulqdq.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | xmm_crc_part = _mm_loadu_si128(src.as_ptr() as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | _mm_storeu_si128(dst.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | xmm_crc_part = _mm_xor_si128(xmm_crc_part, xmm_initial); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:40 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:56 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_t0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | self.partial_fold(xmm_crc_part, before.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 326 | | src.as_ptr(), [INFO] [stdout] 327 | | &mut xmm_crc_part as *mut _ as *mut u8, [INFO] [stdout] 328 | | src.len(), [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _mm_storeu_si128(partial_buf.0.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 333 | | partial_buf.0.as_ptr() as *const MaybeUninit, [INFO] [stdout] 334 | | dst.as_mut_ptr(), [INFO] [stdout] 335 | | src.len(), [INFO] [stdout] 336 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | self.partial_fold(xmm_crc_part, src.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | let src0_cmp = core::ptr::read(src0 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe fn memcmp_n_ptr(src0: *const u8, src1: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let src1_cmp = core::ptr::read(src1 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / unsafe fn is_match( [INFO] [stdout] 187 | | cur_match: u16, [INFO] [stdout] 188 | | mbase_start: *const u8, [INFO] [stdout] 189 | | mbase_end: *const u8, [INFO] [stdout] 190 | | scan_start: *const u8, [INFO] [stdout] 191 | | scan_end: *const u8, [INFO] [stdout] 192 | | ) -> bool { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/pending.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | alloc.deallocate(self.buf, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/pending.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) unsafe fn drop_in(&self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn drop_in(&mut self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | core::ptr::copy_nonoverlapping(src, dst, end - start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn copy_and_initialize(&mut self, range: core::ops::Range, src: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | &mut *(slice as *mut [MaybeUninit] as *mut [T]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | unsafe fn slice_assume_init_mut(slice: &mut [MaybeUninit]) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/adler32/avx2.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / unsafe fn helper_32_bytes( [INFO] [stdout] 143 | | mut adler0: u32, [INFO] [stdout] 144 | | mut adler1: u32, [INFO] [stdout] 145 | | dst: &mut [MaybeUninit], [INFO] [stdout] 146 | | src: &[__m256i], [INFO] [stdout] 147 | | ) -> (u32, u32) { [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let mut vs1 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler0 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_zextsi128_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_cvtsi32_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let mut vs2 = _mm256_zextsi128_si256(_mm_cvtsi32_si128(adler1 as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _mm256_storeu_si256(out_chunk.as_mut_ptr() as *mut __m256i, vbuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_sad_epu8` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let vs1_sad = _mm256_sad_epu8(vbuf, ZERO); // Sum of abs diff, resulting in 2 x int32's [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | vs1 = _mm256_add_epi32(vs1, vs1_sad); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | vs3 = _mm256_add_epi32(vs3, vs1_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_maddubs_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let v_short_sum2 = _mm256_maddubs_epi16(vbuf, DOT2V); // sum 32 uint8s to 16 shorts [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_madd_epi16` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | let vsum2 = _mm256_madd_epi16(v_short_sum2, DOT3V); // sum 16 shorts to 8 uint32s [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | vs2 = _mm256_add_epi32(vsum2, vs2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_slli_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | vs3 = _mm256_slli_epi32(vs3, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_add_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | vs2 = _mm256_add_epi32(vs2, vs3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::partial_hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | adler0 = partial_hsum256(vs1) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `adler32::avx2::hsum256` is unsafe and requires unsafe block [INFO] [stdout] --> src/adler32/avx2.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | adler1 = hsum256(vs2) % BASE; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::zalloc_c::posix_memalign` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | match posix_memalign(&mut ptr, 64, items as size_t * size as size_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe extern "C" fn zalloc_c(opaque: *mut c_void, items: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let ptr = std::alloc::System.alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe extern "C" fn zalloc_rust(_opaque: *mut c_void, count: c_uint, size: c_uint) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | let size = *(opaque as *mut usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe extern "C" fn zfree_rust(opaque: *mut c_void, ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | std::alloc::System.dealloc(ptr.cast(), layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | return (Allocator::RUST.zfree)(&mut size as *mut usize as *mut c_void, ptr.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocate.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn deallocate(&self, ptr: *mut T, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::sub` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | let original_ptr = (ptr as *mut u8).sub(core::mem::size_of::<*const c_void>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let free_ptr = core::ptr::read_unaligned(original_ptr as *mut *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/allocate.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | (self.zfree)(self.opaque, free_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let x_tmp0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn finish(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | xmm_crc0 = _mm_clmulepi64_si128(xmm_crc0, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | xmm_crc1 = _mm_xor_si128(xmm_crc1, x_tmp0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | xmm_crc1 = _mm_xor_si128(xmm_crc1, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let x_tmp1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | xmm_crc1 = _mm_clmulepi64_si128(xmm_crc1, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | xmm_crc2 = _mm_xor_si128(xmm_crc2, x_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | xmm_crc2 = _mm_xor_si128(xmm_crc2, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let x_tmp2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | xmm_crc2 = _mm_clmulepi64_si128(xmm_crc2, crc_fold, 0x01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | xmm_crc3 = _mm_xor_si128(xmm_crc3, x_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_srli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | xmm_crc0 = _mm_srli_si128(xmm_crc0, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_slli_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | xmm_crc3 = _mm_slli_si128(xmm_crc3, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_and_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | xmm_crc3 = _mm_and_si128(xmm_crc3, CRC_MASK1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | xmm_crc3 = _mm_clmulepi64_si128(xmm_crc3, crc_fold, 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | xmm_crc3 = _mm_xor_si128(xmm_crc3, xmm_crc1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_extract_epi32` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | !(_mm_extract_epi32(xmm_crc3, 2) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / _mm_xor_si128( [INFO] [stdout] 140 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] 141 | | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe fn step(input: __m128i) -> __m128i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x01), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_clmulepi64_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _mm_clmulepi64_si128(input, Self::XMM_FOLD4, 0x10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let xmm_shr = _mm_xor_si128(xmm_shl, reg([0x80808080u32; 4])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn partial_fold(&mut self, xmm_crc_part: __m128i, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::step` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | let xmm_a0 = Self::step(_mm_shuffle_epi8(self.fold[0], xmm_shl)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | self.fold[0] = _mm_shuffle_epi8(self.fold[0], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let xmm_tmp1 = _mm_shuffle_epi8(self.fold[1], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | self.fold[0] = _mm_or_si128(self.fold[0], xmm_tmp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | self.fold[1] = _mm_shuffle_epi8(self.fold[1], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 177 | &*(slice as *const [u8] as *const [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe fn slice_to_uninit(slice: &[u8]) -> &[MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | let xmm_tmp2 = _mm_shuffle_epi8(self.fold[2], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | self.fold[1] = _mm_or_si128(self.fold[1], xmm_tmp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | self.fold[2] = _mm_shuffle_epi8(self.fold[2], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let xmm_tmp3 = _mm_shuffle_epi8(self.fold[3], xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | self.fold[2] = _mm_or_si128(self.fold[2], xmm_tmp3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | self.fold[3] = _mm_shuffle_epi8(self.fold[3], xmm_shr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_shuffle_epi8` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let xmm_crc_part = _mm_shuffle_epi8(xmm_crc_part, xmm_shl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_or_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | self.fold[3] = _mm_or_si128(self.fold[3], xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_a0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | strm.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | strm.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_load_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | xmm_crc_part = _mm_load_si128(partial_buf.0.as_mut_ptr() as *mut __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/crc32/pclmulqdq.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / unsafe fn fold_help( [INFO] [stdout] 231 | | &mut self, [INFO] [stdout] 232 | | mut dst: &mut [MaybeUninit], [INFO] [stdout] 233 | | mut src: &[u8], [INFO] [stdout] 234 | | mut init_crc: u32, [INFO] [stdout] 235 | | ) { [INFO] [stdout] | |_____^ [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/crc32/pclmulqdq.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | xmm_crc_part = _mm_loadu_si128(src.as_ptr() as *const __m128i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | _mm_storeu_si128(dst.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | xmm_crc_part = _mm_xor_si128(xmm_crc_part, xmm_initial); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:40 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/crc32/pclmulqdq.rs:279:56 [INFO] [stdout] | [INFO] [stdout] 279 | xmm_crc_part = _mm_loadu_si128((src.as_ptr() as *const __m128i).add(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_xor_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | self.fold[3] = _mm_xor_si128(self.fold[3], xmm_t0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | self.partial_fold(xmm_crc_part, before.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 326 | | src.as_ptr(), [INFO] [stdout] 327 | | &mut xmm_crc_part as *mut _ as *mut u8, [INFO] [stdout] 328 | | src.len(), [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | _mm_storeu_si128(partial_buf.0.as_mut_ptr() as *mut __m128i, xmm_crc_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 333 | | partial_buf.0.as_ptr() as *const MaybeUninit, [INFO] [stdout] 334 | | dst.as_mut_ptr(), [INFO] [stdout] 335 | | src.len(), [INFO] [stdout] 336 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `crc32::pclmulqdq::Accumulator::partial_fold` is unsafe and requires unsafe block [INFO] [stdout] --> src/crc32/pclmulqdq.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | self.partial_fold(xmm_crc_part, src.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1887:24 [INFO] [stdout] | [INFO] [stdout] 1887 | let source_slice = core::slice::from_raw_parts(stream.next_in, stream.avail_in as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:1882:1 [INFO] [stdout] | [INFO] [stdout] 1882 | pub unsafe fn inflate(stream: &mut InflateStream, flush: InflateFlush) -> ReturnCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1888:22 [INFO] [stdout] | [INFO] [stdout] 1888 | let dest_slice = core::slice::from_raw_parts_mut(stream.next_out, stream.avail_out as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:2123:13 [INFO] [stdout] | [INFO] [stdout] 2123 | source.alloc.deallocate(state_allocation.as_mut_ptr(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:2057:1 [INFO] [stdout] | [INFO] [stdout] 2057 | / pub unsafe fn copy<'a>( [INFO] [stdout] 2058 | | dest: &mut MaybeUninit>, [INFO] [stdout] 2059 | | source: &InflateStream<'a>, [INFO] [stdout] 2060 | | ) -> ReturnCode { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::load_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let chunk = C::load_chunk(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / unsafe fn copy_chunk_unchecked( [INFO] [stdout] 278 | | mut src: *const MaybeUninit, [INFO] [stdout] 279 | | mut dst: *mut MaybeUninit, [INFO] [stdout] 280 | | end: *const MaybeUninit, [INFO] [stdout] 281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::store_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | C::store_chunk(dst, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/read_buf.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | src = src.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | dst = dst.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) unsafe fn drop_in(&mut self, alloc: &Allocator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | &mut *(slice as *mut [u8] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | unsafe fn slice_to_uninit_mut(slice: &mut [u8]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | u64::to_le(core::ptr::read_unaligned(from.cast())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 357 | | chunk.to_le_bytes().as_ptr().cast(), [INFO] [stdout] 358 | | out, [INFO] [stdout] 359 | | core::mem::size_of::(), [INFO] [stdout] 360 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/read_buf.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | core::arch::x86_64::_mm_loadu_si128(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | core::arch::x86_64::_mm_storeu_si128(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | core::arch::x86_64::_mm256_loadu_si256(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | core::arch::x86_64::_mm256_storeu_si256(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | core::ptr::read_unaligned(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | core::ptr::write_unaligned(out.cast(), chunk) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | let src0_cmp = core::ptr::read(src0 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe fn memcmp_n_ptr(src0: *const u8, src1: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let src1_cmp = core::ptr::read(src1 as *const [u8; N]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/longest_match.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / unsafe fn is_match( [INFO] [stdout] 187 | | cur_match: u16, [INFO] [stdout] 188 | | mbase_start: *const u8, [INFO] [stdout] 189 | | mbase_end: *const u8, [INFO] [stdout] 190 | | scan_start: *const u8, [INFO] [stdout] 191 | | scan_end: *const u8, [INFO] [stdout] 192 | | ) -> bool { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `deflate::longest_match::longest_match_help::memcmp_n_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/longest_match.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | memcmp_n_ptr::(be, scan_end) && memcmp_n_ptr::(bs, scan_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/pending.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | alloc.deallocate(self.buf, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/pending.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) unsafe fn drop_in(&self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn drop_in(&mut self, alloc: &Allocator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 110 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate/window.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | core::ptr::copy_nonoverlapping(src, dst, end - start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate/window.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn copy_and_initialize(&mut self, range: core::ops::Range, src: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | &mut *(slice as *mut [MaybeUninit] as *mut [T]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | unsafe fn slice_assume_init_mut(slice: &mut [MaybeUninit]) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zlib-rs` (lib) due to 3 previous errors; 110 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/deflate.rs:3177:13 [INFO] [stdout] | [INFO] [stdout] 3177 | (crate::allocate::Allocator::C.zalloc)(opaque, items, size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/deflate.rs:3166:5 [INFO] [stdout] | [INFO] [stdout] 3166 | / unsafe extern "C" fn fail_nth_allocation( [INFO] [stdout] 3167 | | opaque: crate::c_api::voidpf, [INFO] [stdout] 3168 | | items: crate::c_api::uInt, [INFO] [stdout] 3169 | | size: crate::c_api::uInt, [INFO] [stdout] 3170 | | ) -> crate::c_api::voidpf { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 177 | &*(slice as *const [u8] as *const [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe fn slice_to_uninit(slice: &[u8]) -> &[MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate/window.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate/window.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | strm.cast::().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | strm.cast::().as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1887:24 [INFO] [stdout] | [INFO] [stdout] 1887 | let source_slice = core::slice::from_raw_parts(stream.next_in, stream.avail_in as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:1882:1 [INFO] [stdout] | [INFO] [stdout] 1882 | pub unsafe fn inflate(stream: &mut InflateStream, flush: InflateFlush) -> ReturnCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:1888:22 [INFO] [stdout] | [INFO] [stdout] 1888 | let dest_slice = core::slice::from_raw_parts_mut(stream.next_out, stream.avail_out as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/inflate.rs:2123:13 [INFO] [stdout] | [INFO] [stdout] 2123 | source.alloc.deallocate(state_allocation.as_mut_ptr(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/inflate.rs:2057:1 [INFO] [stdout] | [INFO] [stdout] 2057 | / pub unsafe fn copy<'a>( [INFO] [stdout] 2058 | | dest: &mut MaybeUninit>, [INFO] [stdout] 2059 | | source: &InflateStream<'a>, [INFO] [stdout] 2060 | | ) -> ReturnCode { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::load_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let chunk = C::load_chunk(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / unsafe fn copy_chunk_unchecked( [INFO] [stdout] 278 | | mut src: *const MaybeUninit, [INFO] [stdout] 279 | | mut dst: *mut MaybeUninit, [INFO] [stdout] 280 | | end: *const MaybeUninit, [INFO] [stdout] 281 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `read_buf::Chunk::store_chunk` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | C::store_chunk(dst, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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/read_buf.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | src = src.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | dst = dst.add(core::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocate::Allocator::<'a>::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | alloc.deallocate(buf.as_mut_ptr(), buf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) unsafe fn drop_in(&mut self, alloc: &Allocator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | &mut *(slice as *mut [u8] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | unsafe fn slice_to_uninit_mut(slice: &mut [u8]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | &*(slice as *const [MaybeUninit] as *const [u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | unsafe fn slice_assume_init(slice: &[MaybeUninit]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | u64::to_le(core::ptr::read_unaligned(from.cast())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | / core::ptr::copy_nonoverlapping( [INFO] [stdout] 357 | | chunk.to_le_bytes().as_ptr().cast(), [INFO] [stdout] 358 | | out, [INFO] [stdout] 359 | | core::mem::size_of::(), [INFO] [stdout] 360 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/read_buf.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | core::arch::x86_64::_mm_loadu_si128(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm_storeu_si128` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | core::arch::x86_64::_mm_storeu_si128(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | core::arch::x86_64::_mm256_loadu_si256(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | core::arch::x86_64::_mm256_storeu_si256(out as *mut Self, chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | core::ptr::read_unaligned(from.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | unsafe fn load_chunk(from: *const MaybeUninit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/read_buf.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | core::ptr::write_unaligned(out.cast(), chunk) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/read_buf.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe fn store_chunk(out: *mut MaybeUninit, chunk: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 111 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zlib-rs` (lib test) due to 3 previous errors; 111 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "78376526346c18c5e59ca2cb53582742839a3670f3146cb0d5b100b8bcb9ac0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78376526346c18c5e59ca2cb53582742839a3670f3146cb0d5b100b8bcb9ac0b", kill_on_drop: false }` [INFO] [stdout] 78376526346c18c5e59ca2cb53582742839a3670f3146cb0d5b100b8bcb9ac0b