[INFO] fetching crate riscv-h 0.1.0... [INFO] building riscv-h-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate riscv-h 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate riscv-h 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate riscv-h 0.1.0 [INFO] tweaked toml for crates.io crate riscv-h 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate riscv-h 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate riscv-h 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-macros v0.2.0 [INFO] [stderr] Downloaded riscv-pac v0.2.0 [INFO] [stderr] Downloaded riscv v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bb4c794154386dad93b6933ca51b77e32e28e520724597a3bb2129798cc3342 [INFO] running `Command { std: "docker" "start" "-a" "3bb4c794154386dad93b6933ca51b77e32e28e520724597a3bb2129798cc3342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bb4c794154386dad93b6933ca51b77e32e28e520724597a3bb2129798cc3342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb4c794154386dad93b6933ca51b77e32e28e520724597a3bb2129798cc3342", kill_on_drop: false }` [INFO] [stdout] 3bb4c794154386dad93b6933ca51b77e32e28e520724597a3bb2129798cc3342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 037c41e5dc479c7d8948c49e9c1c58a45a67e5dfbf1215690a65c82d3dd347a5 [INFO] running `Command { std: "docker" "start" "-a" "037c41e5dc479c7d8948c49e9c1c58a45a67e5dfbf1215690a65c82d3dd347a5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling riscv v0.14.0 [INFO] [stderr] Compiling riscv-pac v0.2.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling riscv-macros v0.2.0 [INFO] [stderr] Compiling riscv-h v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hcounteren::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hcounteren.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hcounteren.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hedeleg::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hedeleg.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hedeleg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hgatp::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hgatp.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hgatp.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hideleg::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hideleg.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hideleg.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hie::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hie.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hie.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hstatus::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hstatus.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hstatus.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hvip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hvip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hvip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsatp::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsatp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsatp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vscause::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vscause.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vscause.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsie::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsie.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsie.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsstatus::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsstatus.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsstatus.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vstvec::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vstvec.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vstvec.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.50s [INFO] running `Command { std: "docker" "inspect" "037c41e5dc479c7d8948c49e9c1c58a45a67e5dfbf1215690a65c82d3dd347a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037c41e5dc479c7d8948c49e9c1c58a45a67e5dfbf1215690a65c82d3dd347a5", kill_on_drop: false }` [INFO] [stdout] 037c41e5dc479c7d8948c49e9c1c58a45a67e5dfbf1215690a65c82d3dd347a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b40a676f4a8e9adb5f292790a5896b4fe6f8d1f8862335e5ae5cc534ac885b0 [INFO] running `Command { std: "docker" "start" "-a" "8b40a676f4a8e9adb5f292790a5896b4fe6f8d1f8862335e5ae5cc534ac885b0", kill_on_drop: false }` [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hcounteren::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hcounteren.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hcounteren.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hedeleg::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hedeleg.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hedeleg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hgatp::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hgatp.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hgatp.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hideleg::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hideleg.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hideleg.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hie::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hie.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hie.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling riscv-h v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hstatus::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hstatus.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hstatus.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hvip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hvip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hvip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsatp::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsatp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsatp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vscause::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vscause.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vscause.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsie::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsie.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsie.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsstatus::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsstatus.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsstatus.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vstvec::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vstvec.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vstvec.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> tests/integration_tests.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut modified = original; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_tests.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let mut modified = original; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hcounteren::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hcounteren.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hcounteren.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hedeleg::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hedeleg.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hedeleg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hgatp::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hgatp.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hgatp.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hideleg::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hideleg.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hideleg.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hie::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hie.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hie.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hstatus::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hstatus.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hstatus.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::hvip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/hvip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/hvip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsatp::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsatp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsatp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vscause::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vscause.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vscause.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsie::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsie.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsie.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsip::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsip.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vsstatus::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vsstatus.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vsstatus.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `register::hypervisorx64::vstvec::_write` is unsafe and requires unsafe block [INFO] [stdout] --> src/register/hypervisorx64/vstvec.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _write(self.bits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/register/hypervisorx64/vstvec.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn write(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "8b40a676f4a8e9adb5f292790a5896b4fe6f8d1f8862335e5ae5cc534ac885b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b40a676f4a8e9adb5f292790a5896b4fe6f8d1f8862335e5ae5cc534ac885b0", kill_on_drop: false }` [INFO] [stdout] 8b40a676f4a8e9adb5f292790a5896b4fe6f8d1f8862335e5ae5cc534ac885b0