[INFO] fetching crate arrow-buffer 53.0.0... [INFO] checking arrow-buffer-53.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate arrow-buffer 53.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate arrow-buffer 53.0.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate arrow-buffer 53.0.0 [INFO] finished tweaking crates.io crate arrow-buffer 53.0.0 [INFO] tweaked toml for crates.io crate arrow-buffer 53.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4cef89f1d908494f8e96200a73ee3193f11fc3b520337c154664382d33bf25e [INFO] running `Command { std: "docker" "start" "-a" "f4cef89f1d908494f8e96200a73ee3193f11fc3b520337c154664382d33bf25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4cef89f1d908494f8e96200a73ee3193f11fc3b520337c154664382d33bf25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4cef89f1d908494f8e96200a73ee3193f11fc3b520337c154664382d33bf25e", kill_on_drop: false }` [INFO] [stdout] f4cef89f1d908494f8e96200a73ee3193f11fc3b520337c154664382d33bf25e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5839a004880d34daee029b0482e1d47096f79fadbb58b87fc8106b857a74db0 [INFO] running `Command { std: "docker" "start" "-a" "e5839a004880d34daee029b0482e1d47096f79fadbb58b87fc8106b857a74db0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking arrow-buffer v53.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/bigint/mod.rs:1098:58 [INFO] [stdout] | [INFO] [stdout] 1098 | l.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `arrow_buffer` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/bigint/mod.rs:1102:58 [INFO] [stdout] | [INFO] [stdout] 1102 | r.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:622:64 [INFO] [stdout] | [INFO] [stdout] 622 | let bools: Vec<_> = std::iter::from_fn(|| Some(rng.gen())) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:629:30 [INFO] [stdout] | [INFO] [stdout] 629 | let offset = rng.gen::().checked_rem(max_offset).unwrap_or(0); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:632:32 [INFO] [stdout] | [INFO] [stdout] 632 | let truncate = rng.gen::().checked_rem(max_truncate).unwrap_or(0); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/native.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/native.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr, $i:ident, $usize_as: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr_2021, $i:ident, $usize_as: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/native.rs:174:61 [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr, $i:ident, $usize_as: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr, $i:ident, $usize_as: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Buffer::build_with_arguments(ptr, len, Deallocation::Standard(layout)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub unsafe fn from_raw_parts(ptr: NonNull, len: usize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Buffer::build_with_arguments(ptr, len, Deallocation::Custom(owner, len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / pub unsafe fn from_custom_allocation( [INFO] [stdout] 135 | | ptr: NonNull, [INFO] [stdout] 136 | | len: usize, [INFO] [stdout] 137 | | owner: Arc, [INFO] [stdout] 138 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning[E0133]: call to unsafe function `bytes::Bytes::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let bytes = Bytes::new(ptr, len, deallocation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / unsafe fn build_with_arguments( [INFO] [stdout] 144 | | ptr: NonNull, [INFO] [stdout] 145 | | len: usize, [INFO] [stdout] 146 | | deallocation: Deallocation, [INFO] [stdout] 147 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | MutableBuffer::from_trusted_len_iter(iterator).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 436 | | iterator: I, [INFO] [stdout] 437 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | Ok(MutableBuffer::try_from_trusted_len_iter(iterator)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 449 | | E, [INFO] [stdout] 450 | | T: ArrowNativeType, [INFO] [stdout] 451 | | I: Iterator>, [INFO] [stdout] 452 | | >( [INFO] [stdout] 453 | | iterator: I, [INFO] [stdout] 454 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | let dst = self.data.as_ptr().add(self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | pub unsafe fn push_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | std::ptr::copy_nonoverlapping(src, dst, additional); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 577 | | iterator: I, [INFO] [stdout] 578 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 635 | | E, [INFO] [stdout] 636 | | T: ArrowNativeType, [INFO] [stdout] 637 | | I: Iterator>, [INFO] [stdout] 638 | | >( [INFO] [stdout] 639 | | iterator: I, [INFO] [stdout] 640 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/native.rs:174:23 [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter::finalize_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | finalize_buffer(dst, &mut buffer, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 174 | ($t:ty, $s:ident, $as_usize: expr_2021, $i:ident, $usize_as: expr_2021) => { [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe fn finalize_buffer(dst: *mut u8, buffer: &mut MutableBuffer, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe fn get_bit_raw(data: *const u8, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn set_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn unset_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:542:16 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(item) = iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ match iterator.next() { Some(item) => { [INFO] [stdout] 543 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 548 | len.local_len += item_size; [INFO] [stdout] 549 ~ } _ => { [INFO] [stdout] 550 | break; [INFO] [stdout] 551 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/native.rs:174:55 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:756:20 [INFO] [stdout] | [INFO] [stdout] 756 | if let Some(value) = iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 756 ~ match iterator.next() { Some(value) => { [INFO] [stdout] 757 | byte_accum |= match value { [INFO] [stdout] ... [INFO] [stdout] 761 | mask <<= 1; [INFO] [stdout] 762 ~ } _ => { [INFO] [stdout] 763 | exhausted = true; [INFO] [stdout] 764 | break; [INFO] [stdout] 765 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(buf) = self.bitmap_builder.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match self.bitmap_builder.as_mut() { Some(buf) => { [INFO] [stdout] 72 | buf.append_n(n, true) [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | self.len += n; [INFO] [stdout] 75 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 174 | ($t:ty, $s:ident, $as_usize: expr_2021, $i:ident, $usize_as: expr_2021) => { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(buf) = self.bitmap_builder.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match self.bitmap_builder.as_mut() { Some(buf) => { [INFO] [stdout] 83 | buf.append(true) [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | self.len += 1; [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(buf) = self.bitmap_builder.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match self.bitmap_builder.as_mut() { Some(buf) => { [INFO] [stdout] 122 | buf.append_slice(slice) [INFO] [stdout] 123 ~ } _ => { [INFO] [stdout] 124 | self.len += slice.len(); [INFO] [stdout] 125 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if let Some(b) = &self.bitmap_builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 176 ~ match &self.bitmap_builder { Some(b) => { [INFO] [stdout] 177 | b.len() [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | self.len [INFO] [stdout] 180 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn iter_padded(&self) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn iter_padded(&self) -> impl Iterator + 'a { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 297 | pub fn iter_padded(&self) -> impl Iterator + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `arrow_buffer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/buffer/immutable.rs [INFO] [stderr] * src/native.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/buffer/immutable.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | ($input: expr_2021, $native_t: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/native.rs:174:23 [INFO] [stderr] | [INFO] [stderr] 174 | ($t:ty, $s:ident, $as_usize: expr_2021, $i:ident, $usize_as: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/native.rs:174:55 [INFO] [stderr] | [INFO] [stderr] 174 | ($t:ty, $s:ident, $as_usize: expr_2021, $i:ident, $usize_as: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating benches/offset.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/bigint/mod.rs:1098:58 [INFO] [stdout] | [INFO] [stdout] 1098 | l.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/bigint/mod.rs:1102:58 [INFO] [stdout] | [INFO] [stdout] 1102 | r.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:622:64 [INFO] [stdout] | [INFO] [stdout] 622 | let bools: Vec<_> = std::iter::from_fn(|| Some(rng.gen())) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:629:30 [INFO] [stdout] | [INFO] [stdout] 629 | let offset = rng.gen::().checked_rem(max_offset).unwrap_or(0); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:632:32 [INFO] [stdout] | [INFO] [stdout] 632 | let truncate = rng.gen::().checked_rem(max_truncate).unwrap_or(0); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/buffer/immutable.rs:574:18 [INFO] [stdout] | [INFO] [stdout] 574 | ($input: expr, $native_t: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 574 | ($input: expr_2021, $native_t: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/native.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr, $i:ident, $usize_as: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr_2021, $i:ident, $usize_as: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/native.rs:174:61 [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr, $i:ident, $usize_as: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 174 | ($t:ty, $s:ident, $as_usize: expr, $i:ident, $usize_as: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Buffer::build_with_arguments(ptr, len, Deallocation::Standard(layout)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub unsafe fn from_raw_parts(ptr: NonNull, len: usize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Buffer::build_with_arguments(ptr, len, Deallocation::Custom(owner, len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / pub unsafe fn from_custom_allocation( [INFO] [stdout] 135 | | ptr: NonNull, [INFO] [stdout] 136 | | len: usize, [INFO] [stdout] 137 | | owner: Arc, [INFO] [stdout] 138 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bytes::Bytes::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let bytes = Bytes::new(ptr, len, deallocation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / unsafe fn build_with_arguments( [INFO] [stdout] 144 | | ptr: NonNull, [INFO] [stdout] 145 | | len: usize, [INFO] [stdout] 146 | | deallocation: Deallocation, [INFO] [stdout] 147 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | MutableBuffer::from_trusted_len_iter(iterator).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 436 | | iterator: I, [INFO] [stdout] 437 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | Ok(MutableBuffer::try_from_trusted_len_iter(iterator)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 449 | | E, [INFO] [stdout] 450 | | T: ArrowNativeType, [INFO] [stdout] 451 | | I: Iterator>, [INFO] [stdout] 452 | | >( [INFO] [stdout] 453 | | iterator: I, [INFO] [stdout] 454 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | let dst = self.data.as_ptr().add(self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | pub unsafe fn push_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | std::ptr::copy_nonoverlapping(src, dst, additional); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 577 | | iterator: I, [INFO] [stdout] 578 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 635 | | E, [INFO] [stdout] 636 | | T: ArrowNativeType, [INFO] [stdout] 637 | | I: Iterator>, [INFO] [stdout] 638 | | >( [INFO] [stdout] 639 | | iterator: I, [INFO] [stdout] 640 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter::finalize_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | finalize_buffer(dst, &mut buffer, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe fn finalize_buffer(dst: *mut u8, buffer: &mut MutableBuffer, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe fn get_bit_raw(data: *const u8, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn set_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn unset_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:542:16 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(item) = iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ match iterator.next() { Some(item) => { [INFO] [stdout] 543 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 548 | len.local_len += item_size; [INFO] [stdout] 549 ~ } _ => { [INFO] [stdout] 550 | break; [INFO] [stdout] 551 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:756:20 [INFO] [stdout] | [INFO] [stdout] 756 | if let Some(value) = iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/buffer/mutable.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 756 ~ match iterator.next() { Some(value) => { [INFO] [stdout] 757 | byte_accum |= match value { [INFO] [stdout] ... [INFO] [stdout] 761 | mask <<= 1; [INFO] [stdout] 762 ~ } _ => { [INFO] [stdout] 763 | exhausted = true; [INFO] [stdout] 764 | break; [INFO] [stdout] 765 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(buf) = self.bitmap_builder.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match self.bitmap_builder.as_mut() { Some(buf) => { [INFO] [stdout] 72 | buf.append_n(n, true) [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | self.len += n; [INFO] [stdout] 75 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(buf) = self.bitmap_builder.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match self.bitmap_builder.as_mut() { Some(buf) => { [INFO] [stdout] 83 | buf.append(true) [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | self.len += 1; [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(buf) = self.bitmap_builder.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match self.bitmap_builder.as_mut() { Some(buf) => { [INFO] [stdout] 122 | buf.append_slice(slice) [INFO] [stdout] 123 ~ } _ => { [INFO] [stdout] 124 | self.len += slice.len(); [INFO] [stdout] 125 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder/null.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if let Some(b) = &self.bitmap_builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder/null.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 176 ~ match &self.bitmap_builder { Some(b) => { [INFO] [stdout] 177 | b.len() [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | self.len [INFO] [stdout] 180 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn iter_padded(&self) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn iter_padded(&self) -> impl Iterator + 'a { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 297 | pub fn iter_padded(&self) -> impl Iterator + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating benches/i256.rs from 2021 edition to 2024 [INFO] [stderr] Fixed benches/i256.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.05s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking arrow-buffer v53.0.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/bigint/mod.rs:1098:58 [INFO] [stdout] | [INFO] [stdout] 1098 | l.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1098 | l.iter_mut().take(len).for_each(|x| *x = rng.r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/bigint/mod.rs:1102:58 [INFO] [stdout] | [INFO] [stdout] 1102 | r.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1102 | r.iter_mut().take(len).for_each(|x| *x = rng.r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/bigint/mod.rs:1098:58 [INFO] [stdout] | [INFO] [stdout] 1098 | l.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1098 | l.iter_mut().take(len).for_each(|x| *x = rng.r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/bigint/mod.rs:1102:58 [INFO] [stdout] | [INFO] [stdout] 1102 | r.iter_mut().take(len).for_each(|x| *x = rng.gen()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1102 | r.iter_mut().take(len).for_each(|x| *x = rng.r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:622:64 [INFO] [stdout] | [INFO] [stdout] 622 | let bools: Vec<_> = std::iter::from_fn(|| Some(rng.gen())) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 622 | let bools: Vec<_> = std::iter::from_fn(|| Some(rng.r#gen())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:629:30 [INFO] [stdout] | [INFO] [stdout] 629 | let offset = rng.gen::().checked_rem(max_offset).unwrap_or(0); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 629 | let offset = rng.r#gen::().checked_rem(max_offset).unwrap_or(0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:632:32 [INFO] [stdout] | [INFO] [stdout] 632 | let truncate = rng.gen::().checked_rem(max_truncate).unwrap_or(0); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 632 | let truncate = rng.r#gen::().checked_rem(max_truncate).unwrap_or(0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:622:64 [INFO] [stdout] | [INFO] [stdout] 622 | let bools: Vec<_> = std::iter::from_fn(|| Some(rng.gen())) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 622 | let bools: Vec<_> = std::iter::from_fn(|| Some(rng.r#gen())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:629:30 [INFO] [stdout] | [INFO] [stdout] 629 | let offset = rng.gen::().checked_rem(max_offset).unwrap_or(0); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 629 | let offset = rng.r#gen::().checked_rem(max_offset).unwrap_or(0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/bit_chunk_iterator.rs:632:32 [INFO] [stdout] | [INFO] [stdout] 632 | let truncate = rng.gen::().checked_rem(max_truncate).unwrap_or(0); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 632 | let truncate = rng.r#gen::().checked_rem(max_truncate).unwrap_or(0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Buffer::build_with_arguments(ptr, len, Deallocation::Standard(layout)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub unsafe fn from_raw_parts(ptr: NonNull, len: usize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Buffer::build_with_arguments(ptr, len, Deallocation::Custom(owner, len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / pub unsafe fn from_custom_allocation( [INFO] [stdout] 135 | | ptr: NonNull, [INFO] [stdout] 136 | | len: usize, [INFO] [stdout] 137 | | owner: Arc, [INFO] [stdout] 138 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bytes::Bytes::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let bytes = Bytes::new(ptr, len, deallocation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / unsafe fn build_with_arguments( [INFO] [stdout] 144 | | ptr: NonNull, [INFO] [stdout] 145 | | len: usize, [INFO] [stdout] 146 | | deallocation: Deallocation, [INFO] [stdout] 147 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | MutableBuffer::from_trusted_len_iter(iterator).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 436 | | iterator: I, [INFO] [stdout] 437 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | Ok(MutableBuffer::try_from_trusted_len_iter(iterator)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 449 | | E, [INFO] [stdout] 450 | | T: ArrowNativeType, [INFO] [stdout] 451 | | I: Iterator>, [INFO] [stdout] 452 | | >( [INFO] [stdout] 453 | | iterator: I, [INFO] [stdout] 454 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | let dst = self.data.as_ptr().add(self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | pub unsafe fn push_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | std::ptr::copy_nonoverlapping(src, dst, additional); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 577 | | iterator: I, [INFO] [stdout] 578 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 635 | | E, [INFO] [stdout] 636 | | T: ArrowNativeType, [INFO] [stdout] 637 | | I: Iterator>, [INFO] [stdout] 638 | | >( [INFO] [stdout] 639 | | iterator: I, [INFO] [stdout] 640 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter::finalize_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | finalize_buffer(dst, &mut buffer, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe fn finalize_buffer(dst: *mut u8, buffer: &mut MutableBuffer, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe fn get_bit_raw(data: *const u8, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn set_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn unset_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arrow-buffer` (lib) due to 6 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Buffer::build_with_arguments(ptr, len, Deallocation::Standard(layout)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub unsafe fn from_raw_parts(ptr: NonNull, len: usize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::immutable::Buffer::build_with_arguments` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Buffer::build_with_arguments(ptr, len, Deallocation::Custom(owner, len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / pub unsafe fn from_custom_allocation( [INFO] [stdout] 135 | | ptr: NonNull, [INFO] [stdout] 136 | | len: usize, [INFO] [stdout] 137 | | owner: Arc, [INFO] [stdout] 138 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bytes::Bytes::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let bytes = Bytes::new(ptr, len, deallocation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / unsafe fn build_with_arguments( [INFO] [stdout] 144 | | ptr: NonNull, [INFO] [stdout] 145 | | len: usize, [INFO] [stdout] 146 | | deallocation: Deallocation, [INFO] [stdout] 147 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | MutableBuffer::from_trusted_len_iter(iterator).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 436 | | iterator: I, [INFO] [stdout] 437 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/immutable.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | Ok(MutableBuffer::try_from_trusted_len_iter(iterator)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/immutable.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 449 | | E, [INFO] [stdout] 450 | | T: ArrowNativeType, [INFO] [stdout] 451 | | I: Iterator>, [INFO] [stdout] 452 | | >( [INFO] [stdout] 453 | | iterator: I, [INFO] [stdout] 454 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | let dst = self.data.as_ptr().add(self.len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | pub unsafe fn push_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | std::ptr::copy_nonoverlapping(src, dst, additional); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | / pub unsafe fn from_trusted_len_iter>( [INFO] [stdout] 577 | | iterator: I, [INFO] [stdout] 578 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | std::ptr::copy_nonoverlapping(src, dst, item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | / pub unsafe fn try_from_trusted_len_iter< [INFO] [stdout] 635 | | E, [INFO] [stdout] 636 | | T: ArrowNativeType, [INFO] [stdout] 637 | | I: Iterator>, [INFO] [stdout] 638 | | >( [INFO] [stdout] 639 | | iterator: I, [INFO] [stdout] 640 | | ) -> Result { [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | dst = dst.add(item_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `buffer::mutable::MutableBuffer::try_from_trusted_len_iter::finalize_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | finalize_buffer(dst, &mut buffer, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset_from` is unsafe and requires unsafe block [INFO] [stdout] --> src/buffer/mutable.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | dst.offset_from(buffer.data.as_ptr()) as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/buffer/mutable.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe fn finalize_buffer(dst: *mut u8, buffer: &mut MutableBuffer, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe fn get_bit_raw(data: *const u8, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | (*data.add(i / 8) & (1 << (i % 8))) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn set_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | *data.add(i / 8) |= 1 << (i % 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/bit_util.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn unset_bit_raw(data: *mut u8, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/bit_util.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | *data.add(i / 8) &= !(1 << (i % 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arrow-buffer` (lib test) due to 6 previous errors; 20 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e5839a004880d34daee029b0482e1d47096f79fadbb58b87fc8106b857a74db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5839a004880d34daee029b0482e1d47096f79fadbb58b87fc8106b857a74db0", kill_on_drop: false }` [INFO] [stdout] e5839a004880d34daee029b0482e1d47096f79fadbb58b87fc8106b857a74db0