[INFO] cloning repository https://github.com/agkdc1/QEDSTACK [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agkdc1/QEDSTACK" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagkdc1%2FQEDSTACK", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagkdc1%2FQEDSTACK'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c261508fde3853fa81198e51e7d2fa3926c9d1e3 [INFO] checking agkdc1/QEDSTACK against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagkdc1%2FQEDSTACK" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/agkdc1/QEDSTACK [INFO] finished tweaking git repo https://github.com/agkdc1/QEDSTACK [INFO] tweaked toml for git repo https://github.com/agkdc1/QEDSTACK written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/agkdc1/QEDSTACK on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/agkdc1/QEDSTACK 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded riscv-types v0.1.0 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded riscv v0.16.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c18efa89bee6c0e7d4244b368bb11e9224a9b8f13d010177681db3e60544f30 [INFO] running `Command { std: "docker" "start" "-a" "3c18efa89bee6c0e7d4244b368bb11e9224a9b8f13d010177681db3e60544f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c18efa89bee6c0e7d4244b368bb11e9224a9b8f13d010177681db3e60544f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c18efa89bee6c0e7d4244b368bb11e9224a9b8f13d010177681db3e60544f30", kill_on_drop: false }` [INFO] [stdout] 3c18efa89bee6c0e7d4244b368bb11e9224a9b8f13d010177681db3e60544f30 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6b51cbc7864cf3b6786bc6d1efa2c885424f6e83d107838eb7a605509ba1c23 [INFO] running `Command { std: "docker" "start" "-a" "d6b51cbc7864cf3b6786bc6d1efa2c885424f6e83d107838eb7a605509ba1c23", kill_on_drop: false }` [INFO] [stderr] Checking virtio-contracts v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/contracts) [INFO] [stderr] Checking virtio-types v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_types) [INFO] [stderr] Checking virtio-sync v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_sync) [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_sync/src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_types/src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | / pub const unsafe fn new_unchecked( [INFO] [stdout] 513 | | ptr: NonNull, [INFO] [stdout] 514 | | window: PhysicalDmaWindow, [INFO] [stdout] 515 | | layout: Layout, [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:608:1 [INFO] [stdout] | [INFO] [stdout] 608 | / pub unsafe trait KernelDmaAllocator { [INFO] [stdout] 609 | | /// Allocates DMA-safe memory for a VirtIO driver. [INFO] [stdout] 610 | | fn allocate_dma( [INFO] [stdout] 611 | | &mut self, [INFO] [stdout] ... | [INFO] [stdout] 628 | | ); [INFO] [stdout] 629 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | / unsafe fn deallocate_dma( [INFO] [stdout] 625 | | &mut self, [INFO] [stdout] 626 | | allocation: KernelDmaAllocation, [INFO] [stdout] 627 | | proof: DmaDeallocationProof, [INFO] [stdout] 628 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | / pub const unsafe fn new_unchecked( [INFO] [stdout] 1041 | | dma: AddressRange, [INFO] [stdout] 1042 | | direction: DmaDirection, [INFO] [stdout] 1043 | | device_written_len: usize, [INFO] [stdout] ... | [INFO] [stdout] 1050 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | / pub const unsafe fn new_unchecked(generation: u64) -> Self { [INFO] [stdout] 1083 | | Self { generation } [INFO] [stdout] 1084 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling virtio-panic-safety v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_panic_safety) [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_sync/src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_types/src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking virtio-dma v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_dma) [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:415:7 [INFO] [stdout] | [INFO] [stdout] 415 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / pub unsafe fn from_raw_parts( [INFO] [stdout] 227 | | ptr: NonNull, [INFO] [stdout] 228 | | dma: DmaAddr, [INFO] [stdout] 229 | | len: NonZeroUsize, [INFO] [stdout] ... | [INFO] [stdout] 245 | | }) [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub unsafe fn from_translated( [INFO] [stdout] 256 | | ptr: NonNull, [INFO] [stdout] 257 | | len: NonZeroUsize, [INFO] [stdout] 258 | | align: NonZeroUsize, [INFO] [stdout] ... | [INFO] [stdout] 279 | | }) [INFO] [stdout] 280 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | unsafe { core::slice::from_raw_parts(self.ptr.as_ptr(), self.len.get()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | unsafe { core::slice::from_raw_parts_mut(self.ptr.as_ptr(), self.len.get()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 361 | / pub unsafe trait DmaAllocator { [INFO] [stdout] 362 | | /// Allocates a CPU-owned DMA-safe region. [INFO] [stdout] 363 | | fn allocate( [INFO] [stdout] 364 | | &mut self, [INFO] [stdout] ... | [INFO] [stdout] 376 | | unsafe fn deallocate(&mut self, region: DmaRegion); [INFO] [stdout] 377 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | unsafe fn deallocate(&mut self, region: DmaRegion); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:415:7 [INFO] [stdout] | [INFO] [stdout] 415 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / pub unsafe fn from_raw_parts( [INFO] [stdout] 227 | | ptr: NonNull, [INFO] [stdout] 228 | | dma: DmaAddr, [INFO] [stdout] 229 | | len: NonZeroUsize, [INFO] [stdout] ... | [INFO] [stdout] 245 | | }) [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub unsafe fn from_translated( [INFO] [stdout] 256 | | ptr: NonNull, [INFO] [stdout] 257 | | len: NonZeroUsize, [INFO] [stdout] 258 | | align: NonZeroUsize, [INFO] [stdout] ... | [INFO] [stdout] 279 | | }) [INFO] [stdout] 280 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | unsafe { core::slice::from_raw_parts(self.ptr.as_ptr(), self.len.get()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | unsafe { core::slice::from_raw_parts_mut(self.ptr.as_ptr(), self.len.get()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 361 | / pub unsafe trait DmaAllocator { [INFO] [stdout] 362 | | /// Allocates a CPU-owned DMA-safe region. [INFO] [stdout] 363 | | fn allocate( [INFO] [stdout] 364 | | &mut self, [INFO] [stdout] ... | [INFO] [stdout] 376 | | unsafe fn deallocate(&mut self, region: DmaRegion); [INFO] [stdout] 377 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_dma/src/lib.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | unsafe fn deallocate(&mut self, region: DmaRegion); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking virtqueue-core v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtqueue_core) [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtqueue_core/src/lib.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtqueue_core/src/lib.rs:565:7 [INFO] [stdout] | [INFO] [stdout] 565 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtqueue_core/src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / unsafe { [INFO] [stdout] 223 | | DmaCompletionToken::new_unchecked( [INFO] [stdout] 224 | | self.grant.dma(), [INFO] [stdout] 225 | | self.grant.direction(), [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | / pub const unsafe fn new_unchecked( [INFO] [stdout] 513 | | ptr: NonNull, [INFO] [stdout] 514 | | window: PhysicalDmaWindow, [INFO] [stdout] 515 | | layout: Layout, [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:608:1 [INFO] [stdout] | [INFO] [stdout] 608 | / pub unsafe trait KernelDmaAllocator { [INFO] [stdout] 609 | | /// Allocates DMA-safe memory for a VirtIO driver. [INFO] [stdout] 610 | | fn allocate_dma( [INFO] [stdout] 611 | | &mut self, [INFO] [stdout] ... | [INFO] [stdout] 628 | | ); [INFO] [stdout] 629 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | / unsafe fn deallocate_dma( [INFO] [stdout] 625 | | &mut self, [INFO] [stdout] 626 | | allocation: KernelDmaAllocation, [INFO] [stdout] 627 | | proof: DmaDeallocationProof, [INFO] [stdout] 628 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | / pub const unsafe fn new_unchecked( [INFO] [stdout] 1041 | | dma: AddressRange, [INFO] [stdout] 1042 | | direction: DmaDirection, [INFO] [stdout] 1043 | | device_written_len: usize, [INFO] [stdout] ... | [INFO] [stdout] 1050 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | / pub const unsafe fn new_unchecked(generation: u64) -> Self { [INFO] [stdout] 1083 | | Self { generation } [INFO] [stdout] 1084 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:1249:21 [INFO] [stdout] | [INFO] [stdout] 1249 | let token = unsafe { DmaCompletionToken::new_unchecked(dma, DmaDirection::FromDevice, 8) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/contracts/src/lib.rs:1259:21 [INFO] [stdout] | [INFO] [stdout] 1259 | let token = unsafe { DeviceResetToken::new_unchecked(17) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtqueue_core/src/lib.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtqueue_core/src/lib.rs:565:7 [INFO] [stdout] | [INFO] [stdout] 565 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtqueue_core/src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / unsafe { [INFO] [stdout] 223 | | DmaCompletionToken::new_unchecked( [INFO] [stdout] 224 | | self.grant.dma(), [INFO] [stdout] 225 | | self.grant.direction(), [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking virtio-block v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_block) [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_block/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_block/src/lib.rs:889:7 [INFO] [stdout] | [INFO] [stdout] 889 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_block/src/lib.rs:883:5 [INFO] [stdout] | [INFO] [stdout] 883 | unsafe { DmaCompletionToken::new_unchecked(dma, direction, device_written_len) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let mut region = unsafe { [INFO] [stdout] | ______________________^ [INFO] [stdout] 41 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 42 | | ptr, [INFO] [stdout] 43 | | DmaAddr::new(0x1000), [INFO] [stdout] ... | [INFO] [stdout] 49 | | .unwrap() [INFO] [stdout] 50 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | let region = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 69 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 70 | | ptr, [INFO] [stdout] 71 | | DmaAddr::new(0x2000), [INFO] [stdout] ... | [INFO] [stdout] 77 | | .unwrap() [INFO] [stdout] 78 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let token = unsafe { [INFO] [stdout] | _________________^ [INFO] [stdout] 81 | | DmaCompletionToken::new_unchecked(grant.dma(), DmaDirection::FromDevice, len.get()) [INFO] [stdout] 82 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let region = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 96 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 97 | | ptr, [INFO] [stdout] 98 | | DmaAddr::new(0x3000), [INFO] [stdout] ... | [INFO] [stdout] 104 | | .unwrap() [INFO] [stdout] 105 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let bad_range = unsafe { [INFO] [stdout] | _____________________^ [INFO] [stdout] 109 | | DmaCompletionToken::new_unchecked( [INFO] [stdout] 110 | | AddressRange::new(DmaAddr::new(0x3010), len), [INFO] [stdout] 111 | | DmaDirection::FromDevice, [INFO] [stdout] ... | [INFO] [stdout] 114 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { DmaCompletionToken::new_unchecked(grant.dma(), DmaDirection::ToDevice, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let too_long = unsafe { [INFO] [stdout] | ____________________^ [INFO] [stdout] 124 | | DmaCompletionToken::new_unchecked(grant.dma(), DmaDirection::FromDevice, len.get() + 1) [INFO] [stdout] 125 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | let region = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 137 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 138 | | ptr, [INFO] [stdout] 139 | | DmaAddr::new(0x4000), [INFO] [stdout] ... | [INFO] [stdout] 145 | | .unwrap() [INFO] [stdout] 146 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let stale = unsafe { DeviceResetToken::new_unchecked(8) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let reset = unsafe { DeviceResetToken::new_unchecked(9) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | let region = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 170 | | DmaRegion::::from_translated( [INFO] [stdout] 171 | | ptr, [INFO] [stdout] 172 | | len, [INFO] [stdout] ... | [INFO] [stdout] 177 | | .unwrap() [INFO] [stdout] 178 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_dma/tests/ownership.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | let err = unsafe { [INFO] [stdout] | _______________^ [INFO] [stdout] 195 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 196 | | ptr, [INFO] [stdout] 197 | | DmaAddr::new(0x1001), [INFO] [stdout] ... | [INFO] [stdout] 203 | | .unwrap_err() [INFO] [stdout] 204 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking virtio-net v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_net) [INFO] [stderr] Checking virtio-rng v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_rng) [INFO] [stderr] Checking virtio-console v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_console) [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_net/src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_net/src/lib.rs:905:7 [INFO] [stdout] | [INFO] [stdout] 905 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_net/src/lib.rs:899:5 [INFO] [stdout] | [INFO] [stdout] 899 | unsafe { DmaCompletionToken::new_unchecked(dma, direction, device_written_len) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_console/src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_console/src/lib.rs:768:7 [INFO] [stdout] | [INFO] [stdout] 768 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_rng/src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_rng/src/lib.rs:396:7 [INFO] [stdout] | [INFO] [stdout] 396 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_block/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_block/src/lib.rs:889:7 [INFO] [stdout] | [INFO] [stdout] 889 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_block/src/lib.rs:883:5 [INFO] [stdout] | [INFO] [stdout] 883 | unsafe { DmaCompletionToken::new_unchecked(dma, direction, device_written_len) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_block/tests/block.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / unsafe { [INFO] [stdout] 22 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 23 | | ptr, [INFO] [stdout] 24 | | DmaAddr::new(ptr.as_ptr() as u64), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .unwrap() [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_block/tests/block.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / unsafe { [INFO] [stdout] 55 | | core::ptr::write_volatile(status.0.as_mut_ptr(), value); [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking virtio-mmio v0.1.0 (/opt/rustwide/workdir/microkernel/virtio/virtio_mmio) [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_net/tests/net.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / unsafe { [INFO] [stdout] 24 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 25 | | ptr, [INFO] [stdout] 26 | | DmaAddr::new(ptr.as_ptr() as u64), [INFO] [stdout] ... | [INFO] [stdout] 32 | | .unwrap() [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_rng/tests/rng.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / unsafe { [INFO] [stdout] 22 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 23 | | ptr, [INFO] [stdout] 24 | | DmaAddr::new(ptr.as_ptr() as u64), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .unwrap() [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_rng/tests/rng.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let stale = unsafe { DeviceResetToken::new_unchecked(2) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_rng/tests/rng.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let reset = unsafe { DeviceResetToken::new_unchecked(3) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 581 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / pub unsafe trait MmioRegisterIo { [INFO] [stdout] 240 | | /// Reads a 32-bit MMIO register. [INFO] [stdout] 241 | | fn read32(&self, offset: usize) -> u32; [INFO] [stdout] ... | [INFO] [stdout] 244 | | fn write32(&mut self, offset: usize, value: u32); [INFO] [stdout] 245 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / pub const unsafe fn new(base: NonNull) -> Self { [INFO] [stdout] 262 | | Self { base } [INFO] [stdout] 263 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / unsafe impl MmioRegisterIo for MmioPointer { [INFO] [stdout] 269 | | fn read32(&self, offset: usize) -> u32 { [INFO] [stdout] 270 | | let ptr = self.base.as_ptr().wrapping_add(offset).cast::(); [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | unsafe { core::ptr::read_volatile(ptr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { core::ptr::write_volatile(ptr, value) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:519:21 [INFO] [stdout] | [INFO] [stdout] 519 | let token = unsafe { DeviceResetToken::new_unchecked(self.reset_generation) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_console/tests/console.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / unsafe { [INFO] [stdout] 24 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 25 | | ptr, [INFO] [stdout] 26 | | DmaAddr::new(ptr.as_ptr() as u64), [INFO] [stdout] ... | [INFO] [stdout] 32 | | .unwrap() [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_rng/src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_rng/src/lib.rs:396:7 [INFO] [stdout] | [INFO] [stdout] 396 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 581 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: declaration of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / pub unsafe trait MmioRegisterIo { [INFO] [stdout] 240 | | /// Reads a 32-bit MMIO register. [INFO] [stdout] 241 | | fn read32(&self, offset: usize) -> u32; [INFO] [stdout] ... | [INFO] [stdout] 244 | | fn write32(&mut self, offset: usize, value: u32); [INFO] [stdout] 245 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` method [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / pub const unsafe fn new(base: NonNull) -> Self { [INFO] [stdout] 262 | | Self { base } [INFO] [stdout] 263 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / unsafe impl MmioRegisterIo for MmioPointer { [INFO] [stdout] 269 | | fn read32(&self, offset: usize) -> u32 { [INFO] [stdout] 270 | | let ptr = self.base.as_ptr().wrapping_add(offset).cast::(); [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | unsafe { core::ptr::read_volatile(ptr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { core::ptr::write_volatile(ptr, value) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:519:21 [INFO] [stdout] | [INFO] [stdout] 519 | let token = unsafe { DeviceResetToken::new_unchecked(self.reset_generation) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of an `unsafe` trait [INFO] [stdout] --> microkernel/virtio/virtio_mmio/src/lib.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | / unsafe impl MmioRegisterIo for ModelIo { [INFO] [stdout] 635 | | fn read32(&self, offset: usize) -> u32 { [INFO] [stdout] 636 | | match offset { [INFO] [stdout] 637 | | REG_DEVICE_FEATURES => self.device_features[self.device_features_sel], [INFO] [stdout] ... | [INFO] [stdout] 650 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtqueue_core/tests/split_queue.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let region = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 19 | | DmaRegion::::from_raw_parts( [INFO] [stdout] 20 | | ptr, [INFO] [stdout] 21 | | DmaAddr::new(addr), [INFO] [stdout] ... | [INFO] [stdout] 27 | | .unwrap() [INFO] [stdout] 28 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_net/src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_net/src/lib.rs:905:7 [INFO] [stdout] | [INFO] [stdout] 905 | #[cfg(kani)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "kani"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> microkernel/virtio/virtio_net/src/lib.rs:899:5 [INFO] [stdout] | [INFO] [stdout] 899 | unsafe { DmaCompletionToken::new_unchecked(dma, direction, device_written_len) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_console/src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> microkernel/virtio/virtio_console/src/lib.rs:768:7 [INFO] [stdout] | [INFO] [stdout] 768 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir/microkernel/kernel) [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling kernel-qemu-virt-boot v0.1.0 (/opt/rustwide/workdir/microkernel/kernel/qemu_virt_boot) [INFO] [stderr] Checking kernel_epoch_safety_evidence v0.1.0 (/opt/rustwide/workdir/kernel-in-dsl/validation/generated/kernel_epoch_safety) [INFO] [stderr] Checking kani_rust_safety_harnesses v0.1.0 (/opt/rustwide/workdir/microkernel/kani-harnesses) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.39s [INFO] running `Command { std: "docker" "inspect" "d6b51cbc7864cf3b6786bc6d1efa2c885424f6e83d107838eb7a605509ba1c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b51cbc7864cf3b6786bc6d1efa2c885424f6e83d107838eb7a605509ba1c23", kill_on_drop: false }` [INFO] [stdout] d6b51cbc7864cf3b6786bc6d1efa2c885424f6e83d107838eb7a605509ba1c23