[INFO] fetching crate oozle 0.1.5... [INFO] checking oozle-0.1.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate oozle 0.1.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate oozle 0.1.5 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 oozle 0.1.5 [INFO] finished tweaking crates.io crate oozle 0.1.5 [INFO] tweaked toml for crates.io crate oozle 0.1.5 written to /workspace/builds/worker-5-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 29 packages to latest compatible versions [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 45730591a25b09bfb03212c7f3a94209ba13d043d9dae6f52163a2316f03be86 [INFO] running `Command { std: "docker" "start" "-a" "45730591a25b09bfb03212c7f3a94209ba13d043d9dae6f52163a2316f03be86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45730591a25b09bfb03212c7f3a94209ba13d043d9dae6f52163a2316f03be86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45730591a25b09bfb03212c7f3a94209ba13d043d9dae6f52163a2316f03be86", kill_on_drop: false }` [INFO] [stdout] 45730591a25b09bfb03212c7f3a94209ba13d043d9dae6f52163a2316f03be86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d5b14ce4d6efd48ce84f1baed6c2b6980354a5dc1b5b40d031ebce4754f012bd [INFO] running `Command { std: "docker" "start" "-a" "d5b14ce4d6efd48ce84f1baed6c2b6980354a5dc1b5b40d031ebce4754f012bd", 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] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cxxbridge-flags v1.0.128 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.128 [INFO] [stderr] Compiling cxx-build v1.0.128 [INFO] [stderr] Compiling cxxbridge-macro v1.0.128 [INFO] [stderr] Compiling oozle v0.1.5 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `oozle` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/decoder/decoder.rs [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: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/lib.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 9 | extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState)unsafe ; [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 62 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/lib.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState)unsafe ; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::ffi` [INFO] [stderr] --> src/decoder/decoder.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::ffi; [INFO] [stderr] | ^^^^^^^^^^ no `ffi` in the root [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 4 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 4 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 4 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn BitknitState_Init(bk: *mut BitknitState); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> usize; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Kraken_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | DecoderType::Kraken => ffi::Kraken_DecodeQuantum( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 165 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 166 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 167 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 173 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decoder/decoder.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub unsafe fn decode_step( [INFO] [stdout] 34 | | &mut self, [INFO] [stdout] 35 | | output: &mut [u8], [INFO] [stdout] 36 | | output_offset: usize, [INFO] [stdout] 37 | | input: &[u8], [INFO] [stdout] 38 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | / input [INFO] [stdout] 170 | | .as_ptr() [INFO] [stdout] 171 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Mermaid_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | DecoderType::Mermaid => ffi::Mermaid_DecodeQuantum( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 176 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 177 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 178 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 184 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | / input [INFO] [stdout] 181 | | .as_ptr() [INFO] [stdout] 182 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Leviathan_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | DecoderType::Leviathan => ffi::Leviathan_DecodeQuantum( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 187 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 188 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 189 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 195 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 196 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / input [INFO] [stdout] 192 | | .as_ptr() [INFO] [stdout] 193 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_InitLookup` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | ffi::LZNA_InitLookup(self.scratch.as_mut_ptr() as *mut ffi::LznaState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | / ffi::LZNA_DecodeQuantum( [INFO] [stdout] 203 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 204 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 205 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 210 | | self.scratch.as_mut_ptr() as *mut ffi::LznaState, [INFO] [stdout] 211 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | / input [INFO] [stdout] 208 | | .as_ptr() [INFO] [stdout] 209 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::BitknitState_Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | ffi::BitknitState_Init(self.scratch.as_mut_ptr() as *mut ffi::BitknitState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Bitknit_Decode` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | / ffi::Bitknit_Decode( [INFO] [stdout] 219 | | input.as_ptr().add(input_offset), [INFO] [stdout] 220 | | input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] ... | [INFO] [stdout] 226 | | self.scratch.as_mut_ptr() as *mut ffi::BitknitState, [INFO] [stdout] 227 | | ) as i32 [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | / input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] 222 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `decoder::decoder::Decoder::decode_step` is unsafe and requires unsafe block [INFO] [stdout] --> src/decompress.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | decoder.decode_step(output, output_offset, &input[input_offset..])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decompress.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub unsafe fn decompress(input: &[u8], output: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 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 `oozle` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/decoder/decoder.rs [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: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/lib.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 9 | extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState)unsafe ; [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 62 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/lib.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState)unsafe ; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::ffi` [INFO] [stderr] --> src/decoder/decoder.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::ffi; [INFO] [stderr] | ^^^^^^^^^^ no `ffi` in the root [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 4 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 4 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 4 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn BitknitState_Init(bk: *mut BitknitState); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> usize; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Kraken_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | DecoderType::Kraken => ffi::Kraken_DecodeQuantum( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 165 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 166 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 167 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 173 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decoder/decoder.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub unsafe fn decode_step( [INFO] [stdout] 34 | | &mut self, [INFO] [stdout] 35 | | output: &mut [u8], [INFO] [stdout] 36 | | output_offset: usize, [INFO] [stdout] 37 | | input: &[u8], [INFO] [stdout] 38 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | / input [INFO] [stdout] 170 | | .as_ptr() [INFO] [stdout] 171 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Mermaid_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | DecoderType::Mermaid => ffi::Mermaid_DecodeQuantum( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 176 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 177 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 178 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 184 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | / input [INFO] [stdout] 181 | | .as_ptr() [INFO] [stdout] 182 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Leviathan_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | DecoderType::Leviathan => ffi::Leviathan_DecodeQuantum( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 187 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 188 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 189 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 195 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 196 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / input [INFO] [stdout] 192 | | .as_ptr() [INFO] [stdout] 193 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_InitLookup` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | ffi::LZNA_InitLookup(self.scratch.as_mut_ptr() as *mut ffi::LznaState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | / ffi::LZNA_DecodeQuantum( [INFO] [stdout] 203 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 204 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 205 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 210 | | self.scratch.as_mut_ptr() as *mut ffi::LznaState, [INFO] [stdout] 211 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | / input [INFO] [stdout] 208 | | .as_ptr() [INFO] [stdout] 209 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::BitknitState_Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | ffi::BitknitState_Init(self.scratch.as_mut_ptr() as *mut ffi::BitknitState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Bitknit_Decode` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | / ffi::Bitknit_Decode( [INFO] [stdout] 219 | | input.as_ptr().add(input_offset), [INFO] [stdout] 220 | | input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] ... | [INFO] [stdout] 226 | | self.scratch.as_mut_ptr() as *mut ffi::BitknitState, [INFO] [stdout] 227 | | ) as i32 [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | / input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] 222 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `decoder::decoder::Decoder::decode_step` is unsafe and requires unsafe block [INFO] [stdout] --> src/decompress.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | decoder.decode_step(output, output_offset, &input[input_offset..])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decompress.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub unsafe fn decompress(input: &[u8], output: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 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 12.39s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling oozle v0.1.5 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe fn LZNA_InitLookup(lut: *mut LznaState); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn BitknitState_Init(bk: *mut BitknitState); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> i32; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> usize; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn BitknitState_Init(bk: *mut BitknitState); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> usize; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Kraken_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | DecoderType::Kraken => ffi::Kraken_DecodeQuantum( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 165 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 166 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 167 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 173 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decoder/decoder.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub unsafe fn decode_step( [INFO] [stdout] 34 | | &mut self, [INFO] [stdout] 35 | | output: &mut [u8], [INFO] [stdout] 36 | | output_offset: usize, [INFO] [stdout] 37 | | input: &[u8], [INFO] [stdout] 38 | | ) -> Result<()> { [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 `ffi::Kraken_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | DecoderType::Kraken => ffi::Kraken_DecodeQuantum( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 165 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 166 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 167 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 173 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decoder/decoder.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub unsafe fn decode_step( [INFO] [stdout] 34 | | &mut self, [INFO] [stdout] 35 | | output: &mut [u8], [INFO] [stdout] 36 | | output_offset: usize, [INFO] [stdout] 37 | | input: &[u8], [INFO] [stdout] 38 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | / input [INFO] [stdout] 170 | | .as_ptr() [INFO] [stdout] 171 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Mermaid_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | DecoderType::Mermaid => ffi::Mermaid_DecodeQuantum( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 176 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 177 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 178 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 184 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | / input [INFO] [stdout] 181 | | .as_ptr() [INFO] [stdout] 182 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Leviathan_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | DecoderType::Leviathan => ffi::Leviathan_DecodeQuantum( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 187 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 188 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 189 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 195 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 196 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / input [INFO] [stdout] 192 | | .as_ptr() [INFO] [stdout] 193 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_InitLookup` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | ffi::LZNA_InitLookup(self.scratch.as_mut_ptr() as *mut ffi::LznaState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | / ffi::LZNA_DecodeQuantum( [INFO] [stdout] 203 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 204 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 205 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 210 | | self.scratch.as_mut_ptr() as *mut ffi::LznaState, [INFO] [stdout] 211 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | / input [INFO] [stdout] 170 | | .as_ptr() [INFO] [stdout] 171 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | / input [INFO] [stdout] 208 | | .as_ptr() [INFO] [stdout] 209 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Mermaid_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | DecoderType::Mermaid => ffi::Mermaid_DecodeQuantum( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 176 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 177 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 178 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 184 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 185 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::BitknitState_Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | ffi::BitknitState_Init(self.scratch.as_mut_ptr() as *mut ffi::BitknitState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Bitknit_Decode` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | / ffi::Bitknit_Decode( [INFO] [stdout] 219 | | input.as_ptr().add(input_offset), [INFO] [stdout] 220 | | input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] ... | [INFO] [stdout] 226 | | self.scratch.as_mut_ptr() as *mut ffi::BitknitState, [INFO] [stdout] 227 | | ) as i32 [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | / input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] 222 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | / input [INFO] [stdout] 181 | | .as_ptr() [INFO] [stdout] 182 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Leviathan_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | DecoderType::Leviathan => ffi::Leviathan_DecodeQuantum( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 187 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 188 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 189 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 195 | | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] 196 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / input [INFO] [stdout] 192 | | .as_ptr() [INFO] [stdout] 193 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | self.scratch.as_mut_ptr().add(self.scratch.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_InitLookup` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | ffi::LZNA_InitLookup(self.scratch.as_mut_ptr() as *mut ffi::LznaState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::LZNA_DecodeQuantum` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | / ffi::LZNA_DecodeQuantum( [INFO] [stdout] 203 | | output.as_mut_ptr().add(output_offset), [INFO] [stdout] 204 | | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] 205 | | output.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 210 | | self.scratch.as_mut_ptr() as *mut ffi::LznaState, [INFO] [stdout] 211 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | / input [INFO] [stdout] 208 | | .as_ptr() [INFO] [stdout] 209 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::BitknitState_Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | ffi::BitknitState_Init(self.scratch.as_mut_ptr() as *mut ffi::BitknitState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::Bitknit_Decode` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | / ffi::Bitknit_Decode( [INFO] [stdout] 219 | | input.as_ptr().add(input_offset), [INFO] [stdout] 220 | | input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] ... | [INFO] [stdout] 226 | | self.scratch.as_mut_ptr() as *mut ffi::BitknitState, [INFO] [stdout] 227 | | ) as i32 [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | input.as_ptr().add(input_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | / input [INFO] [stdout] 221 | | .as_ptr() [INFO] [stdout] 222 | | .add(input_offset + self.quantum_header.compressed_size as usize), [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | output.as_mut_ptr().add(output_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/decoder/decoder.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | output.as_mut_ptr().add(output_offset + output_len), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `decoder::decoder::Decoder::decode_step` is unsafe and requires unsafe block [INFO] [stdout] --> src/decompress.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | decoder.decode_step(output, output_offset, &input[input_offset..])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decompress.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub unsafe fn decompress(input: &[u8], output: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `decoder::decoder::Decoder::decode_step` is unsafe and requires unsafe block [INFO] [stdout] --> src/decompress.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | decoder.decode_step(output, output_offset, &input[input_offset..])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/decompress.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub unsafe fn decompress(input: &[u8], output: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 31 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 7 previous errors; 31 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 `oozle` (lib test) due to 8 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `oozle` (lib) due to 8 previous errors; 31 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" "d5b14ce4d6efd48ce84f1baed6c2b6980354a5dc1b5b40d031ebce4754f012bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b14ce4d6efd48ce84f1baed6c2b6980354a5dc1b5b40d031ebce4754f012bd", kill_on_drop: false }` [INFO] [stdout] d5b14ce4d6efd48ce84f1baed6c2b6980354a5dc1b5b40d031ebce4754f012bd