[INFO] fetching crate planus 0.4.0... [INFO] checking planus-0.4.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate planus 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate planus 0.4.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 planus 0.4.0 [INFO] finished tweaking crates.io crate planus 0.4.0 [INFO] tweaked toml for crates.io crate planus 0.4.0 written to /workspace/builds/worker-0-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 20 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 62d122f83e9dfc90480217aa6c56de6d4e7e00bd747a20aa1a0f04d86df4e39f [INFO] running `Command { std: "docker" "start" "-a" "62d122f83e9dfc90480217aa6c56de6d4e7e00bd747a20aa1a0f04d86df4e39f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d122f83e9dfc90480217aa6c56de6d4e7e00bd747a20aa1a0f04d86df4e39f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d122f83e9dfc90480217aa6c56de6d4e7e00bd747a20aa1a0f04d86df4e39f", kill_on_drop: false }` [INFO] [stdout] 62d122f83e9dfc90480217aa6c56de6d4e7e00bd747a20aa1a0f04d86df4e39f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2f37537673741e029348225a0e61d25f46577cb782d4eccc41756fab0f635c64 [INFO] running `Command { std: "docker" "start" "-a" "2f37537673741e029348225a0e61d25f46577cb782d4eccc41756fab0f635c64", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking planus v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `planus` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/impls/primitives.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/impls/primitives.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | ($ty:ty, $size: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/impls/primitives.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | ($ty:ty, $size: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 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/backvec.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | let mut vec = BackVec::with_capacity(rng.gen::() % 64); [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/backvec.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | match rng.gen::() % 20 { [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/backvec.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | let capacity = rng.gen::() % 64; [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/backvec.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | let count = rng.gen::() % slice.len(); [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/backvec.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | if 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/backvec.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | ... *p = 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/builder.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | let size: usize = rng.gen::() % slice.len(); [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/builder.rs:297:50 [INFO] [stdout] | [INFO] [stdout] 297 | let alignment: usize = 1 << (rng.gen::() % 5); [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/builder.rs:306:45 [INFO] [stdout] | [INFO] [stdout] 306 | let random_padding: usize = rng.gen::() % slice.len(); [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/builder.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | *p = 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impls/primitives.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | ($ty:ty, $size: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] 8 | ($ty:ty, $size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impls/primitives.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | ($ty:ty, $size: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] 64 | ($ty:ty, $size:expr_2021) => { [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/backvec.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let ptr = self.ptr.as_ptr().add(new_offset) as *mut MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/backvec.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn extend_write(&mut self, count: usize, f: impl FnOnce(&mut [MaybeUninit])) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/backvec.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let slice = core::slice::from_raw_parts_mut(ptr, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `backvec::BackVec::extend_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.inner.extend_write(size, |bytes| f(offset, bytes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/builder.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / pub unsafe fn write_with( [INFO] [stdout] 202 | | &mut self, [INFO] [stdout] 203 | | size: usize, [INFO] [stdout] 204 | | alignment_mask: usize, [INFO] [stdout] 205 | | f: impl FnOnce(u32, &mut [MaybeUninit]), [INFO] [stdout] 206 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | *buffer.as_slice().get_unchecked(offset) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/bool_.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [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/impls/bool_.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / unsafe fn write_values( [INFO] [stdout] 78 | | values: &[Self::Value], [INFO] [stdout] 79 | | bytes: *mut MaybeUninit, [INFO] [stdout] 80 | | buffer_position: u32, [INFO] [stdout] 81 | | ) { [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/impls/bool_.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/offset.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [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/impls/offset.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe fn write_values( [INFO] [stdout] 52 | | values: &[Offset], [INFO] [stdout] 53 | | bytes: *mut MaybeUninit, [INFO] [stdout] 54 | | buffer_position: u32, [INFO] [stdout] 55 | | ) { [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/impls/offset.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorWrite::write_values` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/ref_.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | T::write_values(values, bytes, buffer_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/ref_.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / unsafe fn write_values( [INFO] [stdout] 68 | | values: &[Self::Value], [INFO] [stdout] 69 | | bytes: *mut MaybeUninit, [INFO] [stdout] 70 | | buffer_position: u32, [INFO] [stdout] 71 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorReadInner::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/result.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(T::from_buffer(buffer, offset)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/result.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn from_buffer(buffer: crate::SliceWithStartOffset<'buf>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/str.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [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/impls/str.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / unsafe fn write_values( [INFO] [stdout] 145 | | values: &[Offset], [INFO] [stdout] 146 | | bytes: *mut MaybeUninit, [INFO] [stdout] 147 | | buffer_position: u32, [INFO] [stdout] 148 | | ) { [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/impls/str.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/string.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [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/impls/string.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / unsafe fn write_values( [INFO] [stdout] 55 | | values: &[Offset], [INFO] [stdout] 56 | | bytes: *mut MaybeUninit, [INFO] [stdout] 57 | | buffer_position: u32, [INFO] [stdout] 58 | | ) { [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/impls/string.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice_helpers.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let buffer = self.buffer.get_unchecked(amount..amount + N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/slice_helpers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe fn unchecked_advance_as_array( [INFO] [stdout] 53 | | &self, [INFO] [stdout] 54 | | amount: usize, [INFO] [stdout] 55 | | ) -> ArrayWithStartOffset<'buf, N> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | index.get_unchecked(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / pub unsafe fn get_unchecked(self, index: I) -> I::Output [INFO] [stdout] 104 | | where [INFO] [stdout] 105 | | I: VectorIndex<'buf, T>, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub unsafe fn split_at_unchecked(self, mid: usize) -> (Vector<'buf, T>, Vector<'buf, T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | into_range_unchecked(vector.len, self).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorRead::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | T::from_buffer(vector.buffer, T::STRIDE * self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | (self.start..vector.len).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | (*self.start()..self.end() + 1).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | (0..self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | (0..=self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / builder.write_with( [INFO] [stdout] 68 | | self.object_size - 4, [INFO] [stdout] 69 | | self.object_alignment_mask, [INFO] [stdout] 70 | | |offset, bytes| { [INFO] [stdout] 71 | | f(&mut ObjectWriter { offset, bytes }); [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/table_writer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe fn finish(mut self, builder: &mut Builder, f: impl FnOnce(&mut ObjectWriter<'_>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / builder.write_with(4, 0, |buffer_position, bytes| { [INFO] [stdout] 75 | | let len = (vtable_offset as i32 - buffer_position as i32) [INFO] [stdout] 76 | | .to_le_bytes() [INFO] [stdout] 77 | | .map(MaybeUninit::new); [INFO] [stdout] 78 | | bytes.copy_from_slice(&len); [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/iterators.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some((first, remaining)) = self.v.split_first() { [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/vectors/iterators.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 48 ~ match self.v.split_first() { Some((first, remaining)) => { [INFO] [stdout] 49 | self.v = remaining; [INFO] [stdout] 50 | Some(first) [INFO] [stdout] 51 ~ } _ => { [INFO] [stdout] 52 | None [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/vectors/iterators.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some((last, remaining)) = self.v.split_last() { [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/vectors/iterators.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } 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.v.split_last() { Some((last, remaining)) => { [INFO] [stdout] 83 | self.v = remaining; [INFO] [stdout] 84 | Some(last) [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | None [INFO] [stdout] 87 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `planus` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/impls/primitives.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/impls/primitives.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | ($ty:ty, $size: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/impls/primitives.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | ($ty:ty, $size: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 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/backvec.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | let mut vec = BackVec::with_capacity(rng.gen::() % 64); [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/backvec.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | match rng.gen::() % 20 { [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/backvec.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | let capacity = rng.gen::() % 64; [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/backvec.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | let count = rng.gen::() % slice.len(); [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/backvec.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | if 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/backvec.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | ... *p = 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/builder.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | let size: usize = rng.gen::() % slice.len(); [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/builder.rs:297:50 [INFO] [stdout] | [INFO] [stdout] 297 | let alignment: usize = 1 << (rng.gen::() % 5); [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/builder.rs:306:45 [INFO] [stdout] | [INFO] [stdout] 306 | let random_padding: usize = rng.gen::() % slice.len(); [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/builder.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | *p = 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impls/primitives.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | ($ty:ty, $size: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] 8 | ($ty:ty, $size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impls/primitives.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | ($ty:ty, $size: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] 64 | ($ty:ty, $size:expr_2021) => { [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/backvec.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let ptr = self.ptr.as_ptr().add(new_offset) as *mut MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/backvec.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn extend_write(&mut self, count: usize, f: impl FnOnce(&mut [MaybeUninit])) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/backvec.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let slice = core::slice::from_raw_parts_mut(ptr, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `backvec::BackVec::extend_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.inner.extend_write(size, |bytes| f(offset, bytes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/builder.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / pub unsafe fn write_with( [INFO] [stdout] 202 | | &mut self, [INFO] [stdout] 203 | | size: usize, [INFO] [stdout] 204 | | alignment_mask: usize, [INFO] [stdout] 205 | | f: impl FnOnce(u32, &mut [MaybeUninit]), [INFO] [stdout] 206 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | *buffer.as_slice().get_unchecked(offset) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/bool_.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [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/impls/bool_.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / unsafe fn write_values( [INFO] [stdout] 78 | | values: &[Self::Value], [INFO] [stdout] 79 | | bytes: *mut MaybeUninit, [INFO] [stdout] 80 | | buffer_position: u32, [INFO] [stdout] 81 | | ) { [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/impls/bool_.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/offset.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [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/impls/offset.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe fn write_values( [INFO] [stdout] 52 | | values: &[Offset], [INFO] [stdout] 53 | | bytes: *mut MaybeUninit, [INFO] [stdout] 54 | | buffer_position: u32, [INFO] [stdout] 55 | | ) { [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/impls/offset.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorWrite::write_values` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/ref_.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | T::write_values(values, bytes, buffer_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/ref_.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / unsafe fn write_values( [INFO] [stdout] 68 | | values: &[Self::Value], [INFO] [stdout] 69 | | bytes: *mut MaybeUninit, [INFO] [stdout] 70 | | buffer_position: u32, [INFO] [stdout] 71 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorReadInner::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/result.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(T::from_buffer(buffer, offset)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/result.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn from_buffer(buffer: crate::SliceWithStartOffset<'buf>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/str.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [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/impls/str.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / unsafe fn write_values( [INFO] [stdout] 145 | | values: &[Offset], [INFO] [stdout] 146 | | bytes: *mut MaybeUninit, [INFO] [stdout] 147 | | buffer_position: u32, [INFO] [stdout] 148 | | ) { [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/impls/str.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/string.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [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/impls/string.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / unsafe fn write_values( [INFO] [stdout] 55 | | values: &[Offset], [INFO] [stdout] 56 | | bytes: *mut MaybeUninit, [INFO] [stdout] 57 | | buffer_position: u32, [INFO] [stdout] 58 | | ) { [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/impls/string.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice_helpers.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let buffer = self.buffer.get_unchecked(amount..amount + N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/slice_helpers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe fn unchecked_advance_as_array( [INFO] [stdout] 53 | | &self, [INFO] [stdout] 54 | | amount: usize, [INFO] [stdout] 55 | | ) -> ArrayWithStartOffset<'buf, N> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | index.get_unchecked(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / pub unsafe fn get_unchecked(self, index: I) -> I::Output [INFO] [stdout] 104 | | where [INFO] [stdout] 105 | | I: VectorIndex<'buf, T>, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub unsafe fn split_at_unchecked(self, mid: usize) -> (Vector<'buf, T>, Vector<'buf, T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | into_range_unchecked(vector.len, self).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorRead::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | T::from_buffer(vector.buffer, T::STRIDE * self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | (self.start..vector.len).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | (*self.start()..self.end() + 1).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | (0..self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | (0..=self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / builder.write_with( [INFO] [stdout] 68 | | self.object_size - 4, [INFO] [stdout] 69 | | self.object_alignment_mask, [INFO] [stdout] 70 | | |offset, bytes| { [INFO] [stdout] 71 | | f(&mut ObjectWriter { offset, bytes }); [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/table_writer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe fn finish(mut self, builder: &mut Builder, f: impl FnOnce(&mut ObjectWriter<'_>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / builder.write_with(4, 0, |buffer_position, bytes| { [INFO] [stdout] 75 | | let len = (vtable_offset as i32 - buffer_position as i32) [INFO] [stdout] 76 | | .to_le_bytes() [INFO] [stdout] 77 | | .map(MaybeUninit::new); [INFO] [stdout] 78 | | bytes.copy_from_slice(&len); [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/iterators.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some((first, remaining)) = self.v.split_first() { [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/vectors/iterators.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 48 ~ match self.v.split_first() { Some((first, remaining)) => { [INFO] [stdout] 49 | self.v = remaining; [INFO] [stdout] 50 | Some(first) [INFO] [stdout] 51 ~ } _ => { [INFO] [stdout] 52 | None [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/vectors/iterators.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some((last, remaining)) = self.v.split_last() { [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/vectors/iterators.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } 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.v.split_last() { Some((last, remaining)) => { [INFO] [stdout] 83 | self.v = remaining; [INFO] [stdout] 84 | Some(last) [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | None [INFO] [stdout] 87 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking planus v0.4.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | let mut vec = BackVec::with_capacity(rng.gen::() % 64); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | let mut vec = BackVec::with_capacity(rng.r#gen::() % 64); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | match rng.gen::() % 20 { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 148 | match rng.r#gen::() % 20 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | let mut vec = BackVec::with_capacity(rng.gen::() % 64); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | let mut vec = BackVec::with_capacity(rng.r#gen::() % 64); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | let capacity = rng.gen::() % 64; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 156 | let capacity = rng.r#gen::() % 64; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | match rng.gen::() % 20 { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 148 | match rng.r#gen::() % 20 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | let count = rng.gen::() % slice.len(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 165 | let count = rng.r#gen::() % slice.len(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | if 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] 169 | if rng.r#gen() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | let capacity = rng.gen::() % 64; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 156 | let capacity = rng.r#gen::() % 64; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | ... *p = 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] 171 | *p = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | let count = rng.gen::() % slice.len(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 165 | let count = rng.r#gen::() % slice.len(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | if 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] 169 | if rng.r#gen() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/backvec.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | ... *p = 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] 171 | *p = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | let size: usize = rng.gen::() % slice.len(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 292 | let size: usize = rng.r#gen::() % slice.len(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:297:50 [INFO] [stdout] | [INFO] [stdout] 297 | let alignment: usize = 1 << (rng.gen::() % 5); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 297 | let alignment: usize = 1 << (rng.r#gen::() % 5); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | let size: usize = rng.gen::() % slice.len(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 292 | let size: usize = rng.r#gen::() % slice.len(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:306:45 [INFO] [stdout] | [INFO] [stdout] 306 | let random_padding: usize = rng.gen::() % slice.len(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 306 | let random_padding: usize = rng.r#gen::() % slice.len(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | *p = 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] 309 | *p = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:297:50 [INFO] [stdout] | [INFO] [stdout] 297 | let alignment: usize = 1 << (rng.gen::() % 5); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 297 | let alignment: usize = 1 << (rng.r#gen::() % 5); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:306:45 [INFO] [stdout] | [INFO] [stdout] 306 | let random_padding: usize = rng.gen::() % slice.len(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 306 | let random_padding: usize = rng.r#gen::() % slice.len(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/builder.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | *p = 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] 309 | *p = rng.r#gen(); [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/backvec.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let ptr = self.ptr.as_ptr().add(new_offset) as *mut MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/backvec.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn extend_write(&mut self, count: usize, f: impl FnOnce(&mut [MaybeUninit])) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/backvec.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let slice = core::slice::from_raw_parts_mut(ptr, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `backvec::BackVec::extend_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.inner.extend_write(size, |bytes| f(offset, bytes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/builder.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / pub unsafe fn write_with( [INFO] [stdout] 202 | | &mut self, [INFO] [stdout] 203 | | size: usize, [INFO] [stdout] 204 | | alignment_mask: usize, [INFO] [stdout] 205 | | f: impl FnOnce(u32, &mut [MaybeUninit]), [INFO] [stdout] 206 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | *buffer.as_slice().get_unchecked(offset) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/bool_.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [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/impls/bool_.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / unsafe fn write_values( [INFO] [stdout] 78 | | values: &[Self::Value], [INFO] [stdout] 79 | | bytes: *mut MaybeUninit, [INFO] [stdout] 80 | | buffer_position: u32, [INFO] [stdout] 81 | | ) { [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/impls/bool_.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/offset.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [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/impls/offset.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe fn write_values( [INFO] [stdout] 52 | | values: &[Offset], [INFO] [stdout] 53 | | bytes: *mut MaybeUninit, [INFO] [stdout] 54 | | buffer_position: u32, [INFO] [stdout] 55 | | ) { [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/impls/offset.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/backvec.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let ptr = self.ptr.as_ptr().add(new_offset) as *mut MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/backvec.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn extend_write(&mut self, count: usize, f: impl FnOnce(&mut [MaybeUninit])) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/backvec.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let slice = core::slice::from_raw_parts_mut(ptr, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `backvec::BackVec::extend_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.inner.extend_write(size, |bytes| f(offset, bytes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/builder.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / pub unsafe fn write_with( [INFO] [stdout] 202 | | &mut self, [INFO] [stdout] 203 | | size: usize, [INFO] [stdout] 204 | | alignment_mask: usize, [INFO] [stdout] 205 | | f: impl FnOnce(u32, &mut [MaybeUninit]), [INFO] [stdout] 206 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorWrite::write_values` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/ref_.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | T::write_values(values, bytes, buffer_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/ref_.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / unsafe fn write_values( [INFO] [stdout] 68 | | values: &[Self::Value], [INFO] [stdout] 69 | | bytes: *mut MaybeUninit, [INFO] [stdout] 70 | | buffer_position: u32, [INFO] [stdout] 71 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorReadInner::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/result.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(T::from_buffer(buffer, offset)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/result.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn from_buffer(buffer: crate::SliceWithStartOffset<'buf>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | *buffer.as_slice().get_unchecked(offset) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/bool_.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/bool_.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [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/impls/bool_.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / unsafe fn write_values( [INFO] [stdout] 78 | | values: &[Self::Value], [INFO] [stdout] 79 | | bytes: *mut MaybeUninit, [INFO] [stdout] 80 | | buffer_position: u32, [INFO] [stdout] 81 | | ) { [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/impls/bool_.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | v.write(Cursor::new(&mut *bytes.add(i)), buffer_position - i as u32); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/str.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [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/impls/str.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / unsafe fn write_values( [INFO] [stdout] 145 | | values: &[Offset], [INFO] [stdout] 146 | | bytes: *mut MaybeUninit, [INFO] [stdout] 147 | | buffer_position: u32, [INFO] [stdout] 148 | | ) { [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/impls/str.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/string.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [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/impls/string.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / unsafe fn write_values( [INFO] [stdout] 55 | | values: &[Offset], [INFO] [stdout] 56 | | bytes: *mut MaybeUninit, [INFO] [stdout] 57 | | buffer_position: u32, [INFO] [stdout] 58 | | ) { [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/impls/string.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/offset.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [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/impls/offset.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe fn write_values( [INFO] [stdout] 52 | | values: &[Offset], [INFO] [stdout] 53 | | bytes: *mut MaybeUninit, [INFO] [stdout] 54 | | buffer_position: u32, [INFO] [stdout] 55 | | ) { [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/impls/offset.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice_helpers.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let buffer = self.buffer.get_unchecked(amount..amount + N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/slice_helpers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe fn unchecked_advance_as_array( [INFO] [stdout] 53 | | &self, [INFO] [stdout] 54 | | amount: usize, [INFO] [stdout] 55 | | ) -> ArrayWithStartOffset<'buf, N> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 103 | gen_primitive_types_with_vectors!(i16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 104 | gen_primitive_types_with_vectors!(u16, 2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 105 | gen_primitive_types_with_vectors!(i32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 106 | gen_primitive_types_with_vectors!(u32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 107 | gen_primitive_types_with_vectors!(i64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 108 | gen_primitive_types_with_vectors!(u64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 109 | gen_primitive_types_with_vectors!(f32, 4); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `slice_helpers::SliceWithStartOffset::<'buf>::unchecked_advance_as_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let buffer = buffer.unchecked_advance_as_array(offset).as_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/primitives.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn from_buffer(buffer: SliceWithStartOffset<'buf>, offset: usize) -> $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/primitives.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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/impls/primitives.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / unsafe fn write_values( [INFO] [stdout] 85 | | values: &[$ty], [INFO] [stdout] 86 | | bytes: *mut MaybeUninit, [INFO] [stdout] 87 | | buffer_position: u32, [INFO] [stdout] 88 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [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/impls/primitives.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 110 | gen_primitive_types_with_vectors!(f64, 8); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: 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: this warning originates in the macro `gen_primitive_types_with_vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorWrite::write_values` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/ref_.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | T::write_values(values, bytes, buffer_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/ref_.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / unsafe fn write_values( [INFO] [stdout] 68 | | values: &[Self::Value], [INFO] [stdout] 69 | | bytes: *mut MaybeUninit, [INFO] [stdout] 70 | | buffer_position: u32, [INFO] [stdout] 71 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorReadInner::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/impls/result.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(T::from_buffer(buffer, offset)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impls/result.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn from_buffer(buffer: crate::SliceWithStartOffset<'buf>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | index.get_unchecked(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / pub unsafe fn get_unchecked(self, index: I) -> I::Output [INFO] [stdout] 104 | | where [INFO] [stdout] 105 | | I: VectorIndex<'buf, T>, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub unsafe fn split_at_unchecked(self, mid: usize) -> (Vector<'buf, T>, Vector<'buf, T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/str.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [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/impls/str.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / unsafe fn write_values( [INFO] [stdout] 145 | | values: &[Offset], [INFO] [stdout] 146 | | bytes: *mut MaybeUninit, [INFO] [stdout] 147 | | buffer_position: u32, [INFO] [stdout] 148 | | ) { [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/impls/str.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/impls/string.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [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/impls/string.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / unsafe fn write_values( [INFO] [stdout] 55 | | values: &[Offset], [INFO] [stdout] 56 | | bytes: *mut MaybeUninit, [INFO] [stdout] 57 | | buffer_position: u32, [INFO] [stdout] 58 | | ) { [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/impls/string.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | Cursor::new(&mut *bytes.add(i)), [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | into_range_unchecked(vector.len, self).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorRead::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | T::from_buffer(vector.buffer, T::STRIDE * self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | (self.start..vector.len).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | (*self.start()..self.end() + 1).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice_helpers.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let buffer = self.buffer.get_unchecked(amount..amount + N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/slice_helpers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe fn unchecked_advance_as_array( [INFO] [stdout] 53 | | &self, [INFO] [stdout] 54 | | amount: usize, [INFO] [stdout] 55 | | ) -> ArrayWithStartOffset<'buf, N> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | (0..self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | (0..=self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / builder.write_with( [INFO] [stdout] 68 | | self.object_size - 4, [INFO] [stdout] 69 | | self.object_alignment_mask, [INFO] [stdout] 70 | | |offset, bytes| { [INFO] [stdout] 71 | | f(&mut ObjectWriter { offset, bytes }); [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/table_writer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe fn finish(mut self, builder: &mut Builder, f: impl FnOnce(&mut ObjectWriter<'_>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / builder.write_with(4, 0, |buffer_position, bytes| { [INFO] [stdout] 75 | | let len = (vtable_offset as i32 - buffer_position as i32) [INFO] [stdout] 76 | | .to_le_bytes() [INFO] [stdout] 77 | | .map(MaybeUninit::new); [INFO] [stdout] 78 | | bytes.copy_from_slice(&len); [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 10 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | index.get_unchecked(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / pub unsafe fn get_unchecked(self, index: I) -> I::Output [INFO] [stdout] 104 | | where [INFO] [stdout] 105 | | I: VectorIndex<'buf, T>, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub unsafe fn split_at_unchecked(self, mid: usize) -> (Vector<'buf, T>, Vector<'buf, T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::Vector::<'buf, T>::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | (self.get_unchecked(..mid), self.get_unchecked(mid..)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | into_range_unchecked(vector.len, self).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `traits::VectorRead::from_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | T::from_buffer(vector.buffer, T::STRIDE * self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `planus` (lib) due to 11 previous errors; 50 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | (self.start..vector.len).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | (*self.start()..self.end() + 1).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | (0..self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vectors::vector::VectorIndex::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/vectors/vector.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | (0..=self.end).get_unchecked(vector) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vectors/vector.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn get_unchecked(self, vector: Vector<'buf, T>) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / builder.write_with( [INFO] [stdout] 68 | | self.object_size - 4, [INFO] [stdout] 69 | | self.object_alignment_mask, [INFO] [stdout] 70 | | |offset, bytes| { [INFO] [stdout] 71 | | f(&mut ObjectWriter { offset, bytes }); [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/table_writer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe fn finish(mut self, builder: &mut Builder, f: impl FnOnce(&mut ObjectWriter<'_>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `builder::Builder::write_with` is unsafe and requires unsafe block [INFO] [stdout] --> src/table_writer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / builder.write_with(4, 0, |buffer_position, bytes| { [INFO] [stdout] 75 | | let len = (vtable_offset as i32 - buffer_position as i32) [INFO] [stdout] 76 | | .to_le_bytes() [INFO] [stdout] 77 | | .map(MaybeUninit::new); [INFO] [stdout] 78 | | bytes.copy_from_slice(&len); [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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 10 previous errors; 50 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 `planus` (lib test) due to 11 previous errors; 50 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" "2f37537673741e029348225a0e61d25f46577cb782d4eccc41756fab0f635c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f37537673741e029348225a0e61d25f46577cb782d4eccc41756fab0f635c64", kill_on_drop: false }` [INFO] [stdout] 2f37537673741e029348225a0e61d25f46577cb782d4eccc41756fab0f635c64