[INFO] fetching crate heapless 0.8.0... [INFO] checking heapless-0.8.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate heapless 0.8.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate heapless 0.8.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate heapless 0.8.0 [INFO] finished tweaking crates.io crate heapless 0.8.0 [INFO] tweaked toml for crates.io crate heapless 0.8.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded ufmt-macros v0.3.0 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded defmt-macros v0.3.7 [INFO] [stderr] Downloaded defmt-parser v0.3.4 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded ufmt v0.2.0 [INFO] [stderr] Downloaded portable-atomic v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d2e5bc87d158d72353cfbf9bfaecda2cc137f0cc4fbb11dab554f36fdae5136 [INFO] running `Command { std: "docker" "start" "-a" "8d2e5bc87d158d72353cfbf9bfaecda2cc137f0cc4fbb11dab554f36fdae5136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d2e5bc87d158d72353cfbf9bfaecda2cc137f0cc4fbb11dab554f36fdae5136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2e5bc87d158d72353cfbf9bfaecda2cc137f0cc4fbb11dab554f36fdae5136", kill_on_drop: false }` [INFO] [stdout] 8d2e5bc87d158d72353cfbf9bfaecda2cc137f0cc4fbb11dab554f36fdae5136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a0424dcb1574a5ba718a1c87a9b866bde99b993aa2daf98f6ac16fb954662c1 [INFO] running `Command { std: "docker" "start" "-a" "9a0424dcb1574a5ba718a1c87a9b866bde99b993aa2daf98f6ac16fb954662c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/indexmap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/indexset.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/linear_map.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use core::{borrow::Borrow, fmt, iter::FromIterator, mem, ops, slice}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/vec.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{cmp::Ordering, fmt, hash, iter::FromIterator, mem::MaybeUninit, ops, ptr, slice}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `heapless` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9a0424dcb1574a5ba718a1c87a9b866bde99b993aa2daf98f6ac16fb954662c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0424dcb1574a5ba718a1c87a9b866bde99b993aa2daf98f6ac16fb954662c1", kill_on_drop: false }` [INFO] [stdout] 9a0424dcb1574a5ba718a1c87a9b866bde99b993aa2daf98f6ac16fb954662c1 [INFO] checking heapless-0.8.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate heapless 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate heapless 0.8.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate heapless 0.8.0 [INFO] finished tweaking crates.io crate heapless 0.8.0 [INFO] tweaked toml for crates.io crate heapless 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fbfc4609a9cf302954e579d3972678fca04a0f0054f44a7e93b1fc5bb31151c [INFO] running `Command { std: "docker" "start" "-a" "1fbfc4609a9cf302954e579d3972678fca04a0f0054f44a7e93b1fc5bb31151c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fbfc4609a9cf302954e579d3972678fca04a0f0054f44a7e93b1fc5bb31151c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbfc4609a9cf302954e579d3972678fca04a0f0054f44a7e93b1fc5bb31151c", kill_on_drop: false }` [INFO] [stdout] 1fbfc4609a9cf302954e579d3972678fca04a0f0054f44a7e93b1fc5bb31151c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bc346a1f40b6636603ca9377c1624c2e7f2e6a1ebe0d9e144f42252d42889d0 [INFO] running `Command { std: "docker" "start" "-a" "8bc346a1f40b6636603ca9377c1624c2e7f2e6a1ebe0d9e144f42252d42889d0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 (/tmp/fixit) [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/indexmap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/indexset.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/linear_map.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use core::{borrow::Borrow, fmt, iter::FromIterator, mem, ops, slice}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/vec.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{cmp::Ordering, fmt, hash, iter::FromIterator, mem::MaybeUninit, ops, ptr, slice}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/prelude/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::drop_in_place` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | ptr::drop_in_place(a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/deque.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe fn drop_contents(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::drop_in_place` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | ptr::drop_in_place(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::const_ptr::::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | (self.buffer.get_unchecked_mut(index).as_ptr() as *const T).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/deque.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub unsafe fn pop_front_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | (self.buffer.get_unchecked_mut(index).as_ptr() as *const T).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::const_ptr::::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | (self.buffer.get_unchecked_mut(self.back).as_ptr() as *const T).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/deque.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub unsafe fn pop_back_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | (self.buffer.get_unchecked_mut(self.back).as_ptr() as *const T).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | *self.buffer.get_unchecked_mut(index) = MaybeUninit::new(item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/deque.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub unsafe fn push_front_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/deque.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | *self.buffer.get_unchecked_mut(self.back) = MaybeUninit::new(item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/deque.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | pub unsafe fn push_back_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::const_ptr::::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | (self.buffer.get_unchecked_mut(self.len).as_ptr() as *const T).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vec.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | pub unsafe fn pop_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | (self.buffer.get_unchecked_mut(self.len).as_ptr() as *const T).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | *self.buffer.get_unchecked_mut(self.len) = MaybeUninit::new(item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vec.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub unsafe fn push_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let value = ptr::read(self.as_ptr().add(index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/vec.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | pub unsafe fn swap_remove_unchecked(&mut self, index: usize) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::const_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | let value = ptr::read(self.as_ptr().add(index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::intrinsics::copy` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | ptr::copy(base_ptr.add(length - 1), base_ptr.add(index), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:501:19 [INFO] [stdout] | [INFO] [stdout] 501 | ptr::copy(base_ptr.add(length - 1), base_ptr.add(index), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/vec.rs:501:45 [INFO] [stdout] | [INFO] [stdout] 501 | ptr::copy(base_ptr.add(length - 1), base_ptr.add(index), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `vec::Vec::::pop_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let mut item = self.data.pop_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/binary_heap.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub unsafe fn pop_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | mem::swap(&mut item, self.data.as_mut_slice().get_unchecked_mut(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `vec::Vec::::push_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | self.data.push_unchecked(item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/binary_heap.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub unsafe fn push_unchecked(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | let elt = ptr::read(data.get_unchecked(pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/binary_heap.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe fn new(data: &'a mut [T], pos: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | let elt = ptr::read(data.get_unchecked(pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | self.data.get_unchecked(index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/binary_heap.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | unsafe fn get(&self, index: usize) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:437:35 [INFO] [stdout] | [INFO] [stdout] 437 | let index_ptr: *const _ = ptr.add(index); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/binary_heap.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe fn move_to(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | let hole_ptr = ptr.add(self.pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binary_heap.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | ptr::copy_nonoverlapping(index_ptr, hole_ptr, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | cell = buffer.add(usize::from(pos & mask)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/mpmc.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / unsafe fn dequeue( [INFO] [stdout] 208 | | buffer: *mut Cell, [INFO] [stdout] 209 | | dequeue_pos: &AtomicTargetSize, [INFO] [stdout] 210 | | mask: IntSize, [INFO] [stdout] 211 | | ) -> Option { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | let seq = (*cell).sequence.load(Ordering::Acquire); [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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::const_ptr::::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | let data = (*cell).data.as_ptr().read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | let data = (*cell).data.as_ptr().read(); [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] [INFO] [stdout] [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | (*cell) [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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | cell = buffer.add(usize::from(pos & mask)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/mpmc.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | / unsafe fn enqueue( [INFO] [stdout] 247 | | buffer: *mut Cell, [INFO] [stdout] 248 | | enqueue_pos: &AtomicTargetSize, [INFO] [stdout] 249 | | mask: IntSize, [INFO] [stdout] 250 | | item: T, [INFO] [stdout] 251 | | ) -> Result<(), T> { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | let seq = (*cell).sequence.load(Ordering::Acquire); [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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::mut_ptr::::write` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | (*cell).data.as_mut_ptr().write(item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | (*cell).data.as_mut_ptr().write(item); [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] [INFO] [stdout] [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/mpmc.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | (*cell) [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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `sorted_linked_list::LinkedIndexU8::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Self::new_unchecked(val as $ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 181 | impl_index_and_const_new!(LinkedIndexU8, u8, new_u8, { u8::MAX as usize - 1 }); [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/sorted_linked_list.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe fn new_unchecked(val: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl_index_and_const_new!(LinkedIndexU8, u8, new_u8, { u8::MAX as usize - 1 }); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_index_and_const_new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `sorted_linked_list::LinkedIndexU16::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Self::new_unchecked(val as $ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 182 | impl_index_and_const_new!(LinkedIndexU16, u16, new_u16, { u16::MAX as usize - 1 }); [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/sorted_linked_list.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe fn new_unchecked(val: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | impl_index_and_const_new!(LinkedIndexU16, u16, new_u16, { u16::MAX as usize - 1 }); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_index_and_const_new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `sorted_linked_list::LinkedIndexUsize::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Self::new_unchecked(val as $ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 183 | impl_index_and_const_new!(LinkedIndexUsize, usize, new_usize, { usize::MAX - 1 }); [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/sorted_linked_list.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe fn new_unchecked(val: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | impl_index_and_const_new!(LinkedIndexUsize, usize, new_usize, { usize::MAX - 1 }); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_index_and_const_new` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `sorted_linked_list::SortedLinkedListIndex::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | let new = self.free.get_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/sorted_linked_list.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | pub unsafe fn push_unchecked(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `sorted_linked_list::SortedLinkedListIndex::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | self.head = Idx::new_unchecked(new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `sorted_linked_list::SortedLinkedListIndex::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:280:50 [INFO] [stdout] | [INFO] [stdout] 280 | self.node_at_mut(current).next = Idx::new_unchecked(new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `sorted_linked_list::SortedLinkedListIndex::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | self.head = Idx::new_unchecked(new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `sorted_linked_list::SortedLinkedListIndex::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 439 | let head = self.head.get_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/sorted_linked_list.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | pub unsafe fn pop_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `sorted_linked_list::SortedLinkedListIndex::new_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/sorted_linked_list.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | self.free = Idx::new_unchecked(current); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::mut_ptr::::write` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | (self.buffer.get_unchecked(current_tail).get()).write(MaybeUninit::new(val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | unsafe fn inner_enqueue(&self, val: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | (self.buffer.get_unchecked(current_tail).get()).write(MaybeUninit::new(val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::mut_ptr::::write` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | (self.buffer.get_unchecked(current_tail).get()).write(MaybeUninit::new(val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | unsafe fn inner_enqueue_unchecked(&self, val: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | (self.buffer.get_unchecked(current_tail).get()).write(MaybeUninit::new(val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `spsc::Queue::::inner_enqueue_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | self.inner_enqueue_unchecked(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub unsafe fn enqueue_unchecked(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::ptr::const_ptr::::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | let v = (self.buffer.get_unchecked(current_head).get() as *const T).read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn inner_dequeue(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let v = (self.buffer.get_unchecked(current_head).get() as *const T).read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: call to unsafe function `core::ptr::const_ptr::::read` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let v = (self.buffer.get_unchecked(current_head).get() as *const T).read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | unsafe fn inner_dequeue_unchecked(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `heapless` (lib) due to 5 previous errors; 56 warnings emitted [INFO] [stdout] warning: call to unsafe function `core::slice::::get_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let v = (self.buffer.get_unchecked(current_head).get() as *const T).read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to unsafe function `spsc::Queue::::inner_dequeue_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | self.inner_dequeue_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub unsafe fn dequeue_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `spsc::Queue::::inner_dequeue_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | self.rb.inner_dequeue_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | pub unsafe fn dequeue_unchecked(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `spsc::Queue::::inner_enqueue_unchecked` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/spsc.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | self.rb.inner_enqueue_unchecked(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/spsc.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | pub unsafe fn enqueue_unchecked(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8bc346a1f40b6636603ca9377c1624c2e7f2e6a1ebe0d9e144f42252d42889d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc346a1f40b6636603ca9377c1624c2e7f2e6a1ebe0d9e144f42252d42889d0", kill_on_drop: false }` [INFO] [stdout] 8bc346a1f40b6636603ca9377c1624c2e7f2e6a1ebe0d9e144f42252d42889d0