[INFO] cloning repository https://github.com/404Setup/RecastXZ
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/404Setup/RecastXZ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F404Setup%2FRecastXZ", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F404Setup%2FRecastXZ'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d450b44617ec1ec335d21cdead0693c8fe8b661
[INFO] checking 404Setup/RecastXZ against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F404Setup%2FRecastXZ" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/404Setup/RecastXZ
[INFO] finished tweaking git repo https://github.com/404Setup/RecastXZ
[INFO] tweaked toml for git repo https://github.com/404Setup/RecastXZ written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/404Setup/RecastXZ on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/404Setup/RecastXZ already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libdeflater v1.25.0
[INFO] [stderr]   Downloaded libdeflate-sys v1.25.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0dfea62b69c68bc371d274f8a2f71b727eb4171ff1ec9af5932c443f9e37972d
[INFO] running `Command { std: "docker" "start" "-a" "0dfea62b69c68bc371d274f8a2f71b727eb4171ff1ec9af5932c443f9e37972d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dfea62b69c68bc371d274f8a2f71b727eb4171ff1ec9af5932c443f9e37972d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dfea62b69c68bc371d274f8a2f71b727eb4171ff1ec9af5932c443f9e37972d", kill_on_drop: false }`
[INFO] [stdout] 0dfea62b69c68bc371d274f8a2f71b727eb4171ff1ec9af5932c443f9e37972d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 980b0629adc6f1430bfdeb83793bfdaf091a86762fe991b3315e60240f115507
[INFO] running `Command { std: "docker" "start" "-a" "980b0629adc6f1430bfdeb83793bfdaf091a86762fe991b3315e60240f115507", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling libdeflate-sys v1.25.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking libdeflater v1.25.0
[INFO] [stderr]     Checking jni v0.21.1
[INFO] [stderr]     Checking recastxz v2.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let context = &mut *ctx;
[INFO] [stdout]    |                        ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | / unsafe fn deflate_process(
[INFO] [stdout] 41 | |     ctx: *mut DeflateContext,
[INFO] [stdout] 42 | |     source_ptr: *const u8,
[INFO] [stdout] 43 | |     source_len: usize,
[INFO] [stdout] 44 | |     dest_ptr: *mut u8,
[INFO] [stdout] 45 | |     dest_len: usize,
[INFO] [stdout] 46 | | ) -> DeflateResult {
[INFO] [stdout]    | |__________________^
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let source_slice = std::slice::from_raw_parts(source_ptr, source_len);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let dest_slice = std::slice::from_raw_parts_mut(dest_ptr, dest_len);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |         Err(_) => InflateResult::Error,
[INFO] [stdout]    |         ^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lib.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         Err(libdeflater::DecompressionError::InsufficientSpace) => InflateResult::InsufficientSpace,
[INFO] [stdout]    |         ------------------------------------------------------- matches some of the same values
[INFO] [stdout] 82 |         Err(libdeflater::DecompressionError::BadData) => InflateResult::BadData,
[INFO] [stdout]    |         --------------------------------------------- matches some of the same values
[INFO] [stdout] 83 |         Err(_) => InflateResult::Error,
[INFO] [stdout]    |         ^^^^^^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let context = &mut *ctx;
[INFO] [stdout]    |                        ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / unsafe fn inflate_process(
[INFO] [stdout] 62 | |     ctx: *mut InflateContext,
[INFO] [stdout] 63 | |     source_ptr: *const u8,
[INFO] [stdout] 64 | |     source_len: usize,
[INFO] [stdout] 65 | |     dest_ptr: *mut u8,
[INFO] [stdout] 66 | |     dest_len: usize,
[INFO] [stdout] 67 | | ) -> InflateResult {
[INFO] [stdout]    | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let source_slice = std::slice::from_raw_parts(source_ptr, source_len);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:22
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let dest_slice = std::slice::from_raw_parts_mut(dest_ptr, dest_len);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let _ = Box::from_raw(ctx as *mut DeflateContext);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibDeflate_free(
[INFO] [stdout] 108 | |     _env: JNIEnv,
[INFO] [stdout] 109 | |     _class: JClass,
[INFO] [stdout] 110 | |     ctx: jlong,
[INFO] [stdout] 111 | | ) {
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `deflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |       let res = deflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 128 | |         ctx as *mut DeflateContext,
[INFO] [stdout] 129 | |         source_address as *const u8,
[INFO] [stdout] 130 | |         source_length as usize,
[INFO] [stdout] 131 | |         destination_address as *mut u8,
[INFO] [stdout] 132 | |         destination_length as usize,
[INFO] [stdout] 133 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibDeflate_process(
[INFO] [stdout] 119 | |     mut env: JNIEnv,
[INFO] [stdout] 120 | |     _class: JClass,
[INFO] [stdout] 121 | |     ctx: jlong,
[INFO] [stdout] ...   |
[INFO] [stdout] 125 | |     destination_length: jint,
[INFO] [stdout] 126 | | ) -> jint {
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     mut env: JNIEnv,
[INFO] [stdout]     |     ----^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/lib.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     mut env: JNIEnv,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mut env: JNIEnv,
[INFO] [stdout]     |     ----^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/lib.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mut env: JNIEnv,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let _ = Box::from_raw(ctx as *mut InflateContext);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:153:1
[INFO] [stdout]     |
[INFO] [stdout] 153 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibInflate_free(
[INFO] [stdout] 154 | |     _env: JNIEnv,
[INFO] [stdout] 155 | |     _class: JClass,
[INFO] [stdout] 156 | |     ctx: jlong,
[INFO] [stdout] 157 | | ) {
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `inflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:173:15
[INFO] [stdout]     |
[INFO] [stdout] 173 |       let res = inflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 174 | |         ctx as *mut InflateContext,
[INFO] [stdout] 175 | |         source_address as *const u8,
[INFO] [stdout] 176 | |         source_length as usize,
[INFO] [stdout] 177 | |         destination_address as *mut u8,
[INFO] [stdout] 178 | |         destination_length as usize,
[INFO] [stdout] 179 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibInflate_process(
[INFO] [stdout] 165 | |     mut env: JNIEnv,
[INFO] [stdout] 166 | |     _class: JClass,
[INFO] [stdout] 167 | |     ctx: jlong,
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |     destination_length: jint,
[INFO] [stdout] 172 | | ) -> jboolean {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let _ = Box::from_raw(ctx);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:210:1
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub unsafe extern "C" fn rxz_deflate_free(ctx: *mut DeflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `deflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:224:15
[INFO] [stdout]     |
[INFO] [stdout] 224 |       let res = deflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 225 | |         ctx,
[INFO] [stdout] 226 | |         source,
[INFO] [stdout] 227 | |         source_length as usize,
[INFO] [stdout] 228 | |         destination,
[INFO] [stdout] 229 | |         destination_length as usize,
[INFO] [stdout] 230 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:217:1
[INFO] [stdout]     |
[INFO] [stdout] 217 | / pub unsafe extern "C" fn rxz_deflate_process(
[INFO] [stdout] 218 | |     ctx: *mut DeflateContext,
[INFO] [stdout] 219 | |     source: *const u8,
[INFO] [stdout] 220 | |     source_length: c_int,
[INFO] [stdout] 221 | |     destination: *mut u8,
[INFO] [stdout] 222 | |     destination_length: c_int,
[INFO] [stdout] 223 | | ) -> c_int {
[INFO] [stdout]     | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:248:17
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let _ = Box::from_raw(ctx);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:246:1
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub unsafe extern "C" fn rxz_inflate_free(ctx: *mut InflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `inflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:260:15
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let res = inflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 261 | |         ctx,
[INFO] [stdout] 262 | |         source,
[INFO] [stdout] 263 | |         source_length as usize,
[INFO] [stdout] 264 | |         destination,
[INFO] [stdout] 265 | |         destination_length as usize,
[INFO] [stdout] 266 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:253:1
[INFO] [stdout]     |
[INFO] [stdout] 253 | / pub unsafe extern "C" fn rxz_inflate_process(
[INFO] [stdout] 254 | |     ctx: *mut InflateContext,
[INFO] [stdout] 255 | |     source: *const u8,
[INFO] [stdout] 256 | |     source_length: c_int,
[INFO] [stdout] 257 | |     destination: *mut u8,
[INFO] [stdout] 258 | |     destination_length: c_int,
[INFO] [stdout] 259 | | ) -> c_int {
[INFO] [stdout]     | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let context = &mut *ctx;
[INFO] [stdout]    |                        ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | / unsafe fn deflate_process(
[INFO] [stdout] 41 | |     ctx: *mut DeflateContext,
[INFO] [stdout] 42 | |     source_ptr: *const u8,
[INFO] [stdout] 43 | |     source_len: usize,
[INFO] [stdout] 44 | |     dest_ptr: *mut u8,
[INFO] [stdout] 45 | |     dest_len: usize,
[INFO] [stdout] 46 | | ) -> DeflateResult {
[INFO] [stdout]    | |__________________^
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeflateContext` is more private than the item `rxz_deflate_init`
[INFO] [stdout]    --> src/lib.rs:205:1
[INFO] [stdout]     |
[INFO] [stdout] 205 | pub unsafe extern "C" fn rxz_deflate_init(level: c_int) -> *mut DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_deflate_init` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | struct DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeflateContext` is more private than the item `rxz_deflate_free`
[INFO] [stdout]    --> src/lib.rs:210:1
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub unsafe extern "C" fn rxz_deflate_free(ctx: *mut DeflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_deflate_free` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | struct DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeflateContext` is more private than the item `rxz_deflate_process`
[INFO] [stdout]    --> src/lib.rs:217:1
[INFO] [stdout]     |
[INFO] [stdout] 217 | / pub unsafe extern "C" fn rxz_deflate_process(
[INFO] [stdout] 218 | |     ctx: *mut DeflateContext,
[INFO] [stdout] 219 | |     source: *const u8,
[INFO] [stdout] 220 | |     source_length: c_int,
[INFO] [stdout] 221 | |     destination: *mut u8,
[INFO] [stdout] 222 | |     destination_length: c_int,
[INFO] [stdout] 223 | | ) -> c_int {
[INFO] [stdout]     | |__________^ function `rxz_deflate_process` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | struct DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InflateContext` is more private than the item `rxz_inflate_init`
[INFO] [stdout]    --> src/lib.rs:239:1
[INFO] [stdout]     |
[INFO] [stdout] 239 | pub unsafe extern "C" fn rxz_inflate_init() -> *mut InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_inflate_init` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InflateContext` is more private than the item `rxz_inflate_free`
[INFO] [stdout]    --> src/lib.rs:246:1
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub unsafe extern "C" fn rxz_inflate_free(ctx: *mut InflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_inflate_free` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InflateContext` is more private than the item `rxz_inflate_process`
[INFO] [stdout]    --> src/lib.rs:253:1
[INFO] [stdout]     |
[INFO] [stdout] 253 | / pub unsafe extern "C" fn rxz_inflate_process(
[INFO] [stdout] 254 | |     ctx: *mut InflateContext,
[INFO] [stdout] 255 | |     source: *const u8,
[INFO] [stdout] 256 | |     source_length: c_int,
[INFO] [stdout] 257 | |     destination: *mut u8,
[INFO] [stdout] 258 | |     destination_length: c_int,
[INFO] [stdout] 259 | | ) -> c_int {
[INFO] [stdout]     | |__________^ function `rxz_inflate_process` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let source_slice = std::slice::from_raw_parts(source_ptr, source_len);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let dest_slice = std::slice::from_raw_parts_mut(dest_ptr, dest_len);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |         Err(_) => InflateResult::Error,
[INFO] [stdout]    |         ^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lib.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         Err(libdeflater::DecompressionError::InsufficientSpace) => InflateResult::InsufficientSpace,
[INFO] [stdout]    |         ------------------------------------------------------- matches some of the same values
[INFO] [stdout] 82 |         Err(libdeflater::DecompressionError::BadData) => InflateResult::BadData,
[INFO] [stdout]    |         --------------------------------------------- matches some of the same values
[INFO] [stdout] 83 |         Err(_) => InflateResult::Error,
[INFO] [stdout]    |         ^^^^^^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let context = &mut *ctx;
[INFO] [stdout]    |                        ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / unsafe fn inflate_process(
[INFO] [stdout] 62 | |     ctx: *mut InflateContext,
[INFO] [stdout] 63 | |     source_ptr: *const u8,
[INFO] [stdout] 64 | |     source_len: usize,
[INFO] [stdout] 65 | |     dest_ptr: *mut u8,
[INFO] [stdout] 66 | |     dest_len: usize,
[INFO] [stdout] 67 | | ) -> InflateResult {
[INFO] [stdout]    | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let source_slice = std::slice::from_raw_parts(source_ptr, source_len);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:74:22
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let dest_slice = std::slice::from_raw_parts_mut(dest_ptr, dest_len);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let _ = Box::from_raw(ctx as *mut DeflateContext);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibDeflate_free(
[INFO] [stdout] 108 | |     _env: JNIEnv,
[INFO] [stdout] 109 | |     _class: JClass,
[INFO] [stdout] 110 | |     ctx: jlong,
[INFO] [stdout] 111 | | ) {
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `deflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |       let res = deflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 128 | |         ctx as *mut DeflateContext,
[INFO] [stdout] 129 | |         source_address as *const u8,
[INFO] [stdout] 130 | |         source_length as usize,
[INFO] [stdout] 131 | |         destination_address as *mut u8,
[INFO] [stdout] 132 | |         destination_length as usize,
[INFO] [stdout] 133 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibDeflate_process(
[INFO] [stdout] 119 | |     mut env: JNIEnv,
[INFO] [stdout] 120 | |     _class: JClass,
[INFO] [stdout] 121 | |     ctx: jlong,
[INFO] [stdout] ...   |
[INFO] [stdout] 125 | |     destination_length: jint,
[INFO] [stdout] 126 | | ) -> jint {
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     mut env: JNIEnv,
[INFO] [stdout]     |     ----^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/lib.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     mut env: JNIEnv,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mut env: JNIEnv,
[INFO] [stdout]     |     ----^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/lib.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 |     mut env: JNIEnv,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let _ = Box::from_raw(ctx as *mut InflateContext);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:153:1
[INFO] [stdout]     |
[INFO] [stdout] 153 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibInflate_free(
[INFO] [stdout] 154 | |     _env: JNIEnv,
[INFO] [stdout] 155 | |     _class: JClass,
[INFO] [stdout] 156 | |     ctx: jlong,
[INFO] [stdout] 157 | | ) {
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `inflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:173:15
[INFO] [stdout]     |
[INFO] [stdout] 173 |       let res = inflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 174 | |         ctx as *mut InflateContext,
[INFO] [stdout] 175 | |         source_address as *const u8,
[INFO] [stdout] 176 | |         source_length as usize,
[INFO] [stdout] 177 | |         destination_address as *mut u8,
[INFO] [stdout] 178 | |         destination_length as usize,
[INFO] [stdout] 179 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | / pub unsafe extern "system" fn Java_com_velocitypowered_natives_compression_NativeZlibInflate_process(
[INFO] [stdout] 165 | |     mut env: JNIEnv,
[INFO] [stdout] 166 | |     _class: JClass,
[INFO] [stdout] 167 | |     ctx: jlong,
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |     destination_length: jint,
[INFO] [stdout] 172 | | ) -> jboolean {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let _ = Box::from_raw(ctx);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:210:1
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub unsafe extern "C" fn rxz_deflate_free(ctx: *mut DeflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `deflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:224:15
[INFO] [stdout]     |
[INFO] [stdout] 224 |       let res = deflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 225 | |         ctx,
[INFO] [stdout] 226 | |         source,
[INFO] [stdout] 227 | |         source_length as usize,
[INFO] [stdout] 228 | |         destination,
[INFO] [stdout] 229 | |         destination_length as usize,
[INFO] [stdout] 230 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:217:1
[INFO] [stdout]     |
[INFO] [stdout] 217 | / pub unsafe extern "C" fn rxz_deflate_process(
[INFO] [stdout] 218 | |     ctx: *mut DeflateContext,
[INFO] [stdout] 219 | |     source: *const u8,
[INFO] [stdout] 220 | |     source_length: c_int,
[INFO] [stdout] 221 | |     destination: *mut u8,
[INFO] [stdout] 222 | |     destination_length: c_int,
[INFO] [stdout] 223 | | ) -> c_int {
[INFO] [stdout]     | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:248:17
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let _ = Box::from_raw(ctx);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:246:1
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub unsafe extern "C" fn rxz_inflate_free(ctx: *mut InflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `inflate_process` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:260:15
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let res = inflate_process(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 261 | |         ctx,
[INFO] [stdout] 262 | |         source,
[INFO] [stdout] 263 | |         source_length as usize,
[INFO] [stdout] 264 | |         destination,
[INFO] [stdout] 265 | |         destination_length as usize,
[INFO] [stdout] 266 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:253:1
[INFO] [stdout]     |
[INFO] [stdout] 253 | / pub unsafe extern "C" fn rxz_inflate_process(
[INFO] [stdout] 254 | |     ctx: *mut InflateContext,
[INFO] [stdout] 255 | |     source: *const u8,
[INFO] [stdout] 256 | |     source_length: c_int,
[INFO] [stdout] 257 | |     destination: *mut u8,
[INFO] [stdout] 258 | |     destination_length: c_int,
[INFO] [stdout] 259 | | ) -> c_int {
[INFO] [stdout]     | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeflateContext` is more private than the item `rxz_deflate_init`
[INFO] [stdout]    --> src/lib.rs:205:1
[INFO] [stdout]     |
[INFO] [stdout] 205 | pub unsafe extern "C" fn rxz_deflate_init(level: c_int) -> *mut DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_deflate_init` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | struct DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeflateContext` is more private than the item `rxz_deflate_free`
[INFO] [stdout]    --> src/lib.rs:210:1
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub unsafe extern "C" fn rxz_deflate_free(ctx: *mut DeflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_deflate_free` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | struct DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeflateContext` is more private than the item `rxz_deflate_process`
[INFO] [stdout]    --> src/lib.rs:217:1
[INFO] [stdout]     |
[INFO] [stdout] 217 | / pub unsafe extern "C" fn rxz_deflate_process(
[INFO] [stdout] 218 | |     ctx: *mut DeflateContext,
[INFO] [stdout] 219 | |     source: *const u8,
[INFO] [stdout] 220 | |     source_length: c_int,
[INFO] [stdout] 221 | |     destination: *mut u8,
[INFO] [stdout] 222 | |     destination_length: c_int,
[INFO] [stdout] 223 | | ) -> c_int {
[INFO] [stdout]     | |__________^ function `rxz_deflate_process` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | struct DeflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InflateContext` is more private than the item `rxz_inflate_init`
[INFO] [stdout]    --> src/lib.rs:239:1
[INFO] [stdout]     |
[INFO] [stdout] 239 | pub unsafe extern "C" fn rxz_inflate_init() -> *mut InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_inflate_init` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InflateContext` is more private than the item `rxz_inflate_free`
[INFO] [stdout]    --> src/lib.rs:246:1
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub unsafe extern "C" fn rxz_inflate_free(ctx: *mut InflateContext) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rxz_inflate_free` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InflateContext` is more private than the item `rxz_inflate_process`
[INFO] [stdout]    --> src/lib.rs:253:1
[INFO] [stdout]     |
[INFO] [stdout] 253 | / pub unsafe extern "C" fn rxz_inflate_process(
[INFO] [stdout] 254 | |     ctx: *mut InflateContext,
[INFO] [stdout] 255 | |     source: *const u8,
[INFO] [stdout] 256 | |     source_length: c_int,
[INFO] [stdout] 257 | |     destination: *mut u8,
[INFO] [stdout] 258 | |     destination_length: c_int,
[INFO] [stdout] 259 | | ) -> c_int {
[INFO] [stdout]     | |__________^ function `rxz_inflate_process` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InflateContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct InflateContext {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "980b0629adc6f1430bfdeb83793bfdaf091a86762fe991b3315e60240f115507", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "980b0629adc6f1430bfdeb83793bfdaf091a86762fe991b3315e60240f115507", kill_on_drop: false }`
[INFO] [stdout] 980b0629adc6f1430bfdeb83793bfdaf091a86762fe991b3315e60240f115507
