[INFO] fetching crate embassy-executor 0.6.0... [INFO] checking embassy-executor-0.6.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate embassy-executor 0.6.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate embassy-executor 0.6.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 embassy-executor 0.6.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate embassy-executor 0.6.0 [INFO] tweaked toml for crates.io crate embassy-executor 0.6.0 written to /workspace/builds/worker-4-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 52 packages to latest compatible versions [INFO] [stderr] Adding avr-device v0.5.4 (available: v0.6.0) [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.17.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9352b537d905e32cf33dce3a4ed9f6da6699c34b9a0f76a95d912d7892e1ca64 [INFO] running `Command { std: "docker" "start" "-a" "9352b537d905e32cf33dce3a4ed9f6da6699c34b9a0f76a95d912d7892e1ca64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9352b537d905e32cf33dce3a4ed9f6da6699c34b9a0f76a95d912d7892e1ca64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9352b537d905e32cf33dce3a4ed9f6da6699c34b9a0f76a95d912d7892e1ca64", kill_on_drop: false }` [INFO] [stdout] 9352b537d905e32cf33dce3a4ed9f6da6699c34b9a0f76a95d912d7892e1ca64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a64acce7fb64952f37337ac7947b1a25729bc1f62ff0b004f4ef3351904cab09 [INFO] running `Command { std: "docker" "start" "-a" "a64acce7fb64952f37337ac7947b1a25729bc1f62ff0b004f4ef3351904cab09", 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 (3 fixes) [INFO] [stderr] Compiling embassy-executor v0.6.0 (/tmp/fixit) [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking critical-section v1.1.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling embassy-executor-macros v0.5.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `embassy_executor` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fmt.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/fmt.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | ($s:literal $(, $x: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/fmt.rs:133:21 [INFO] [stderr] | [INFO] [stderr] 133 | ($s:literal $(, $x: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/fmt.rs:147:21 [INFO] [stderr] | [INFO] [stderr] 147 | ($s:literal $(, $x: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/fmt.rs:161:21 [INFO] [stderr] | [INFO] [stderr] 161 | ($s:literal $(, $x: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/fmt.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | ($s:literal $(, $x: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/fmt.rs:198:6 [INFO] [stderr] | [INFO] [stderr] 198 | ($arg: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/fmt.rs:206:6 [INFO] [stderr] | [INFO] [stderr] 206 | ($arg:expr_2021, $($msg:expr_2021),+ $(,)? ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | ($s:literal $(, $x: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] 119 | ($s:literal $(, $x:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/fmt.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | ($arg:expr_2021, $($msg:expr_2021),+ $(,)? ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | ($s:literal $(, $x: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] 133 | ($s:literal $(, $x:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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 8 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | ($s:literal $(, $x: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] 147 | ($s:literal $(, $x: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/fmt.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | ($s:literal $(, $x: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] 161 | ($s:literal $(, $x: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/fmt.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | ($s:literal $(, $x: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] 175 | ($s:literal $(, $x: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/fmt.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | ($arg: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] 198 | ($arg: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/fmt.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | ($arg:expr, $($msg: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] 206 | ($arg:expr_2021, $($msg:expr),+ $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | ($arg:expr, $($msg: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] 206 | ($arg:expr, $($msg:expr_2021),+ $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/raw/mod.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | extern "Rust" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 310 | | fn __pender(context: *mut ()); [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________^ [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 #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | (*self.0.as_ptr()).get() [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/raw/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe fn as_mut_ptr(&self) -> *mut T { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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/raw/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn as_mut(&self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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::ptr::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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/raw/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn write_in_place(&self, func: impl FnOnce() -> T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn drop_in_place(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | *self.value.get() = value; [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/raw/util.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn set(&self, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | *self.value.get() [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/raw/util.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / pub unsafe fn get(&self) -> T [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T: Copy, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TaskRef::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | wake_task(TaskRef::from_ptr(p as *const TaskHeader)) [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/raw/waker.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn wake(p: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::task::Waker::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Waker::from_raw(RawWaker::new(p.as_ptr() as _, &VTABLE)) [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/raw/waker.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn from_task(p: TaskRef) -> Waker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | ptr: NonNull::new_unchecked(ptr as *mut TaskHeader), [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/raw/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) unsafe fn from_ptr(ptr: *const TaskHeader) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let this = &*(p.as_ptr() as *const TaskStorage); [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/raw/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn poll(p: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::pin::Pin::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::util::UninitCell::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::waker::from_task` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | let waker = waker::from_task(p); [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 `raw::util::UninitCell::::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | this.future.drop_in_place(); [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 `raw::run_queue::RunQueue::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if self.run_queue.enqueue(task) { [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/raw/mod.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | unsafe fn enqueue(&self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::SyncUnsafeCell::::set` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | task.header().executor.set(Some(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/raw/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | self.enqueue(task); [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 is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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/raw/mod.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub(crate) unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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 `raw::util::SyncUnsafeCell::::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | mem::transmute(inner) [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/raw/mod.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) unsafe fn wrap(inner: &SyncExecutor) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::spawn` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | self.inner.spawn(task) [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/raw/mod.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::poll` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | self.inner.poll() [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/raw/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | pub unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/test.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `embassy_executor` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fmt.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/fmt.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | ($s:literal $(, $x: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/fmt.rs:133:21 [INFO] [stderr] | [INFO] [stderr] 133 | ($s:literal $(, $x: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/fmt.rs:147:21 [INFO] [stderr] | [INFO] [stderr] 147 | ($s:literal $(, $x: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/fmt.rs:161:21 [INFO] [stderr] | [INFO] [stderr] 161 | ($s:literal $(, $x: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/fmt.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | ($s:literal $(, $x: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/fmt.rs:198:6 [INFO] [stderr] | [INFO] [stderr] 198 | ($arg: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/fmt.rs:206:6 [INFO] [stderr] | [INFO] [stderr] 206 | ($arg:expr_2021, $($msg: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/fmt.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | ($arg:expr_2021, $($msg:expr_2021),+ $(,)? ) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | ($s:literal $(, $x: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] 119 | ($s:literal $(, $x:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | ($s:literal $(, $x: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] 133 | ($s:literal $(, $x:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | ($s:literal $(, $x: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] 147 | ($s:literal $(, $x:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | ($s:literal $(, $x: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] 161 | ($s:literal $(, $x:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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 8 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | ($s:literal $(, $x: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] 175 | ($s:literal $(, $x: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/fmt.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | ($arg: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] 198 | ($arg: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/fmt.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | ($arg:expr, $($msg: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] 206 | ($arg:expr_2021, $($msg:expr),+ $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fmt.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | ($arg:expr, $($msg: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] 206 | ($arg:expr, $($msg:expr_2021),+ $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/raw/mod.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | extern "Rust" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 310 | | fn __pender(context: *mut ()); [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________^ [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 #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | (*self.0.as_ptr()).get() [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/raw/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe fn as_mut_ptr(&self) -> *mut T { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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/raw/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn as_mut(&self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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::ptr::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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/raw/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn write_in_place(&self, func: impl FnOnce() -> T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn drop_in_place(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | *self.value.get() = value; [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/raw/util.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn set(&self, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | *self.value.get() [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/raw/util.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / pub unsafe fn get(&self) -> T [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T: Copy, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TaskRef::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | wake_task(TaskRef::from_ptr(p as *const TaskHeader)) [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/raw/waker.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn wake(p: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::task::Waker::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Waker::from_raw(RawWaker::new(p.as_ptr() as _, &VTABLE)) [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/raw/waker.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn from_task(p: TaskRef) -> Waker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | ptr: NonNull::new_unchecked(ptr as *mut TaskHeader), [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/raw/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) unsafe fn from_ptr(ptr: *const TaskHeader) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let this = &*(p.as_ptr() as *const TaskStorage); [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/raw/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn poll(p: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::pin::Pin::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::util::UninitCell::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::waker::from_task` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | let waker = waker::from_task(p); [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 `raw::util::UninitCell::::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | this.future.drop_in_place(); [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 `raw::run_queue::RunQueue::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if self.run_queue.enqueue(task) { [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/raw/mod.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | unsafe fn enqueue(&self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::SyncUnsafeCell::::set` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | task.header().executor.set(Some(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/raw/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | self.enqueue(task); [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 is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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/raw/mod.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub(crate) unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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 `raw::util::SyncUnsafeCell::::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | mem::transmute(inner) [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/raw/mod.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) unsafe fn wrap(inner: &SyncExecutor) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::spawn` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | self.inner.spawn(task) [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/raw/mod.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::poll` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | self.inner.poll() [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/raw/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | pub unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Fixed tests/test.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.20s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling embassy-executor v0.6.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/raw/mod.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / extern "Rust" { [INFO] [stdout] 310 | | fn __pender(context: *mut ()); [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/raw/mod.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / extern "Rust" { [INFO] [stdout] 310 | | fn __pender(context: *mut ()); [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | (*self.0.as_ptr()).get() [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/raw/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe fn as_mut_ptr(&self) -> *mut T { [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/raw/util.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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/raw/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn as_mut(&self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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/raw/util.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | (*self.0.as_ptr()).get() [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/raw/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe fn as_mut_ptr(&self) -> *mut T { [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/raw/util.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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/raw/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn as_mut(&self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | &mut *self.as_mut_ptr() [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::ptr::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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/raw/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn write_in_place(&self, func: impl FnOnce() -> T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn drop_in_place(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | *self.value.get() = value; [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/raw/util.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn set(&self, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | *self.value.get() [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/raw/util.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / pub unsafe fn get(&self) -> T [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T: Copy, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TaskRef::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | wake_task(TaskRef::from_ptr(p as *const TaskHeader)) [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/raw/waker.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn wake(p: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::task::Waker::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Waker::from_raw(RawWaker::new(p.as_ptr() as _, &VTABLE)) [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/raw/waker.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn from_task(p: TaskRef) -> Waker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | ptr: NonNull::new_unchecked(ptr as *mut TaskHeader), [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/raw/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) unsafe fn from_ptr(ptr: *const TaskHeader) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let this = &*(p.as_ptr() as *const TaskStorage); [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/raw/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn poll(p: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::pin::Pin::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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::ptr::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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/raw/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn write_in_place(&self, func: impl FnOnce() -> T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | ptr::write(self.as_mut_ptr(), func()) [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 `raw::waker::from_task` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | let waker = waker::from_task(p); [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 `raw::util::UninitCell::::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | this.future.drop_in_place(); [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::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn drop_in_place(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | ptr::drop_in_place(self.as_mut_ptr()) [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/raw/util.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | *self.value.get() = value; [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/raw/util.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn set(&self, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/util.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | *self.value.get() [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/raw/util.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / pub unsafe fn get(&self) -> T [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T: Copy, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TaskRef::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | wake_task(TaskRef::from_ptr(p as *const TaskHeader)) [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/raw/waker.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn wake(p: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::task::Waker::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/waker.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Waker::from_raw(RawWaker::new(p.as_ptr() as _, &VTABLE)) [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/raw/waker.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn from_task(p: TaskRef) -> Waker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | ptr: NonNull::new_unchecked(ptr as *mut TaskHeader), [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/raw/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) unsafe fn from_ptr(ptr: *const TaskHeader) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::run_queue::RunQueue::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if self.run_queue.enqueue(task) { [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/raw/mod.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | unsafe fn enqueue(&self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::SyncUnsafeCell::::set` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | task.header().executor.set(Some(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/raw/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | self.enqueue(task); [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 is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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/raw/mod.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub(crate) unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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 `raw::util::SyncUnsafeCell::::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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/raw/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let this = &*(p.as_ptr() as *const TaskStorage); [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/raw/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn poll(p: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | mem::transmute(inner) [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/raw/mod.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) unsafe fn wrap(inner: &SyncExecutor) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::pin::Pin::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::util::UninitCell::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | let future = Pin::new_unchecked(this.future.as_mut()); [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 `raw::SyncExecutor::spawn` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | self.inner.spawn(task) [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/raw/mod.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::waker::from_task` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | let waker = waker::from_task(p); [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 `raw::SyncExecutor::poll` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | self.inner.poll() [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/raw/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | pub unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::UninitCell::::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | this.future.drop_in_place(); [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 `raw::run_queue::RunQueue::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if self.run_queue.enqueue(task) { [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/raw/mod.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | unsafe fn enqueue(&self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::util::SyncUnsafeCell::::set` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | task.header().executor.set(Some(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/raw/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::enqueue` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | self.enqueue(task); [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 is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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/raw/mod.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub(crate) unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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 `raw::util::SyncUnsafeCell::::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | task.poll_fn.get().unwrap_unchecked()(p); [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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | mem::transmute(inner) [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/raw/mod.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) unsafe fn wrap(inner: &SyncExecutor) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::spawn` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | self.inner.spawn(task) [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/raw/mod.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub(super) unsafe fn spawn(&'static self, task: TaskRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::SyncExecutor::poll` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | self.inner.poll() [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/raw/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | pub unsafe fn poll(&'static self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 26 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 `embassy-executor` (lib) due to 2 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `embassy-executor` (lib test) due to 2 previous errors; 26 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" "a64acce7fb64952f37337ac7947b1a25729bc1f62ff0b004f4ef3351904cab09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64acce7fb64952f37337ac7947b1a25729bc1f62ff0b004f4ef3351904cab09", kill_on_drop: false }` [INFO] [stdout] a64acce7fb64952f37337ac7947b1a25729bc1f62ff0b004f4ef3351904cab09