[INFO] fetching crate libz-rs-sys 0.3.0... [INFO] checking libz-rs-sys-0.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate libz-rs-sys 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate libz-rs-sys 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 libz-rs-sys 0.3.0 [INFO] finished tweaking crates.io crate libz-rs-sys 0.3.0 [INFO] tweaked toml for crates.io crate libz-rs-sys 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 1 package to latest compatible version [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] 8e22597458c607870cf0aa375439e13c30c548a5423a4b2ea9b71955f55a2c07 [INFO] running `Command { std: "docker" "start" "-a" "8e22597458c607870cf0aa375439e13c30c548a5423a4b2ea9b71955f55a2c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e22597458c607870cf0aa375439e13c30c548a5423a4b2ea9b71955f55a2c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e22597458c607870cf0aa375439e13c30c548a5423a4b2ea9b71955f55a2c07", kill_on_drop: false }` [INFO] [stdout] 8e22597458c607870cf0aa375439e13c30c548a5423a4b2ea9b71955f55a2c07 [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] 07e7fef80d5f48f0292da1f0955be71a249cd0fbbad03ba26a21a5a676936d5e [INFO] running `Command { std: "docker" "start" "-a" "07e7fef80d5f48f0292da1f0955be71a249cd0fbbad03ba26a21a5a676936d5e", 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] Checking zlib-rs v0.3.0 [INFO] [stderr] Checking libz-rs-sys v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `libz_rs_sys` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.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/lib.rs:59:6 [INFO] [stderr] | [INFO] [stderr] 59 | ($name: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/lib.rs:453:23 [INFO] [stderr] | [INFO] [stderr] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 453 | let Some(dest) = (unsafe { dest.cast::>().as_mut() }) else { [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/lib.rs:457:25 [INFO] [stderr] | [INFO] [stderr] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 457 | let Some(source) = (unsafe { InflateStream::from_stream_ref(source) }) else { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:769:14 [INFO] [stderr] | [INFO] [stderr] 762 | ) -> c_int { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 769 | _ => unsafe { slice_from_raw_parts(dictionary, dictLength as usize) }.unwrap_or(&[]), [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:1205:29 [INFO] [stderr] | [INFO] [stderr] 1204 | ) -> c_int { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 1205 | let Some(dictionary) = (unsafe { slice_from_raw_parts(dictionary, dictLength as usize) }) [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:1499:23 [INFO] [stderr] | [INFO] [stderr] 1494 | ) -> c_int { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 1499 | let Some(strm) = (unsafe { strm.as_mut() }) else { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 5 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[export_name = prefix!(crc32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 98 | #[unsafe(export_name = prefix!(crc32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[export_name = prefix!(crc32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(export_name = prefix!(crc32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | #[export_name = prefix!(adler32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 163 | #[unsafe(export_name = prefix!(adler32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | #[export_name = prefix!(adler32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 198 | #[unsafe(export_name = prefix!(adler32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | #[export_name = prefix!(uncompress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 268 | #[unsafe(export_name = prefix!(uncompress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 317 | #[export_name = prefix!(inflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 317 | #[unsafe(export_name = prefix!(inflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:341:3 [INFO] [stdout] | [INFO] [stdout] 341 | #[export_name = prefix!(inflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 341 | #[unsafe(export_name = prefix!(inflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | #[export_name = prefix!(inflateBackInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 375 | #[unsafe(export_name = prefix!(inflateBackInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:395:3 [INFO] [stdout] | [INFO] [stdout] 395 | #[export_name = prefix!(inflateBack)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 395 | #[unsafe(export_name = prefix!(inflateBack))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:422:3 [INFO] [stdout] | [INFO] [stdout] 422 | #[export_name = prefix!(inflateBackEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 422 | #[unsafe(export_name = prefix!(inflateBackEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:451:3 [INFO] [stdout] | [INFO] [stdout] 451 | #[export_name = prefix!(inflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 451 | #[unsafe(export_name = prefix!(inflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:486:3 [INFO] [stdout] | [INFO] [stdout] 486 | #[export_name = prefix!(inflateMark)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 486 | #[unsafe(export_name = prefix!(inflateMark))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 520 | #[export_name = prefix!(inflateSync)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 520 | #[unsafe(export_name = prefix!(inflateSync))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:537:3 [INFO] [stdout] | [INFO] [stdout] 537 | #[export_name = prefix!(inflateSyncPoint)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 537 | #[unsafe(export_name = prefix!(inflateSyncPoint))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:571:3 [INFO] [stdout] | [INFO] [stdout] 571 | #[export_name = prefix!(inflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 571 | #[unsafe(export_name = prefix!(inflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:604:3 [INFO] [stdout] | [INFO] [stdout] 604 | #[export_name = prefix!(inflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 604 | #[unsafe(export_name = prefix!(inflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:665:3 [INFO] [stdout] | [INFO] [stdout] 665 | #[export_name = prefix!(inflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 665 | #[unsafe(export_name = prefix!(inflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | #[export_name = prefix!(inflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 691 | #[unsafe(export_name = prefix!(inflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:718:3 [INFO] [stdout] | [INFO] [stdout] 718 | #[export_name = prefix!(inflateReset2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 718 | #[unsafe(export_name = prefix!(inflateReset2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | #[export_name = prefix!(inflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 757 | #[unsafe(export_name = prefix!(inflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:815:3 [INFO] [stdout] | [INFO] [stdout] 815 | #[export_name = prefix!(inflateGetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 815 | #[unsafe(export_name = prefix!(inflateGetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:835:3 [INFO] [stdout] | [INFO] [stdout] 835 | #[export_name = prefix!(inflateUndermine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 835 | #[unsafe(export_name = prefix!(inflateUndermine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:850:3 [INFO] [stdout] | [INFO] [stdout] 850 | #[export_name = prefix!(inflateResetKeep)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 850 | #[unsafe(export_name = prefix!(inflateResetKeep))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:869:3 [INFO] [stdout] | [INFO] [stdout] 869 | #[export_name = prefix!(inflateCodesUsed)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 869 | #[unsafe(export_name = prefix!(inflateCodesUsed))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:890:3 [INFO] [stdout] | [INFO] [stdout] 890 | #[export_name = prefix!(deflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 890 | #[unsafe(export_name = prefix!(deflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | #[export_name = prefix!(deflateSetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 924 | #[unsafe(export_name = prefix!(deflateSetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:950:3 [INFO] [stdout] | [INFO] [stdout] 950 | #[export_name = prefix!(deflateBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 950 | #[unsafe(export_name = prefix!(deflateBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1007:3 [INFO] [stdout] | [INFO] [stdout] 1007 | #[export_name = prefix!(compress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1007 | #[unsafe(export_name = prefix!(compress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1050:3 [INFO] [stdout] | [INFO] [stdout] 1050 | #[export_name = prefix!(compress2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1050 | #[unsafe(export_name = prefix!(compress2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1083:3 [INFO] [stdout] | [INFO] [stdout] 1083 | #[export_name = prefix!(compressBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1083 | #[unsafe(export_name = prefix!(compressBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1105:3 [INFO] [stdout] | [INFO] [stdout] 1105 | #[export_name = prefix!(deflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1105 | #[unsafe(export_name = prefix!(deflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1133:3 [INFO] [stdout] | [INFO] [stdout] 1133 | #[export_name = prefix!(deflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1133 | #[unsafe(export_name = prefix!(deflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1164:3 [INFO] [stdout] | [INFO] [stdout] 1164 | #[export_name = prefix!(deflateParams)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1164 | #[unsafe(export_name = prefix!(deflateParams))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1199:3 [INFO] [stdout] | [INFO] [stdout] 1199 | #[export_name = prefix!(deflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1199 | #[unsafe(export_name = prefix!(deflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1235:3 [INFO] [stdout] | [INFO] [stdout] 1235 | #[export_name = prefix!(deflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1235 | #[unsafe(export_name = prefix!(deflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1267:3 [INFO] [stdout] | [INFO] [stdout] 1267 | #[export_name = prefix!(deflatePending)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1267 | #[unsafe(export_name = prefix!(deflatePending))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1314:3 [INFO] [stdout] | [INFO] [stdout] 1314 | #[export_name = prefix!(deflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1314 | #[unsafe(export_name = prefix!(deflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1394:3 [INFO] [stdout] | [INFO] [stdout] 1394 | #[export_name = prefix!(deflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1394 | #[unsafe(export_name = prefix!(deflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1484:3 [INFO] [stdout] | [INFO] [stdout] 1484 | #[export_name = prefix!(deflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1484 | #[unsafe(export_name = prefix!(deflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1541:3 [INFO] [stdout] | [INFO] [stdout] 1541 | #[export_name = prefix!(deflateTune)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1541 | #[unsafe(export_name = prefix!(deflateTune))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1593:3 [INFO] [stdout] | [INFO] [stdout] 1593 | #[export_name = prefix!(zError)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1593 | #[unsafe(export_name = prefix!(zError))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1634:3 [INFO] [stdout] | [INFO] [stdout] 1634 | #[export_name = prefix!(zlibVersion)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1634 | #[unsafe(export_name = prefix!(zlibVersion))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | ($name: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] 59 | ($name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | pub unsafe extern "C-unwind" fn inflate(strm: *mut z_stream, flush: i32) -> i32 { [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 `zlib_rs::inflate::inflate` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | zlib_rs::inflate::inflate(stream, flush) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:343:11 [INFO] [stdout] | [INFO] [stdout] 343 | match InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe extern "C-unwind" fn inflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | zlib_rs::inflate::copy(dest, source) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(stream) = InflateStream::from_stream_ref(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | pub unsafe extern "C-unwind" fn inflateMark(strm: *const z_stream) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub unsafe extern "C-unwind" fn inflateSync(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | pub unsafe extern "C-unwind" fn inflateSyncPoint(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | if !is_version_compatible(version, stream_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/lib.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | / pub unsafe extern "C-unwind" fn inflateInit2_( [INFO] [stdout] 606 | | strm: z_streamp, [INFO] [stdout] 607 | | windowBits: c_int, [INFO] [stdout] 608 | | version: *const c_char, [INFO] [stdout] 609 | | stream_size: c_int, [INFO] [stdout] 610 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `inflateInit2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | inflateInit2(strm, windowBits) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub unsafe extern "C-unwind" fn inflatePrime(strm: *mut z_stream, bits: i32, value: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub unsafe extern "C-unwind" fn inflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:720:27 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:719:1 [INFO] [stdout] | [INFO] [stdout] 719 | pub unsafe extern "C-unwind" fn inflateReset2(strm: *mut z_stream, windowBits: c_int) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:763:24 [INFO] [stdout] | [INFO] [stdout] 763 | let Some(stream) = InflateStream::from_stream_mut(strm) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | / pub unsafe extern "C-unwind" fn inflateSetDictionary( [INFO] [stdout] 759 | | strm: *mut z_stream, [INFO] [stdout] 760 | | dictionary: *const u8, [INFO] [stdout] 761 | | dictLength: c_uint, [INFO] [stdout] 762 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:836:1 [INFO] [stdout] | [INFO] [stdout] 836 | pub unsafe extern "C-unwind" fn inflateUndermine(strm: *mut z_stream, subvert: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub unsafe extern "C-unwind" fn inflateResetKeep(strm: *mut z_stream) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | if let Some(stream) = DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | pub unsafe extern "C-unwind" fn deflate(strm: *mut z_stream, flush: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:952:29 [INFO] [stdout] | [INFO] [stdout] 952 | zlib_rs::deflate::bound(DeflateStream::from_stream_mut(strm), sourceLen as usize) as c_ulong [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:951:1 [INFO] [stdout] | [INFO] [stdout] 951 | pub unsafe extern "C-unwind" fn deflateBound(strm: *mut z_stream, sourceLen: c_ulong) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `compress2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1014 | / compress2( [INFO] [stdout] 1015 | | dest, [INFO] [stdout] 1016 | | destLen, [INFO] [stdout] 1017 | | source, [INFO] [stdout] 1018 | | sourceLen, [INFO] [stdout] 1019 | | DeflateConfig::default().level, [INFO] [stdout] 1020 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / pub unsafe extern "C-unwind" fn compress( [INFO] [stdout] 1009 | | dest: *mut Bytef, [INFO] [stdout] 1010 | | destLen: *mut c_ulong, [INFO] [stdout] 1011 | | source: *const Bytef, [INFO] [stdout] 1012 | | sourceLen: c_ulong, [INFO] [stdout] 1013 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1107:11 [INFO] [stdout] | [INFO] [stdout] 1107 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1106:1 [INFO] [stdout] | [INFO] [stdout] 1106 | pub unsafe extern "C-unwind" fn deflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1135:11 [INFO] [stdout] | [INFO] [stdout] 1135 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1134:1 [INFO] [stdout] | [INFO] [stdout] 1134 | pub unsafe extern "C-unwind" fn deflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1174:11 [INFO] [stdout] | [INFO] [stdout] 1174 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1165:1 [INFO] [stdout] | [INFO] [stdout] 1165 | / pub unsafe extern "C-unwind" fn deflateParams( [INFO] [stdout] 1166 | | strm: z_streamp, [INFO] [stdout] 1167 | | level: c_int, [INFO] [stdout] 1168 | | strategy: c_int, [INFO] [stdout] 1169 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1210:11 [INFO] [stdout] | [INFO] [stdout] 1210 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1200:1 [INFO] [stdout] | [INFO] [stdout] 1200 | / pub unsafe extern "C-unwind" fn deflateSetDictionary( [INFO] [stdout] 1201 | | strm: z_streamp, [INFO] [stdout] 1202 | | dictionary: *const Bytef, [INFO] [stdout] 1203 | | dictLength: uInt, [INFO] [stdout] 1204 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1237:11 [INFO] [stdout] | [INFO] [stdout] 1237 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1236:1 [INFO] [stdout] | [INFO] [stdout] 1236 | pub unsafe extern "C-unwind" fn deflatePrime(strm: z_streamp, bits: c_int, value: c_int) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1495 | if !is_version_compatible(version, stream_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/lib.rs:1485:1 [INFO] [stdout] | [INFO] [stdout] 1485 | / pub unsafe extern "C-unwind" fn deflateInit2_( [INFO] [stdout] 1486 | | strm: z_streamp, [INFO] [stdout] 1487 | | level: c_int, [INFO] [stdout] 1488 | | method: c_int, [INFO] [stdout] ... | [INFO] [stdout] 1493 | | stream_size: c_int, [INFO] [stdout] 1494 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 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 `libz_rs_sys` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.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/lib.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ($name: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/lib.rs:453:23 [INFO] [stderr] | [INFO] [stderr] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 453 | let Some(dest) = (unsafe { dest.cast::>().as_mut() }) else { [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/lib.rs:457:25 [INFO] [stderr] | [INFO] [stderr] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 457 | let Some(source) = (unsafe { InflateStream::from_stream_ref(source) }) else { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:769:14 [INFO] [stderr] | [INFO] [stderr] 762 | ) -> c_int { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 769 | _ => unsafe { slice_from_raw_parts(dictionary, dictLength as usize) }.unwrap_or(&[]), [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:1205:29 [INFO] [stderr] | [INFO] [stderr] 1204 | ) -> c_int { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 1205 | let Some(dictionary) = (unsafe { slice_from_raw_parts(dictionary, dictLength as usize) }) [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:1499:23 [INFO] [stderr] | [INFO] [stderr] 1494 | ) -> c_int { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 1499 | let Some(strm) = (unsafe { strm.as_mut() }) else { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 5 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[export_name = prefix!(crc32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 98 | #[unsafe(export_name = prefix!(crc32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[export_name = prefix!(crc32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(export_name = prefix!(crc32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | #[export_name = prefix!(adler32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 163 | #[unsafe(export_name = prefix!(adler32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | #[export_name = prefix!(adler32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 198 | #[unsafe(export_name = prefix!(adler32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | #[export_name = prefix!(uncompress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 268 | #[unsafe(export_name = prefix!(uncompress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 317 | #[export_name = prefix!(inflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 317 | #[unsafe(export_name = prefix!(inflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:341:3 [INFO] [stdout] | [INFO] [stdout] 341 | #[export_name = prefix!(inflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 341 | #[unsafe(export_name = prefix!(inflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | #[export_name = prefix!(inflateBackInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 375 | #[unsafe(export_name = prefix!(inflateBackInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:395:3 [INFO] [stdout] | [INFO] [stdout] 395 | #[export_name = prefix!(inflateBack)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 395 | #[unsafe(export_name = prefix!(inflateBack))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:422:3 [INFO] [stdout] | [INFO] [stdout] 422 | #[export_name = prefix!(inflateBackEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 422 | #[unsafe(export_name = prefix!(inflateBackEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:451:3 [INFO] [stdout] | [INFO] [stdout] 451 | #[export_name = prefix!(inflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 451 | #[unsafe(export_name = prefix!(inflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:486:3 [INFO] [stdout] | [INFO] [stdout] 486 | #[export_name = prefix!(inflateMark)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 486 | #[unsafe(export_name = prefix!(inflateMark))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 520 | #[export_name = prefix!(inflateSync)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 520 | #[unsafe(export_name = prefix!(inflateSync))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:537:3 [INFO] [stdout] | [INFO] [stdout] 537 | #[export_name = prefix!(inflateSyncPoint)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 537 | #[unsafe(export_name = prefix!(inflateSyncPoint))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:571:3 [INFO] [stdout] | [INFO] [stdout] 571 | #[export_name = prefix!(inflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 571 | #[unsafe(export_name = prefix!(inflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:604:3 [INFO] [stdout] | [INFO] [stdout] 604 | #[export_name = prefix!(inflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 604 | #[unsafe(export_name = prefix!(inflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:665:3 [INFO] [stdout] | [INFO] [stdout] 665 | #[export_name = prefix!(inflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 665 | #[unsafe(export_name = prefix!(inflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | #[export_name = prefix!(inflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 691 | #[unsafe(export_name = prefix!(inflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:718:3 [INFO] [stdout] | [INFO] [stdout] 718 | #[export_name = prefix!(inflateReset2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 718 | #[unsafe(export_name = prefix!(inflateReset2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | #[export_name = prefix!(inflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 757 | #[unsafe(export_name = prefix!(inflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:815:3 [INFO] [stdout] | [INFO] [stdout] 815 | #[export_name = prefix!(inflateGetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 815 | #[unsafe(export_name = prefix!(inflateGetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:835:3 [INFO] [stdout] | [INFO] [stdout] 835 | #[export_name = prefix!(inflateUndermine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 835 | #[unsafe(export_name = prefix!(inflateUndermine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:850:3 [INFO] [stdout] | [INFO] [stdout] 850 | #[export_name = prefix!(inflateResetKeep)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 850 | #[unsafe(export_name = prefix!(inflateResetKeep))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:869:3 [INFO] [stdout] | [INFO] [stdout] 869 | #[export_name = prefix!(inflateCodesUsed)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 869 | #[unsafe(export_name = prefix!(inflateCodesUsed))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:890:3 [INFO] [stdout] | [INFO] [stdout] 890 | #[export_name = prefix!(deflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 890 | #[unsafe(export_name = prefix!(deflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | #[export_name = prefix!(deflateSetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 924 | #[unsafe(export_name = prefix!(deflateSetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:950:3 [INFO] [stdout] | [INFO] [stdout] 950 | #[export_name = prefix!(deflateBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 950 | #[unsafe(export_name = prefix!(deflateBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1007:3 [INFO] [stdout] | [INFO] [stdout] 1007 | #[export_name = prefix!(compress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1007 | #[unsafe(export_name = prefix!(compress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1050:3 [INFO] [stdout] | [INFO] [stdout] 1050 | #[export_name = prefix!(compress2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1050 | #[unsafe(export_name = prefix!(compress2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1083:3 [INFO] [stdout] | [INFO] [stdout] 1083 | #[export_name = prefix!(compressBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1083 | #[unsafe(export_name = prefix!(compressBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1105:3 [INFO] [stdout] | [INFO] [stdout] 1105 | #[export_name = prefix!(deflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1105 | #[unsafe(export_name = prefix!(deflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1133:3 [INFO] [stdout] | [INFO] [stdout] 1133 | #[export_name = prefix!(deflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1133 | #[unsafe(export_name = prefix!(deflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1164:3 [INFO] [stdout] | [INFO] [stdout] 1164 | #[export_name = prefix!(deflateParams)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1164 | #[unsafe(export_name = prefix!(deflateParams))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1199:3 [INFO] [stdout] | [INFO] [stdout] 1199 | #[export_name = prefix!(deflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1199 | #[unsafe(export_name = prefix!(deflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1235:3 [INFO] [stdout] | [INFO] [stdout] 1235 | #[export_name = prefix!(deflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1235 | #[unsafe(export_name = prefix!(deflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1267:3 [INFO] [stdout] | [INFO] [stdout] 1267 | #[export_name = prefix!(deflatePending)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1267 | #[unsafe(export_name = prefix!(deflatePending))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1314:3 [INFO] [stdout] | [INFO] [stdout] 1314 | #[export_name = prefix!(deflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1314 | #[unsafe(export_name = prefix!(deflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1394:3 [INFO] [stdout] | [INFO] [stdout] 1394 | #[export_name = prefix!(deflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1394 | #[unsafe(export_name = prefix!(deflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1484:3 [INFO] [stdout] | [INFO] [stdout] 1484 | #[export_name = prefix!(deflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1484 | #[unsafe(export_name = prefix!(deflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1541:3 [INFO] [stdout] | [INFO] [stdout] 1541 | #[export_name = prefix!(deflateTune)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1541 | #[unsafe(export_name = prefix!(deflateTune))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1593:3 [INFO] [stdout] | [INFO] [stdout] 1593 | #[export_name = prefix!(zError)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1593 | #[unsafe(export_name = prefix!(zError))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1634:3 [INFO] [stdout] | [INFO] [stdout] 1634 | #[export_name = prefix!(zlibVersion)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1634 | #[unsafe(export_name = prefix!(zlibVersion))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | ($name: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] 52 | ($name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | pub unsafe extern "C-unwind" fn inflate(strm: *mut z_stream, flush: i32) -> i32 { [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 `zlib_rs::inflate::inflate` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | zlib_rs::inflate::inflate(stream, flush) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:343:11 [INFO] [stdout] | [INFO] [stdout] 343 | match InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe extern "C-unwind" fn inflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | zlib_rs::inflate::copy(dest, source) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(stream) = InflateStream::from_stream_ref(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | pub unsafe extern "C-unwind" fn inflateMark(strm: *const z_stream) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub unsafe extern "C-unwind" fn inflateSync(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | pub unsafe extern "C-unwind" fn inflateSyncPoint(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | if !is_version_compatible(version, stream_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/lib.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | / pub unsafe extern "C-unwind" fn inflateInit2_( [INFO] [stdout] 606 | | strm: z_streamp, [INFO] [stdout] 607 | | windowBits: c_int, [INFO] [stdout] 608 | | version: *const c_char, [INFO] [stdout] 609 | | stream_size: c_int, [INFO] [stdout] 610 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `inflateInit2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | inflateInit2(strm, windowBits) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub unsafe extern "C-unwind" fn inflatePrime(strm: *mut z_stream, bits: i32, value: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub unsafe extern "C-unwind" fn inflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:720:27 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:719:1 [INFO] [stdout] | [INFO] [stdout] 719 | pub unsafe extern "C-unwind" fn inflateReset2(strm: *mut z_stream, windowBits: c_int) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:763:24 [INFO] [stdout] | [INFO] [stdout] 763 | let Some(stream) = InflateStream::from_stream_mut(strm) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | / pub unsafe extern "C-unwind" fn inflateSetDictionary( [INFO] [stdout] 759 | | strm: *mut z_stream, [INFO] [stdout] 760 | | dictionary: *const u8, [INFO] [stdout] 761 | | dictLength: c_uint, [INFO] [stdout] 762 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:836:1 [INFO] [stdout] | [INFO] [stdout] 836 | pub unsafe extern "C-unwind" fn inflateUndermine(strm: *mut z_stream, subvert: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub unsafe extern "C-unwind" fn inflateResetKeep(strm: *mut z_stream) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | if let Some(stream) = DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | pub unsafe extern "C-unwind" fn deflate(strm: *mut z_stream, flush: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:952:29 [INFO] [stdout] | [INFO] [stdout] 952 | zlib_rs::deflate::bound(DeflateStream::from_stream_mut(strm), sourceLen as usize) as c_ulong [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:951:1 [INFO] [stdout] | [INFO] [stdout] 951 | pub unsafe extern "C-unwind" fn deflateBound(strm: *mut z_stream, sourceLen: c_ulong) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `compress2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1014 | / compress2( [INFO] [stdout] 1015 | | dest, [INFO] [stdout] 1016 | | destLen, [INFO] [stdout] 1017 | | source, [INFO] [stdout] 1018 | | sourceLen, [INFO] [stdout] 1019 | | DeflateConfig::default().level, [INFO] [stdout] 1020 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / pub unsafe extern "C-unwind" fn compress( [INFO] [stdout] 1009 | | dest: *mut Bytef, [INFO] [stdout] 1010 | | destLen: *mut c_ulong, [INFO] [stdout] 1011 | | source: *const Bytef, [INFO] [stdout] 1012 | | sourceLen: c_ulong, [INFO] [stdout] 1013 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1107:11 [INFO] [stdout] | [INFO] [stdout] 1107 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1106:1 [INFO] [stdout] | [INFO] [stdout] 1106 | pub unsafe extern "C-unwind" fn deflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1135:11 [INFO] [stdout] | [INFO] [stdout] 1135 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1134:1 [INFO] [stdout] | [INFO] [stdout] 1134 | pub unsafe extern "C-unwind" fn deflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1174:11 [INFO] [stdout] | [INFO] [stdout] 1174 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1165:1 [INFO] [stdout] | [INFO] [stdout] 1165 | / pub unsafe extern "C-unwind" fn deflateParams( [INFO] [stdout] 1166 | | strm: z_streamp, [INFO] [stdout] 1167 | | level: c_int, [INFO] [stdout] 1168 | | strategy: c_int, [INFO] [stdout] 1169 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1210:11 [INFO] [stdout] | [INFO] [stdout] 1210 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1200:1 [INFO] [stdout] | [INFO] [stdout] 1200 | / pub unsafe extern "C-unwind" fn deflateSetDictionary( [INFO] [stdout] 1201 | | strm: z_streamp, [INFO] [stdout] 1202 | | dictionary: *const Bytef, [INFO] [stdout] 1203 | | dictLength: uInt, [INFO] [stdout] 1204 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1237:11 [INFO] [stdout] | [INFO] [stdout] 1237 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1236:1 [INFO] [stdout] | [INFO] [stdout] 1236 | pub unsafe extern "C-unwind" fn deflatePrime(strm: z_streamp, bits: c_int, value: c_int) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1495 | if !is_version_compatible(version, stream_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/lib.rs:1485:1 [INFO] [stdout] | [INFO] [stdout] 1485 | / pub unsafe extern "C-unwind" fn deflateInit2_( [INFO] [stdout] 1486 | | strm: z_streamp, [INFO] [stdout] 1487 | | level: c_int, [INFO] [stdout] 1488 | | method: c_int, [INFO] [stdout] ... | [INFO] [stdout] 1493 | | stream_size: c_int, [INFO] [stdout] 1494 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking libz-rs-sys v0.3.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[export_name = prefix!(crc32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 98 | #[unsafe(export_name = prefix!(crc32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[export_name = prefix!(crc32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 98 | #[unsafe(export_name = prefix!(crc32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[export_name = prefix!(crc32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(export_name = prefix!(crc32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[export_name = prefix!(crc32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(export_name = prefix!(crc32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | #[export_name = prefix!(adler32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 163 | #[unsafe(export_name = prefix!(adler32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | #[export_name = prefix!(adler32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 198 | #[unsafe(export_name = prefix!(adler32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | #[export_name = prefix!(adler32)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 163 | #[unsafe(export_name = prefix!(adler32))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | #[export_name = prefix!(uncompress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 268 | #[unsafe(export_name = prefix!(uncompress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | #[export_name = prefix!(adler32_combine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 198 | #[unsafe(export_name = prefix!(adler32_combine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 317 | #[export_name = prefix!(inflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 317 | #[unsafe(export_name = prefix!(inflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | #[export_name = prefix!(uncompress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 268 | #[unsafe(export_name = prefix!(uncompress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:341:3 [INFO] [stdout] | [INFO] [stdout] 341 | #[export_name = prefix!(inflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 341 | #[unsafe(export_name = prefix!(inflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | #[export_name = prefix!(inflateBackInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 375 | #[unsafe(export_name = prefix!(inflateBackInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 317 | #[export_name = prefix!(inflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 317 | #[unsafe(export_name = prefix!(inflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:395:3 [INFO] [stdout] | [INFO] [stdout] 395 | #[export_name = prefix!(inflateBack)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 395 | #[unsafe(export_name = prefix!(inflateBack))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:341:3 [INFO] [stdout] | [INFO] [stdout] 341 | #[export_name = prefix!(inflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 341 | #[unsafe(export_name = prefix!(inflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:422:3 [INFO] [stdout] | [INFO] [stdout] 422 | #[export_name = prefix!(inflateBackEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 422 | #[unsafe(export_name = prefix!(inflateBackEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | #[export_name = prefix!(inflateBackInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 375 | #[unsafe(export_name = prefix!(inflateBackInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:451:3 [INFO] [stdout] | [INFO] [stdout] 451 | #[export_name = prefix!(inflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 451 | #[unsafe(export_name = prefix!(inflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:395:3 [INFO] [stdout] | [INFO] [stdout] 395 | #[export_name = prefix!(inflateBack)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 395 | #[unsafe(export_name = prefix!(inflateBack))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:486:3 [INFO] [stdout] | [INFO] [stdout] 486 | #[export_name = prefix!(inflateMark)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 486 | #[unsafe(export_name = prefix!(inflateMark))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:422:3 [INFO] [stdout] | [INFO] [stdout] 422 | #[export_name = prefix!(inflateBackEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 422 | #[unsafe(export_name = prefix!(inflateBackEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 520 | #[export_name = prefix!(inflateSync)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 520 | #[unsafe(export_name = prefix!(inflateSync))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:451:3 [INFO] [stdout] | [INFO] [stdout] 451 | #[export_name = prefix!(inflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 451 | #[unsafe(export_name = prefix!(inflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:537:3 [INFO] [stdout] | [INFO] [stdout] 537 | #[export_name = prefix!(inflateSyncPoint)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 537 | #[unsafe(export_name = prefix!(inflateSyncPoint))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:486:3 [INFO] [stdout] | [INFO] [stdout] 486 | #[export_name = prefix!(inflateMark)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 486 | #[unsafe(export_name = prefix!(inflateMark))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 520 | #[export_name = prefix!(inflateSync)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 520 | #[unsafe(export_name = prefix!(inflateSync))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:571:3 [INFO] [stdout] | [INFO] [stdout] 571 | #[export_name = prefix!(inflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 571 | #[unsafe(export_name = prefix!(inflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:537:3 [INFO] [stdout] | [INFO] [stdout] 537 | #[export_name = prefix!(inflateSyncPoint)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 537 | #[unsafe(export_name = prefix!(inflateSyncPoint))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:604:3 [INFO] [stdout] | [INFO] [stdout] 604 | #[export_name = prefix!(inflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 604 | #[unsafe(export_name = prefix!(inflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:665:3 [INFO] [stdout] | [INFO] [stdout] 665 | #[export_name = prefix!(inflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 665 | #[unsafe(export_name = prefix!(inflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:571:3 [INFO] [stdout] | [INFO] [stdout] 571 | #[export_name = prefix!(inflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 571 | #[unsafe(export_name = prefix!(inflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:604:3 [INFO] [stdout] | [INFO] [stdout] 604 | #[export_name = prefix!(inflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 604 | #[unsafe(export_name = prefix!(inflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:665:3 [INFO] [stdout] | [INFO] [stdout] 665 | #[export_name = prefix!(inflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 665 | #[unsafe(export_name = prefix!(inflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | #[export_name = prefix!(inflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 691 | #[unsafe(export_name = prefix!(inflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | #[export_name = prefix!(inflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 691 | #[unsafe(export_name = prefix!(inflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:718:3 [INFO] [stdout] | [INFO] [stdout] 718 | #[export_name = prefix!(inflateReset2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 718 | #[unsafe(export_name = prefix!(inflateReset2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | #[export_name = prefix!(inflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 757 | #[unsafe(export_name = prefix!(inflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:718:3 [INFO] [stdout] | [INFO] [stdout] 718 | #[export_name = prefix!(inflateReset2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 718 | #[unsafe(export_name = prefix!(inflateReset2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:815:3 [INFO] [stdout] | [INFO] [stdout] 815 | #[export_name = prefix!(inflateGetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 815 | #[unsafe(export_name = prefix!(inflateGetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:835:3 [INFO] [stdout] | [INFO] [stdout] 835 | #[export_name = prefix!(inflateUndermine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 835 | #[unsafe(export_name = prefix!(inflateUndermine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | #[export_name = prefix!(inflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 757 | #[unsafe(export_name = prefix!(inflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:850:3 [INFO] [stdout] | [INFO] [stdout] 850 | #[export_name = prefix!(inflateResetKeep)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 850 | #[unsafe(export_name = prefix!(inflateResetKeep))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:815:3 [INFO] [stdout] | [INFO] [stdout] 815 | #[export_name = prefix!(inflateGetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 815 | #[unsafe(export_name = prefix!(inflateGetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:869:3 [INFO] [stdout] | [INFO] [stdout] 869 | #[export_name = prefix!(inflateCodesUsed)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 869 | #[unsafe(export_name = prefix!(inflateCodesUsed))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:835:3 [INFO] [stdout] | [INFO] [stdout] 835 | #[export_name = prefix!(inflateUndermine)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 835 | #[unsafe(export_name = prefix!(inflateUndermine))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:890:3 [INFO] [stdout] | [INFO] [stdout] 890 | #[export_name = prefix!(deflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 890 | #[unsafe(export_name = prefix!(deflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | #[export_name = prefix!(deflateSetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 924 | #[unsafe(export_name = prefix!(deflateSetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:850:3 [INFO] [stdout] | [INFO] [stdout] 850 | #[export_name = prefix!(inflateResetKeep)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 850 | #[unsafe(export_name = prefix!(inflateResetKeep))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:950:3 [INFO] [stdout] | [INFO] [stdout] 950 | #[export_name = prefix!(deflateBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 950 | #[unsafe(export_name = prefix!(deflateBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1007:3 [INFO] [stdout] | [INFO] [stdout] 1007 | #[export_name = prefix!(compress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1007 | #[unsafe(export_name = prefix!(compress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1050:3 [INFO] [stdout] | [INFO] [stdout] 1050 | #[export_name = prefix!(compress2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1050 | #[unsafe(export_name = prefix!(compress2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:869:3 [INFO] [stdout] | [INFO] [stdout] 869 | #[export_name = prefix!(inflateCodesUsed)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 869 | #[unsafe(export_name = prefix!(inflateCodesUsed))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1083:3 [INFO] [stdout] | [INFO] [stdout] 1083 | #[export_name = prefix!(compressBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1083 | #[unsafe(export_name = prefix!(compressBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:890:3 [INFO] [stdout] | [INFO] [stdout] 890 | #[export_name = prefix!(deflate)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 890 | #[unsafe(export_name = prefix!(deflate))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1105:3 [INFO] [stdout] | [INFO] [stdout] 1105 | #[export_name = prefix!(deflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1105 | #[unsafe(export_name = prefix!(deflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | #[export_name = prefix!(deflateSetHeader)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 924 | #[unsafe(export_name = prefix!(deflateSetHeader))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1133:3 [INFO] [stdout] | [INFO] [stdout] 1133 | #[export_name = prefix!(deflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1133 | #[unsafe(export_name = prefix!(deflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1164:3 [INFO] [stdout] | [INFO] [stdout] 1164 | #[export_name = prefix!(deflateParams)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1164 | #[unsafe(export_name = prefix!(deflateParams))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:950:3 [INFO] [stdout] | [INFO] [stdout] 950 | #[export_name = prefix!(deflateBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 950 | #[unsafe(export_name = prefix!(deflateBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1199:3 [INFO] [stdout] | [INFO] [stdout] 1199 | #[export_name = prefix!(deflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1199 | #[unsafe(export_name = prefix!(deflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1007:3 [INFO] [stdout] | [INFO] [stdout] 1007 | #[export_name = prefix!(compress)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1007 | #[unsafe(export_name = prefix!(compress))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1235:3 [INFO] [stdout] | [INFO] [stdout] 1235 | #[export_name = prefix!(deflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1235 | #[unsafe(export_name = prefix!(deflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1267:3 [INFO] [stdout] | [INFO] [stdout] 1267 | #[export_name = prefix!(deflatePending)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1267 | #[unsafe(export_name = prefix!(deflatePending))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1050:3 [INFO] [stdout] | [INFO] [stdout] 1050 | #[export_name = prefix!(compress2)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1050 | #[unsafe(export_name = prefix!(compress2))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1314:3 [INFO] [stdout] | [INFO] [stdout] 1314 | #[export_name = prefix!(deflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1314 | #[unsafe(export_name = prefix!(deflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1083:3 [INFO] [stdout] | [INFO] [stdout] 1083 | #[export_name = prefix!(compressBound)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1083 | #[unsafe(export_name = prefix!(compressBound))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1394:3 [INFO] [stdout] | [INFO] [stdout] 1394 | #[export_name = prefix!(deflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1394 | #[unsafe(export_name = prefix!(deflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1105:3 [INFO] [stdout] | [INFO] [stdout] 1105 | #[export_name = prefix!(deflateEnd)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1105 | #[unsafe(export_name = prefix!(deflateEnd))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1484:3 [INFO] [stdout] | [INFO] [stdout] 1484 | #[export_name = prefix!(deflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1484 | #[unsafe(export_name = prefix!(deflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1133:3 [INFO] [stdout] | [INFO] [stdout] 1133 | #[export_name = prefix!(deflateReset)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1133 | #[unsafe(export_name = prefix!(deflateReset))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1541:3 [INFO] [stdout] | [INFO] [stdout] 1541 | #[export_name = prefix!(deflateTune)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1541 | #[unsafe(export_name = prefix!(deflateTune))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1593:3 [INFO] [stdout] | [INFO] [stdout] 1593 | #[export_name = prefix!(zError)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1593 | #[unsafe(export_name = prefix!(zError))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1164:3 [INFO] [stdout] | [INFO] [stdout] 1164 | #[export_name = prefix!(deflateParams)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1164 | #[unsafe(export_name = prefix!(deflateParams))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1199:3 [INFO] [stdout] | [INFO] [stdout] 1199 | #[export_name = prefix!(deflateSetDictionary)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1199 | #[unsafe(export_name = prefix!(deflateSetDictionary))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1235:3 [INFO] [stdout] | [INFO] [stdout] 1235 | #[export_name = prefix!(deflatePrime)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1235 | #[unsafe(export_name = prefix!(deflatePrime))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1267:3 [INFO] [stdout] | [INFO] [stdout] 1267 | #[export_name = prefix!(deflatePending)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1267 | #[unsafe(export_name = prefix!(deflatePending))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1314:3 [INFO] [stdout] | [INFO] [stdout] 1314 | #[export_name = prefix!(deflateCopy)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1314 | #[unsafe(export_name = prefix!(deflateCopy))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1394:3 [INFO] [stdout] | [INFO] [stdout] 1394 | #[export_name = prefix!(deflateInit_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1394 | #[unsafe(export_name = prefix!(deflateInit_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1484:3 [INFO] [stdout] | [INFO] [stdout] 1484 | #[export_name = prefix!(deflateInit2_)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1484 | #[unsafe(export_name = prefix!(deflateInit2_))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1541:3 [INFO] [stdout] | [INFO] [stdout] 1541 | #[export_name = prefix!(deflateTune)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1541 | #[unsafe(export_name = prefix!(deflateTune))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1593:3 [INFO] [stdout] | [INFO] [stdout] 1593 | #[export_name = prefix!(zError)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1593 | #[unsafe(export_name = prefix!(zError))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1634:3 [INFO] [stdout] | [INFO] [stdout] 1634 | #[export_name = prefix!(zlibVersion)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1634 | #[unsafe(export_name = prefix!(zlibVersion))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1634:3 [INFO] [stdout] | [INFO] [stdout] 1634 | #[export_name = prefix!(zlibVersion)] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1634 | #[unsafe(export_name = prefix!(zlibVersion))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | pub unsafe extern "C-unwind" fn inflate(strm: *mut z_stream, flush: i32) -> i32 { [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 `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | pub unsafe extern "C-unwind" fn inflate(strm: *mut z_stream, flush: i32) -> i32 { [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 `zlib_rs::inflate::inflate` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | zlib_rs::inflate::inflate(stream, flush) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::inflate` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | zlib_rs::inflate::inflate(stream, flush) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:343:11 [INFO] [stdout] | [INFO] [stdout] 343 | match InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe extern "C-unwind" fn inflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:343:11 [INFO] [stdout] | [INFO] [stdout] 343 | match InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe extern "C-unwind" fn inflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | zlib_rs::inflate::copy(dest, source) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | zlib_rs::inflate::copy(dest, source) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 452 | pub unsafe extern "C-unwind" fn inflateCopy(dest: *mut z_stream, source: *const z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(stream) = InflateStream::from_stream_ref(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | pub unsafe extern "C-unwind" fn inflateMark(strm: *const z_stream) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(stream) = InflateStream::from_stream_ref(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 487 | pub unsafe extern "C-unwind" fn inflateMark(strm: *const z_stream) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub unsafe extern "C-unwind" fn inflateSync(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub unsafe extern "C-unwind" fn inflateSync(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | pub unsafe extern "C-unwind" fn inflateSyncPoint(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | pub unsafe extern "C-unwind" fn inflateSyncPoint(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | if !is_version_compatible(version, stream_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/lib.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | / pub unsafe extern "C-unwind" fn inflateInit2_( [INFO] [stdout] 606 | | strm: z_streamp, [INFO] [stdout] 607 | | windowBits: c_int, [INFO] [stdout] 608 | | version: *const c_char, [INFO] [stdout] 609 | | stream_size: c_int, [INFO] [stdout] 610 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | if !is_version_compatible(version, stream_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/lib.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | / pub unsafe extern "C-unwind" fn inflateInit2_( [INFO] [stdout] 606 | | strm: z_streamp, [INFO] [stdout] 607 | | windowBits: c_int, [INFO] [stdout] 608 | | version: *const c_char, [INFO] [stdout] 609 | | stream_size: c_int, [INFO] [stdout] 610 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `inflateInit2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | inflateInit2(strm, windowBits) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `inflateInit2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | inflateInit2(strm, windowBits) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub unsafe extern "C-unwind" fn inflatePrime(strm: *mut z_stream, bits: i32, value: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub unsafe extern "C-unwind" fn inflatePrime(strm: *mut z_stream, bits: i32, value: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub unsafe extern "C-unwind" fn inflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:720:27 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:719:1 [INFO] [stdout] | [INFO] [stdout] 719 | pub unsafe extern "C-unwind" fn inflateReset2(strm: *mut z_stream, windowBits: c_int) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | pub unsafe extern "C-unwind" fn inflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:720:27 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:719:1 [INFO] [stdout] | [INFO] [stdout] 719 | pub unsafe extern "C-unwind" fn inflateReset2(strm: *mut z_stream, windowBits: c_int) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:763:24 [INFO] [stdout] | [INFO] [stdout] 763 | let Some(stream) = InflateStream::from_stream_mut(strm) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | / pub unsafe extern "C-unwind" fn inflateSetDictionary( [INFO] [stdout] 759 | | strm: *mut z_stream, [INFO] [stdout] 760 | | dictionary: *const u8, [INFO] [stdout] 761 | | dictLength: c_uint, [INFO] [stdout] 762 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:763:24 [INFO] [stdout] | [INFO] [stdout] 763 | let Some(stream) = InflateStream::from_stream_mut(strm) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | / pub unsafe extern "C-unwind" fn inflateSetDictionary( [INFO] [stdout] 759 | | strm: *mut z_stream, [INFO] [stdout] 760 | | dictionary: *const u8, [INFO] [stdout] 761 | | dictLength: c_uint, [INFO] [stdout] 762 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:836:1 [INFO] [stdout] | [INFO] [stdout] 836 | pub unsafe extern "C-unwind" fn inflateUndermine(strm: *mut z_stream, subvert: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub unsafe extern "C-unwind" fn inflateResetKeep(strm: *mut z_stream) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:836:1 [INFO] [stdout] | [INFO] [stdout] 836 | pub unsafe extern "C-unwind" fn inflateUndermine(strm: *mut z_stream, subvert: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | if let Some(stream) = DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | pub unsafe extern "C-unwind" fn deflate(strm: *mut z_stream, flush: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::inflate::InflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | if let Some(stream) = InflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub unsafe extern "C-unwind" fn inflateResetKeep(strm: *mut z_stream) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | if let Some(stream) = DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | pub unsafe extern "C-unwind" fn deflate(strm: *mut z_stream, flush: i32) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:952:29 [INFO] [stdout] | [INFO] [stdout] 952 | zlib_rs::deflate::bound(DeflateStream::from_stream_mut(strm), sourceLen as usize) as c_ulong [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:951:1 [INFO] [stdout] | [INFO] [stdout] 951 | pub unsafe extern "C-unwind" fn deflateBound(strm: *mut z_stream, sourceLen: c_ulong) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:952:29 [INFO] [stdout] | [INFO] [stdout] 952 | zlib_rs::deflate::bound(DeflateStream::from_stream_mut(strm), sourceLen as usize) as c_ulong [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:951:1 [INFO] [stdout] | [INFO] [stdout] 951 | pub unsafe extern "C-unwind" fn deflateBound(strm: *mut z_stream, sourceLen: c_ulong) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `compress2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1014 | / compress2( [INFO] [stdout] 1015 | | dest, [INFO] [stdout] 1016 | | destLen, [INFO] [stdout] 1017 | | source, [INFO] [stdout] 1018 | | sourceLen, [INFO] [stdout] 1019 | | DeflateConfig::default().level, [INFO] [stdout] 1020 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / pub unsafe extern "C-unwind" fn compress( [INFO] [stdout] 1009 | | dest: *mut Bytef, [INFO] [stdout] 1010 | | destLen: *mut c_ulong, [INFO] [stdout] 1011 | | source: *const Bytef, [INFO] [stdout] 1012 | | sourceLen: c_ulong, [INFO] [stdout] 1013 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `compress2` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1014 | / compress2( [INFO] [stdout] 1015 | | dest, [INFO] [stdout] 1016 | | destLen, [INFO] [stdout] 1017 | | source, [INFO] [stdout] 1018 | | sourceLen, [INFO] [stdout] 1019 | | DeflateConfig::default().level, [INFO] [stdout] 1020 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / pub unsafe extern "C-unwind" fn compress( [INFO] [stdout] 1009 | | dest: *mut Bytef, [INFO] [stdout] 1010 | | destLen: *mut c_ulong, [INFO] [stdout] 1011 | | source: *const Bytef, [INFO] [stdout] 1012 | | sourceLen: c_ulong, [INFO] [stdout] 1013 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1107:11 [INFO] [stdout] | [INFO] [stdout] 1107 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1106:1 [INFO] [stdout] | [INFO] [stdout] 1106 | pub unsafe extern "C-unwind" fn deflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1107:11 [INFO] [stdout] | [INFO] [stdout] 1107 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1106:1 [INFO] [stdout] | [INFO] [stdout] 1106 | pub unsafe extern "C-unwind" fn deflateEnd(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1135:11 [INFO] [stdout] | [INFO] [stdout] 1135 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1134:1 [INFO] [stdout] | [INFO] [stdout] 1134 | pub unsafe extern "C-unwind" fn deflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1135:11 [INFO] [stdout] | [INFO] [stdout] 1135 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1134:1 [INFO] [stdout] | [INFO] [stdout] 1134 | pub unsafe extern "C-unwind" fn deflateReset(strm: *mut z_stream) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1174:11 [INFO] [stdout] | [INFO] [stdout] 1174 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1165:1 [INFO] [stdout] | [INFO] [stdout] 1165 | / pub unsafe extern "C-unwind" fn deflateParams( [INFO] [stdout] 1166 | | strm: z_streamp, [INFO] [stdout] 1167 | | level: c_int, [INFO] [stdout] 1168 | | strategy: c_int, [INFO] [stdout] 1169 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1174:11 [INFO] [stdout] | [INFO] [stdout] 1174 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1165:1 [INFO] [stdout] | [INFO] [stdout] 1165 | / pub unsafe extern "C-unwind" fn deflateParams( [INFO] [stdout] 1166 | | strm: z_streamp, [INFO] [stdout] 1167 | | level: c_int, [INFO] [stdout] 1168 | | strategy: c_int, [INFO] [stdout] 1169 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1210:11 [INFO] [stdout] | [INFO] [stdout] 1210 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1200:1 [INFO] [stdout] | [INFO] [stdout] 1200 | / pub unsafe extern "C-unwind" fn deflateSetDictionary( [INFO] [stdout] 1201 | | strm: z_streamp, [INFO] [stdout] 1202 | | dictionary: *const Bytef, [INFO] [stdout] 1203 | | dictLength: uInt, [INFO] [stdout] 1204 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1210:11 [INFO] [stdout] | [INFO] [stdout] 1210 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1200:1 [INFO] [stdout] | [INFO] [stdout] 1200 | / pub unsafe extern "C-unwind" fn deflateSetDictionary( [INFO] [stdout] 1201 | | strm: z_streamp, [INFO] [stdout] 1202 | | dictionary: *const Bytef, [INFO] [stdout] 1203 | | dictLength: uInt, [INFO] [stdout] 1204 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1237:11 [INFO] [stdout] | [INFO] [stdout] 1237 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1236:1 [INFO] [stdout] | [INFO] [stdout] 1236 | pub unsafe extern "C-unwind" fn deflatePrime(strm: z_streamp, bits: c_int, value: c_int) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zlib_rs::deflate::DeflateStream::<'a>::from_stream_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1237:11 [INFO] [stdout] | [INFO] [stdout] 1237 | match DeflateStream::from_stream_mut(strm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/lib.rs:1236:1 [INFO] [stdout] | [INFO] [stdout] 1236 | pub unsafe extern "C-unwind" fn deflatePrime(strm: z_streamp, bits: c_int, value: c_int) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1495 | if !is_version_compatible(version, stream_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/lib.rs:1485:1 [INFO] [stdout] | [INFO] [stdout] 1485 | / pub unsafe extern "C-unwind" fn deflateInit2_( [INFO] [stdout] 1486 | | strm: z_streamp, [INFO] [stdout] 1487 | | level: c_int, [INFO] [stdout] 1488 | | method: c_int, [INFO] [stdout] ... | [INFO] [stdout] 1493 | | stream_size: c_int, [INFO] [stdout] 1494 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `is_version_compatible` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1495 | if !is_version_compatible(version, stream_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/lib.rs:1485:1 [INFO] [stdout] | [INFO] [stdout] 1485 | / pub unsafe extern "C-unwind" fn deflateInit2_( [INFO] [stdout] 1486 | | strm: z_streamp, [INFO] [stdout] 1487 | | level: c_int, [INFO] [stdout] 1488 | | method: c_int, [INFO] [stdout] ... | [INFO] [stdout] 1493 | | stream_size: c_int, [INFO] [stdout] 1494 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors; 24 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 `libz-rs-sys` (lib test) due to 43 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libz-rs-sys` (lib) due to 43 previous errors; 24 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" "07e7fef80d5f48f0292da1f0955be71a249cd0fbbad03ba26a21a5a676936d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e7fef80d5f48f0292da1f0955be71a249cd0fbbad03ba26a21a5a676936d5e", kill_on_drop: false }` [INFO] [stdout] 07e7fef80d5f48f0292da1f0955be71a249cd0fbbad03ba26a21a5a676936d5e