[INFO] fetching crate riscv-h 0.1.0... [INFO] testing riscv-h-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate riscv-h 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate riscv-h 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a79aa98cb7027ed11936554a0d29e678e49d809cf3ba8dd86c31c9d30c095fb1 [INFO] running `Command { std: "docker" "start" "-a" "a79aa98cb7027ed11936554a0d29e678e49d809cf3ba8dd86c31c9d30c095fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a79aa98cb7027ed11936554a0d29e678e49d809cf3ba8dd86c31c9d30c095fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79aa98cb7027ed11936554a0d29e678e49d809cf3ba8dd86c31c9d30c095fb1", kill_on_drop: false }` [INFO] [stdout] a79aa98cb7027ed11936554a0d29e678e49d809cf3ba8dd86c31c9d30c095fb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0cbfe711e220b73c24ef21ed0be82f3a58532a2a78486fa52bb6f304c6811c7 [INFO] running `Command { std: "docker" "start" "-a" "a0cbfe711e220b73c24ef21ed0be82f3a58532a2a78486fa52bb6f304c6811c7", kill_on_drop: false }` [INFO] [stderr] Compiling riscv v0.14.0 [INFO] [stderr] Compiling riscv-pac v0.2.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling bit_field v0.10.3 [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 5.53s [INFO] running `Command { std: "docker" "inspect" "a0cbfe711e220b73c24ef21ed0be82f3a58532a2a78486fa52bb6f304c6811c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0cbfe711e220b73c24ef21ed0be82f3a58532a2a78486fa52bb6f304c6811c7", kill_on_drop: false }` [INFO] [stdout] a0cbfe711e220b73c24ef21ed0be82f3a58532a2a78486fa52bb6f304c6811c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5babb137c3f712c7a2d1af5dc66e1bf0b0ef39f6a85b4cf8250d0651e318674 [INFO] running `Command { std: "docker" "start" "-a" "a5babb137c3f712c7a2d1af5dc66e1bf0b0ef39f6a85b4cf8250d0651e318674", 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.88s [INFO] running `Command { std: "docker" "inspect" "a5babb137c3f712c7a2d1af5dc66e1bf0b0ef39f6a85b4cf8250d0651e318674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5babb137c3f712c7a2d1af5dc66e1bf0b0ef39f6a85b4cf8250d0651e318674", kill_on_drop: false }` [INFO] [stdout] a5babb137c3f712c7a2d1af5dc66e1bf0b0ef39f6a85b4cf8250d0651e318674 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5f9ea39b014170df555598b807d70f85128d1a395ec510018307177870083ab [INFO] running `Command { std: "docker" "start" "-a" "a5f9ea39b014170df555598b807d70f85128d1a395ec510018307177870083ab", 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.04s [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_copy_clone ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_mode ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_ppn ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_values_from ... ok [INFO] [stdout] test register::hypervisorx64::hgatp::tests::test_hgatp_vmid ... 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::hstatus::tests::test_hstatus_from_bits ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_vsxl ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_vsxl_values_from ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_uxl_values_from ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_vgein ... ok [INFO] [stdout] test register::hypervisorx64::hstatus::tests::test_hstatus_multiple_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::vsstatus::tests::test_vsstatus_sd ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_boolean_fields ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_xs ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_fs ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_all_fields ... ok [INFO] [stdout] test register::hypervisorx64::vsstatus::tests::test_vsstatus_uxl ... 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] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-d8c95b118433ae31) [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.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] Doc-tests riscv_h [INFO] [stdout] test test_boundary_values ... ok [INFO] [stdout] test test_enum_conversions ... ok [INFO] [stdout] test test_large_bit_patterns ... ok [INFO] [stdout] test test_register_independence ... ok [INFO] [stdout] test test_register_cloning ... ok [INFO] [stdout] test test_bit_field_isolation ... ok [INFO] [stdout] test test_debug_formatting ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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" "a5f9ea39b014170df555598b807d70f85128d1a395ec510018307177870083ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f9ea39b014170df555598b807d70f85128d1a395ec510018307177870083ab", kill_on_drop: false }` [INFO] [stdout] a5f9ea39b014170df555598b807d70f85128d1a395ec510018307177870083ab