[INFO] fetching crate open-entry-bindings 1.0.2... [INFO] checking open-entry-bindings-1.0.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate open-entry-bindings 1.0.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate open-entry-bindings 1.0.2 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 open-entry-bindings 1.0.2 [INFO] finished tweaking crates.io crate open-entry-bindings 1.0.2 [INFO] tweaked toml for crates.io crate open-entry-bindings 1.0.2 written to /workspace/builds/worker-2-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding async-ffi v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.5) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cabc849709425096ddf4dfb116b1f438547ce22b13bfd930024a45c164a79a20 [INFO] running `Command { std: "docker" "start" "-a" "cabc849709425096ddf4dfb116b1f438547ce22b13bfd930024a45c164a79a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cabc849709425096ddf4dfb116b1f438547ce22b13bfd930024a45c164a79a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cabc849709425096ddf4dfb116b1f438547ce22b13bfd930024a45c164a79a20", kill_on_drop: false }` [INFO] [stdout] cabc849709425096ddf4dfb116b1f438547ce22b13bfd930024a45c164a79a20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 24034a35ae6e66e5c5f7ca9456641389fff5857252fb8eba9e81ab5a09c1714e [INFO] running `Command { std: "docker" "start" "-a" "24034a35ae6e66e5c5f7ca9456641389fff5857252fb8eba9e81ab5a09c1714e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking async-ffi v0.4.1 [INFO] [stderr] Checking fast-async-mutex v0.6.7 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking open-entry-bindings v1.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `open_entry_bindings` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/macros.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/macros.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | (@step $idx: expr_2021, $idx_out: ident, $runtime: ident,) => { [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/macros.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | (@step $idx: expr_2021, $idx_out: ident, $runtime: ident, $ty: ty, $root: ident, $func: ident, $($_ty: ty, $_root: ident, $_func: ide... [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] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:205:81 [INFO] [stderr] | [INFO] [stderr] 205 | async_binding![idx, runtime, VirtualThread::get_temp_vmstrs, MutexGuard<'_, HashSet<(u64, usize)>>, []]; [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] ::: src/macros.rs:42:76 [INFO] [stderr] | [INFO] [stderr] 42 | ... [<$root __ $func>] = Some(std::mem::transmute::<*const (), for<'a> fn(&'a $root$(, $ty)*) -> FfiFuture<$ret>>($runtime.ffi.0[$idx_i... [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [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/macros.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | (@step $idx: expr, $idx_out: ident, $runtime: ident,) => { [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] 12 | (@step $idx: expr_2021, $idx_out: ident, $runtime: ident,) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | (@step $idx: expr, $idx_out: ident, $runtime: ident, $ty: ty, $root: ident, $func: ident, $($_ty: ty, $_root: ident, $_func: ident,)*... [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] 16 | (@step $idx: expr_2021, $idx_out: ident, $runtime: ident, $ty: ty, $root: ident, $func: ident, $($_ty: ty, $_root: ident, $_func: ident,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:205:81 [INFO] [stdout] | [INFO] [stdout] 205 | async_binding![idx, runtime, VirtualThread::get_temp_vmstrs, MutexGuard<'_, HashSet<(u64, usize)>>, []]; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:42:76 [INFO] [stdout] | [INFO] [stdout] 42 | ... [<$root __ $func>] = Some(std::mem::transmute::<*const (), for<'a> fn(&'a $root$(, $ty)*) -> FfiFuture<$ret>>($runtime.ffi.0[$idx_i... [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::increment_strong_count` is unsafe and requires unsafe block [INFO] [stdout] --> src/extension_data.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Arc::increment_strong_count(arc as *const T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/extension_data.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub async unsafe fn set(&self, data: 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]: call to unsafe function `std::sync::Arc::::decrement_strong_count` is unsafe and requires unsafe block [INFO] [stdout] --> src/extension_data.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Arc::decrement_strong_count(bef as *const T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/extension_data.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | Some(Arc::from_raw(*self.lock().await.get(&EXTENSION_ID.load(Ordering::Relaxed))? as *const T).clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/extension_data.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub async unsafe fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/event.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Arc::from_raw(self.0 as *const T).clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/event.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) unsafe fn get(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::decrement_strong_count` is unsafe and requires unsafe block [INFO] [stdout] --> src/event.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Arc::decrement_strong_count(self.0 as *const T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/event.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) unsafe fn drop(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/extension_data.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExtensionData(Arc>>); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/block_info.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BlockInfo(HashMap); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/extensions.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Extensions(HashMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/extension_data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if let Some(bef) = self.lock().await.insert(EXTENSION_ID.load(Ordering::Relaxed), arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/extension_data.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 20 ~ match self.lock().await.insert(EXTENSION_ID.load(Ordering::Relaxed), arc) { Some(bef) => { [INFO] [stdout] 21 | Arc::decrement_strong_count(bef as *const T); [INFO] [stdout] 22 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/macros.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | (@step $idx: expr_2021, $idx_out: ident, $runtime: ident,) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/macros.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | (@step $idx: expr_2021, $idx_out: ident, $runtime: ident, $ty: ty, $root: ident, $func: ident, $($_ty: ty, $_root: ident, $_func: ide... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:205:81 [INFO] [stdout] | [INFO] [stdout] 205 | async_binding![idx, runtime, VirtualThread::get_temp_vmstrs, MutexGuard<'_, HashSet<(u64, usize)>>, []]; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:42:76 [INFO] [stdout] | [INFO] [stdout] 42 | ... [<$root __ $func>] = Some(std::mem::transmute::<*const (), for<'a> fn(&'a $root$(, $ty)*) -> FfiFuture<$ret>>($runtime.ffi.0[$idx_i... [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 25 | ffi_primitive!(u8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 26 | ffi_primitive!(u16); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 27 | ffi_primitive!(u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:7:82 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn get_mem(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[]... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:8:91 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn get_mem_absolute(thread: &VirtualThread, addr: usize) -> Self { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[ src/ffi_primitive.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn set_mem_absolute(thread: &VirtualThread, addr: usize, data: Self) { crate::[].un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:10:87 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn set_reg(thread: &VirtualThread, register: u8, data: Self) { crate::[].unwrap_unche... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::option::Option::::unwrap_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked()(th... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_primitive.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_primitive.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn get_reg(thread: &VirtualThread, register: u8) -> Self { crate::[].unwrap_unchecked... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] ... [INFO] [stdout] 28 | ffi_primitive!(u64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `open-entry-bindings` (lib) due to 3 previous errors; 41 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "24034a35ae6e66e5c5f7ca9456641389fff5857252fb8eba9e81ab5a09c1714e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24034a35ae6e66e5c5f7ca9456641389fff5857252fb8eba9e81ab5a09c1714e", kill_on_drop: false }` [INFO] [stdout] 24034a35ae6e66e5c5f7ca9456641389fff5857252fb8eba9e81ab5a09c1714e