[INFO] fetching crate riscv-h 0.1.0... [INFO] testing riscv-h-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded riscv-macros v0.2.0 [INFO] [stderr] Downloaded riscv-pac v0.2.0 [INFO] [stderr] Downloaded bare-metal v1.0.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3518bb052df1fee0e1d730ec39d31fd39264f7dcedc664ba49efd51c154598c [INFO] running `Command { std: "docker" "start" "-a" "c3518bb052df1fee0e1d730ec39d31fd39264f7dcedc664ba49efd51c154598c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3518bb052df1fee0e1d730ec39d31fd39264f7dcedc664ba49efd51c154598c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3518bb052df1fee0e1d730ec39d31fd39264f7dcedc664ba49efd51c154598c", kill_on_drop: false }` [INFO] [stdout] c3518bb052df1fee0e1d730ec39d31fd39264f7dcedc664ba49efd51c154598c [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 638350f4eead7c44745c93231691897840d308fb2174d6983b27d0f9b2c93b53 [INFO] running `Command { std: "docker" "start" "-a" "638350f4eead7c44745c93231691897840d308fb2174d6983b27d0f9b2c93b53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling riscv v0.14.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling riscv-pac v0.2.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling bare-metal v1.0.0 [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 5.13s [INFO] running `Command { std: "docker" "inspect" "638350f4eead7c44745c93231691897840d308fb2174d6983b27d0f9b2c93b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638350f4eead7c44745c93231691897840d308fb2174d6983b27d0f9b2c93b53", kill_on_drop: false }` [INFO] [stdout] 638350f4eead7c44745c93231691897840d308fb2174d6983b27d0f9b2c93b53 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5b50102504af7d0c57618e78808c20c5e2a89e74cb7c0d62ac0ca70433af45d [INFO] running `Command { std: "docker" "start" "-a" "f5b50102504af7d0c57618e78808c20c5e2a89e74cb7c0d62ac0ca70433af45d", 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] [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] Compiling riscv-h v0.1.0 (/opt/rustwide/workdir) [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.68s [INFO] running `Command { std: "docker" "inspect" "f5b50102504af7d0c57618e78808c20c5e2a89e74cb7c0d62ac0ca70433af45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b50102504af7d0c57618e78808c20c5e2a89e74cb7c0d62ac0ca70433af45d", kill_on_drop: false }` [INFO] [stdout] f5b50102504af7d0c57618e78808c20c5e2a89e74cb7c0d62ac0ca70433af45d [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32d791fd2876f62f1001617acad035ad0fc3ab5b5f1a8adf769818a1f9a8e918 [INFO] running `Command { std: "docker" "start" "-a" "32d791fd2876f62f1001617acad035ad0fc3ab5b5f1a8adf769818a1f9a8e918", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hcounteren::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hcounteren.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hcounteren.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hedeleg::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hedeleg.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hedeleg.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hgatp::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hgatp.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hgatp.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hideleg::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hideleg.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hideleg.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hie::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hie.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hie.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hip::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hip.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hip.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hstatus::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hstatus.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hstatus.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::hvip::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/hvip.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/hvip.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::vsatp::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/vsatp.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/vsatp.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::vscause::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/vscause.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/vscause.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::vsie::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/vsie.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/vsie.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::vsip::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/vsip.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/vsip.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::vsstatus::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/vsstatus.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/vsstatus.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `register::hypervisorx64::vstvec::_write` is unsafe and requires unsafe block [INFO] [stderr] --> src/register/hypervisorx64/vstvec.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | _write(self.bits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/register/hypervisorx64/vstvec.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub unsafe fn write(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `riscv-h` (lib) generated 14 warnings (run `cargo fix --lib -p riscv-h` to apply 14 suggestions) [INFO] [stderr] warning: `riscv-h` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: unused variable: `modified` [INFO] [stderr] --> tests/integration_tests.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | let mut modified = original; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/integration_tests.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | let mut modified = original; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `riscv-h` (test "integration_tests") generated 2 warnings (run `cargo fix --test "integration_tests"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/riscv_h-0b14d0daac465fbb) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_all_fields ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_from_bits ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_ppn ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_copy_clone ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_vmid ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_values_from ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_boolean_fields ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_copy_clone ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_uxl_values_from ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_all_fields ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_copy_clone ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_from_bits ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_mode ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_multiple_fields ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_vsxl_values_from ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_sd ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_xs ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_from_bits ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_uxl ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_vgein ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_vsxl ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_boolean_fields ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_fs ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_values_from_invalid - should panic ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_vsxl_values_from_invalid - should panic ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_uxl_values_from_invalid - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-d8c95b118433ae31) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_large_bit_patterns ... ok [INFO] [stdout] test test_debug_formatting ... ok [INFO] [stdout] test test_enum_conversions ... ok [INFO] [stdout] test test_register_cloning ... ok [INFO] [stdout] test test_boundary_values ... ok [INFO] [stdout] test test_register_independence ... ok [INFO] [stdout] test test_bit_field_isolation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests riscv_h [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 9) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "32d791fd2876f62f1001617acad035ad0fc3ab5b5f1a8adf769818a1f9a8e918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d791fd2876f62f1001617acad035ad0fc3ab5b5f1a8adf769818a1f9a8e918", kill_on_drop: false }` [INFO] [stdout] 32d791fd2876f62f1001617acad035ad0fc3ab5b5f1a8adf769818a1f9a8e918