[INFO] fetching crate mozjpeg-rs 0.9.1... [INFO] testing mozjpeg-rs-0.9.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate mozjpeg-rs 0.9.1 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate mozjpeg-rs 0.9.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mozjpeg-rs 0.9.1 [INFO] tweaked toml for crates.io crate mozjpeg-rs 0.9.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mozjpeg-rs 0.9.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mozjpeg-rs 0.9.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c9baeeaa5c8ce8820a56f570e9650aae542057a20df9fffed2d5f556fc74712 [INFO] running `Command { std: "docker" "start" "-a" "4c9baeeaa5c8ce8820a56f570e9650aae542057a20df9fffed2d5f556fc74712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c9baeeaa5c8ce8820a56f570e9650aae542057a20df9fffed2d5f556fc74712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c9baeeaa5c8ce8820a56f570e9650aae542057a20df9fffed2d5f556fc74712", kill_on_drop: false }` [INFO] [stdout] 4c9baeeaa5c8ce8820a56f570e9650aae542057a20df9fffed2d5f556fc74712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 412d078688e15581395a52002570ee93b88fc5b729fe5a79cc3e5f5232bd813f [INFO] running `Command { std: "docker" "start" "-a" "412d078688e15581395a52002570ee93b88fc5b729fe5a79cc3e5f5232bd813f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling safe_unaligned_simd v0.2.5 [INFO] [stderr] Compiling enough v0.4.3 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling safe_arch v1.0.0 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wide v1.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling archmage-macros v0.9.19 [INFO] [stderr] Compiling archmage v0.9.19 [INFO] [stderr] Compiling magetypes v0.9.19 [INFO] [stderr] Compiling linear-srgb v0.6.10 [INFO] [stderr] Compiling zenyuv v0.1.0 [INFO] [stderr] Compiling mozjpeg-rs v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.09s [INFO] running `Command { std: "docker" "inspect" "412d078688e15581395a52002570ee93b88fc5b729fe5a79cc3e5f5232bd813f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412d078688e15581395a52002570ee93b88fc5b729fe5a79cc3e5f5232bd813f", kill_on_drop: false }` [INFO] [stdout] 412d078688e15581395a52002570ee93b88fc5b729fe5a79cc3e5f5232bd813f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6121c86d07b7695411430668f5a377f3a569b9e33ffbdeb76f303eb7355510c [INFO] running `Command { std: "docker" "start" "-a" "c6121c86d07b7695411430668f5a377f3a569b9e33ffbdeb76f303eb7355510c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling zlib-rs v0.6.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling yuvxyb-math v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling nasm-rs v0.3.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling linear-srgb v0.6.10 [INFO] [stderr] Compiling ssimulacra2 v0.5.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling safe_arch v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lcms2-sys v4.0.6 [INFO] [stderr] Compiling mozjpeg-sys v2.2.3 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rexif v0.7.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling av-data v0.4.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling yuvxyb v0.4.2 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling lodepng v3.12.2 [INFO] [stderr] Compiling criterion-plot v0.8.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling dssim-core v3.4.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling zenyuv v0.1.0 [INFO] [stderr] Compiling wide v1.2.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling ordered-channel v1.2.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling zune-jpeg v0.5.15 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling butteraugli v0.9.0 [INFO] [stderr] Compiling yuv v0.8.13 [INFO] [stderr] Compiling mozjpeg v0.10.13 [INFO] [stderr] Compiling mozjpeg-rs v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lcms2 v6.1.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling load_image v3.3.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling dssim v3.4.0 [INFO] [stderr] Compiling proptest v1.11.0 [INFO] [stderr] Compiling criterion v0.8.2 [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut cinfo = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/compare_real_images.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | unsafe fn encode_with_c_mozjpeg(rgb_data: &[u8], width: u32, height: u32, quality: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | let mut jerr = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_std_error` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | cinfo.common.err = mozjpeg_sys::jpeg_std_error(&mut jerr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_CreateCompress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | / mozjpeg_sys::jpeg_CreateCompress( [INFO] [stdout] 142 | | &mut cinfo, [INFO] [stdout] 143 | | mozjpeg_sys::JPEG_LIB_VERSION as i32, [INFO] [stdout] 144 | | std::mem::size_of::(), [INFO] [stdout] 145 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_mem_dest` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | mozjpeg_sys::jpeg_mem_dest(&mut cinfo, &mut outbuffer, &mut outsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_set_defaults` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | mozjpeg_sys::jpeg_set_defaults(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_set_quality` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mozjpeg_sys::jpeg_set_quality(&mut cinfo, quality as i32, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_start_compress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | mozjpeg_sys::jpeg_start_compress(&mut cinfo, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | let row_ptr = rgb_data [INFO] [stdout] | _______________________^ [INFO] [stdout] 162 | | .as_ptr() [INFO] [stdout] 163 | | .add(cinfo.next_scanline as usize * row_stride); [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_write_scanlines` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | mozjpeg_sys::jpeg_write_scanlines(&mut cinfo, row_array.as_mut_ptr() as *mut *const u8, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_finish_compress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | mozjpeg_sys::jpeg_finish_compress(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_destroy_compress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | mozjpeg_sys::jpeg_destroy_compress(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 171 | let result = std::slice::from_raw_parts(outbuffer, outsize as usize).to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::free` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_real_images.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | libc::free(outbuffer as *mut std::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut cinfo = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/compare_outputs.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe fn encode_with_c_mozjpeg(rgb_data: &[u8], width: u32, height: u32, quality: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let mut jerr = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_std_error` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | cinfo.common.err = mozjpeg_sys::jpeg_std_error(&mut jerr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_CreateCompress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / mozjpeg_sys::jpeg_CreateCompress( [INFO] [stdout] 75 | | &mut cinfo, [INFO] [stdout] 76 | | mozjpeg_sys::JPEG_LIB_VERSION as i32, [INFO] [stdout] 77 | | std::mem::size_of::(), [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_mem_dest` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | mozjpeg_sys::jpeg_mem_dest(&mut cinfo, &mut outbuffer, &mut outsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_set_defaults` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | mozjpeg_sys::jpeg_set_defaults(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_set_quality` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | mozjpeg_sys::jpeg_set_quality(&mut cinfo, quality as i32, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_start_compress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | mozjpeg_sys::jpeg_start_compress(&mut cinfo, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let row_ptr = rgb_data [INFO] [stdout] | _______________________^ [INFO] [stdout] 95 | | .as_ptr() [INFO] [stdout] 96 | | .add(cinfo.next_scanline as usize * row_stride); [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_write_scanlines` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | mozjpeg_sys::jpeg_write_scanlines(&mut cinfo, row_array.as_mut_ptr() as *mut *const u8, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_finish_compress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | mozjpeg_sys::jpeg_finish_compress(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_destroy_compress` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | mozjpeg_sys::jpeg_destroy_compress(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let result = std::slice::from_raw_parts(outbuffer, outsize as usize).to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::free` is unsafe and requires unsafe block [INFO] [stdout] --> examples/compare_outputs.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | libc::free(outbuffer as *mut std::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [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::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | let mut cinfo = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> tests/ffi_validation.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | unsafe fn encode_with_c_mozjpeg(rgb_data: &[u8], width: u32, height: u32, quality: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let mut jerr = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_std_error` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | cinfo.common.err = mozjpeg_sys::jpeg_std_error(&mut jerr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_CreateCompress` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / mozjpeg_sys::jpeg_CreateCompress( [INFO] [stdout] 262 | | &mut cinfo, [INFO] [stdout] 263 | | mozjpeg_sys::JPEG_LIB_VERSION as i32, [INFO] [stdout] 264 | | std::mem::size_of::(), [INFO] [stdout] 265 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_mem_dest` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | mozjpeg_sys::jpeg_mem_dest(&mut cinfo, &mut outbuffer, &mut outsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_set_defaults` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | mozjpeg_sys::jpeg_set_defaults(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_set_quality` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | mozjpeg_sys::jpeg_set_quality(&mut cinfo, quality as i32, 1); // force_baseline=true [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_start_compress` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | mozjpeg_sys::jpeg_start_compress(&mut cinfo, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | let row_ptr = rgb_data [INFO] [stdout] | _______________________^ [INFO] [stdout] 286 | | .as_ptr() [INFO] [stdout] 287 | | .add(cinfo.next_scanline as usize * row_stride); [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_write_scanlines` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | mozjpeg_sys::jpeg_write_scanlines(&mut cinfo, row_array.as_mut_ptr() as *mut *const u8, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_finish_compress` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | mozjpeg_sys::jpeg_finish_compress(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mozjpeg_sys::jpeg_destroy_compress` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | mozjpeg_sys::jpeg_destroy_compress(&mut cinfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | let result = std::slice::from_raw_parts(outbuffer, outsize as usize).to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::free` is unsafe and requires unsafe block [INFO] [stdout] --> tests/ffi_validation.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | libc::free(outbuffer as *mut std::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let ymm_a = _mm256_loadu_si256(rgb_ptr.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/debug_color_avx2.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe fn trace_deinterleave() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let ymm_f = _mm256_loadu_si256(rgb_ptr.add(32).cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | let ymm_f = _mm256_loadu_si256(rgb_ptr.add(32).cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let ymm_b = _mm256_loadu_si256(rgb_ptr.add(64).cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | let ymm_b = _mm256_loadu_si256(rgb_ptr.add(64).cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | let r_even: [i16; 16] = std::mem::transmute(ymm_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let g_even: [i16; 16] = std::mem::transmute(ymm_c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | let _b_even: [i16; 16] = std::mem::transmute(ymm_e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | let r_odd: [i16; 16] = std::mem::transmute(ymm_b_new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | let g_odd: [i16; 16] = std::mem::transmute(ymm_d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_color_avx2.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | let b_odd: [i16; 16] = std::mem::transmute(ymm_f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | _mm256_storeu_si256(arr.as_mut_ptr() as *mut __m256i, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/debug_data26.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe fn print_ymm_i16(name: &str, v: __m256i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | _mm256_storeu_si256(arr.as_mut_ptr() as *mut __m256i, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/debug_data26.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn print_ymm_i32(name: &str, v: __m256i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let ymm4 = _mm256_loadu_si256(samples.as_ptr().add(0) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/debug_data26.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn debug_data26_computation(samples: &[i16; DCTSIZE2]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | let ymm4 = _mm256_loadu_si256(samples.as_ptr().add(0) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let ymm5 = _mm256_loadu_si256(samples.as_ptr().add(16) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | let ymm5 = _mm256_loadu_si256(samples.as_ptr().add(16) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let ymm6 = _mm256_loadu_si256(samples.as_ptr().add(32) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | let ymm6 = _mm256_loadu_si256(samples.as_ptr().add(32) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let ymm7 = _mm256_loadu_si256(samples.as_ptr().add(48) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 84 | let ymm7 = _mm256_loadu_si256(samples.as_ptr().add(48) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | print_ymm_i16("ymm0 (row0|row4)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | print_ymm_i16("ymm1 (row1|row5)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | print_ymm_i16("ymm2 (row2|row6)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | print_ymm_i16("ymm3 (row3|row7)", ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dotranspose` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | let (ymm0, ymm1, ymm2, ymm3) = dotranspose(ymm0, ymm1, ymm2, ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | print_ymm_i16("ymm0 (col1|col0)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | print_ymm_i16("ymm1 (col3|col2)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | print_ymm_i16("ymm2 (col4|col5)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | print_ymm_i16("ymm3 (col6|col7)", ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | print_ymm_i16("ymm4 (tmp6_7)", ymm4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | print_ymm_i16("ymm5 (tmp1_0)", ymm5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | print_ymm_i16("ymm6 (tmp3_2)", ymm6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | print_ymm_i16("ymm7 (tmp4_5)", ymm7); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | print_ymm_i16("ymm5_perm (tmp0_1)", ymm5_perm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | print_ymm_i16("tmp10_11", tmp10_11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | print_ymm_i16("tmp13_12", tmp13_12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | print_ymm_i16("tmp12_13 (permuted)", tmp12_13); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | print_ymm_i16("interleaved_lo", interleaved_lo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | print_ymm_i16("interleaved_hi", interleaved_hi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | print_ymm_i16("pw_f130_f054", pw_f130_f054); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i32` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | print_ymm_i32("madd_lo (data2_6L)", madd_lo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i32` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | print_ymm_i32("madd_hi (data2_6H)", madd_hi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i32` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | print_ymm_i32("scaled_lo", scaled_lo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i32` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | print_ymm_i32("scaled_hi", scaled_hi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i32` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | print_ymm_i32("shifted_lo", shifted_lo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i32` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | print_ymm_i32("shifted_hi", shifted_hi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_data26.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | print_ymm_i16("out2_6 (packed)", out2_6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `codec_eval` in this scope [INFO] [stdout] --> examples/pareto_benchmark.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use codec_eval::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `codec_eval` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codec_eval`, use `cargo add codec_eval` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codec_eval` [INFO] [stdout] --> examples/pareto_benchmark.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use codec_eval::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `codec_eval` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codec_eval`, use `cargo add codec_eval` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `codec_eval` in this scope [INFO] [stdout] --> examples/pareto_benchmark.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | codec_eval::Error::Codec { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `codec_eval` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codec_eval`, use `cargo add codec_eval` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 16 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 16 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 16 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 176 - codec_eval::Error::Codec { [INFO] [stdout] 176 + Error::Codec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | _mm256_storeu_si256(arr.as_mut_ptr() as *mut __m256i, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/debug_full_dct.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn print_ymm_i16(name: &str, v: __m256i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | let ymm4 = _mm256_loadu_si256(samples.as_ptr().add(0) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/debug_full_dct.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe fn full_dct_traced(samples: &[i16; DCTSIZE2]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | let ymm4 = _mm256_loadu_si256(samples.as_ptr().add(0) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | let ymm5 = _mm256_loadu_si256(samples.as_ptr().add(16) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | let ymm5 = _mm256_loadu_si256(samples.as_ptr().add(16) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | let ymm6 = _mm256_loadu_si256(samples.as_ptr().add(32) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let ymm6 = _mm256_loadu_si256(samples.as_ptr().add(32) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | let ymm7 = _mm256_loadu_si256(samples.as_ptr().add(48) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let ymm7 = _mm256_loadu_si256(samples.as_ptr().add(48) as *const __m256i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | print_ymm_i16("ymm0 (row0|row4)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | print_ymm_i16("ymm1 (row1|row5)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | print_ymm_i16("ymm2 (row2|row6)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | print_ymm_i16("ymm3 (row3|row7)", ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dotranspose` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | let (ymm0, ymm1, ymm2, ymm3) = dotranspose(ymm0, ymm1, ymm2, ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | print_ymm_i16("ymm0 (col1|col0)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | print_ymm_i16("ymm1 (col3|col2)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | print_ymm_i16("ymm2 (col4|col5)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | print_ymm_i16("ymm3 (col6|col7)", ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dodct` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let (ymm0, ymm1, ymm2, ymm3) = dodct(ymm0, ymm1, ymm2, ymm3, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | print_ymm_i16("ymm0 (data0_4)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | print_ymm_i16("ymm1 (data3_1)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | print_ymm_i16("ymm2 (data2_6)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | print_ymm_i16("ymm3 (data7_5)", ymm3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | print_ymm_i16("ymm0 (data0_4)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | print_ymm_i16("ymm1 (data1_5)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | print_ymm_i16("ymm2 (data2_6)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | print_ymm_i16("ymm4 (data3_7)", ymm4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dotranspose` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | let (ymm0, ymm1, ymm2, ymm4) = dotranspose(ymm0, ymm1, ymm2, ymm4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | print_ymm_i16("ymm0", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | print_ymm_i16("ymm1", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | print_ymm_i16("ymm2", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | print_ymm_i16("ymm4", ymm4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dodct` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | let (ymm0, ymm1, ymm2, ymm4) = dodct(ymm0, ymm1, ymm2, ymm4, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | print_ymm_i16("ymm0 (data0_4)", ymm0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | print_ymm_i16("ymm1 (data3_1)", ymm1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | print_ymm_i16("ymm2 (data2_6)", ymm2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | print_ymm_i16("ymm4 (data7_5)", ymm4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | print_ymm_i16("out01 (row0|row1)", out01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | print_ymm_i16("out23 (row2|row3)", out23); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | print_ymm_i16("out45 (row4|row5)", out45); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `print_ymm_i16` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | print_ymm_i16("out67 (row6|row7)", out67); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(0) as *mut __m256i, out01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(0) as *mut __m256i, out01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(16) as *mut __m256i, out23); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(16) as *mut __m256i, out23); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(32) as *mut __m256i, out45); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(32) as *mut __m256i, out45); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(48) as *mut __m256i, out67); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> examples/debug_full_dct.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | _mm256_storeu_si256(coeffs.as_mut_ptr().add(48) as *mut __m256i, out67); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mozjpeg-rs` (example "pareto_benchmark") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6121c86d07b7695411430668f5a377f3a569b9e33ffbdeb76f303eb7355510c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6121c86d07b7695411430668f5a377f3a569b9e33ffbdeb76f303eb7355510c", kill_on_drop: false }` [INFO] [stdout] c6121c86d07b7695411430668f5a377f3a569b9e33ffbdeb76f303eb7355510c