[INFO] cloning repository https://github.com/saltytine/hypervisor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saltytine/hypervisor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaltytine%2Fhypervisor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaltytine%2Fhypervisor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1e8df82e338e5eb58ebb15259e18120b678be00 [INFO] checking saltytine/hypervisor against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaltytine%2Fhypervisor" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/saltytine/hypervisor [INFO] finished tweaking git repo https://github.com/saltytine/hypervisor [INFO] tweaked toml for git repo https://github.com/saltytine/hypervisor written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saltytine/hypervisor on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/saltytine/hypervisor 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rcore-os/bitmap-allocator` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded sbi-spec v0.0.4 [INFO] [stderr] Downloaded buddy_system_allocator v0.8.0 [INFO] [stderr] Downloaded numeric-enum-macro v0.2.0 [INFO] [stderr] Downloaded sbi-rt v0.0.2 [INFO] [stderr] Downloaded psci v0.1.3 [INFO] [stderr] Downloaded riscv-decode v0.2.2 [INFO] [stderr] Downloaded tock-registers v0.8.1 [INFO] [stderr] Downloaded aarch64-cpu v9.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cddc8a3609f31a22f95491e4bbb39ebac0c974c67696f35c2c45a43f1f098f2 [INFO] running `Command { std: "docker" "start" "-a" "4cddc8a3609f31a22f95491e4bbb39ebac0c974c67696f35c2c45a43f1f098f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cddc8a3609f31a22f95491e4bbb39ebac0c974c67696f35c2c45a43f1f098f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cddc8a3609f31a22f95491e4bbb39ebac0c974c67696f35c2c45a43f1f098f2", kill_on_drop: false }` [INFO] [stdout] 4cddc8a3609f31a22f95491e4bbb39ebac0c974c67696f35c2c45a43f1f098f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8420b64bed50bffc87b5a9af7f40819db58f57db5b591201cbef543a46b672a [INFO] running `Command { std: "docker" "start" "-a" "e8420b64bed50bffc87b5a9af7f40819db58f57db5b591201cbef543a46b672a", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking tock-registers v0.8.1 [INFO] [stderr] Checking fdt v0.1.5 (/opt/rustwide/workdir/vendor/fdt) [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking numeric-enum-macro v0.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lock_api v0.4.13 [INFO] [stderr] Checking bitmap-allocator v0.1.0 (https://github.com/rcore-os/bitmap-allocator?rev=03bd9909#03bd9909) [INFO] [stderr] Checking buddy_system_allocator v0.8.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hvisor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `MMIODerefWrapper` [INFO] [stdout] --> src/device/common.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | impl ops::Deref fir MMIODerefWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected one of 7 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `for` with a similar name [INFO] [stdout] | [INFO] [stdout] 19 - impl ops::Deref fir MMIODerefWrapper { [INFO] [stdout] 19 + impl ops::Deref for MMIODerefWrapper { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/event.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | None => None; [INFO] [stdout] | -- ^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 39 - None => None; [INFO] [stdout] 39 + None => None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::cpu` [INFO] [stdout] --> src/device/virtio_trampoline.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::arch::cpu::this_cpu_id; [INFO] [stdout] | ^^^ could not find `cpu` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::device::irqchip::gicv3` [INFO] [stdout] --> src/device/virtio_trampoline.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::device::irqchip::gicv3::inject_irq; [INFO] [stdout] | ^^^^^ could not find `gicv3` in `irqchip` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/irqchip/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 2 | pub mod gicv3; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::arch::ipi`, `crate::device::irqchip::gicv3` [INFO] [stdout] --> src/event.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | arch::ipi::arch_send_event, [INFO] [stdout] | ^^^ could not find `ipi` in `arch` [INFO] [stdout] 3 | device::{ [INFO] [stdout] 4 | irqchip::gicv3::inject_irq, [INFO] [stdout] | ^^^^^ could not find `gicv3` in `irqchip` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/irqchip/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 2 | pub mod gicv3; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::paging` [INFO] [stdout] --> src/memory/mm.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::arch::paging::{GenericPageTable, PageSize, PagingResult}; [INFO] [stdout] | ^^^^^^ could not find `paging` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::Stage2PageTable` [INFO] [stdout] --> src/memory/mm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::arch::Stage2PageTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Stage2PageTable` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::arch::paging`, `crate::arch::s1pt` [INFO] [stdout] --> src/memory/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::arch::{paging, s1pt::Stage1PageTable}; [INFO] [stdout] | ^^^^^^ ^^^^ could not find `s1pt` in `arch` [INFO] [stdout] | | [INFO] [stdout] | no `paging` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::cpu` [INFO] [stdout] --> src/percpu.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::arch::cpu::{this_cpu_id, ArchCpu}; [INFO] [stdout] | ^^^ could not find `cpu` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::mm` [INFO] [stdout] --> src/zone.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::arch::mm::new_s2_memory_set; [INFO] [stdout] | ^^ could not find `mm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::s2pt` [INFO] [stdout] --> src/zone.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::arch::s2pt::Stage2PageTable; [INFO] [stdout] | ^^^^ could not find `s2pt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::qemu_aarch64` [INFO] [stdout] --> src/zone.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::platform::qemu_aarch64::ROOT_ZONE_ENTRY; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `qemu_aarch64` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 5 | pub mod qemu_aarch64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::mm` [INFO] [stdout] --> src/main.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::arch::mm::setup_parange; [INFO] [stdout] | ^^ could not find `mm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::qemu_aarch64` [INFO] [stdout] --> src/main.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::platform::qemu_aarch64::ROOT_ZONE_DTB_ADDR; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `qemu_aarch64` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 5 | pub mod qemu_aarch64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `arch::cpu`, `arch::entry` [INFO] [stdout] --> src/main.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | use arch::{cpu::cpu_start, entry::arch_entry}; [INFO] [stdout] | ^^^ ^^^^^ could not find `entry` in `arch` [INFO] [stdout] | | [INFO] [stdout] | could not find `cpu` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mm` in `arch` [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | crate::arch::mm::init_hv_page_table(&host_fdt).unwrap(); [INFO] [stdout] | ^^ could not find `mm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `trap` in `arch` [INFO] [stdout] --> src/main.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | arch::trap::install_trap_vector(); [INFO] [stdout] | ^^^^ could not find `trap` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `console_putchar` in module `uart` [INFO] [stdout] --> src/logging.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | uart::console_putchar(b'\r'); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(all(feature = "platform_qemu", target_arch = "aarch64"))] [INFO] [stdout] | ------------------------- the item is gated behind the `platform_qemu` feature [INFO] [stdout] 5 | pub use pl011::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(all(feature = "platform_imx8mp", target_arch = "aarch64"))] [INFO] [stdout] | --------------------------- the item is gated behind the `platform_imx8mp` feature [INFO] [stdout] 11 | pub use imx_uart::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ----------------------- the item is gated behind the `riscv64` feature [INFO] [stdout] 14 | pub use crate::arch::riscv64::sbi::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `console_putchar` in module `uart` [INFO] [stdout] --> src/logging.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | uart::console_putchar(b'\n'); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(all(feature = "platform_qemu", target_arch = "aarch64"))] [INFO] [stdout] | ------------------------- the item is gated behind the `platform_qemu` feature [INFO] [stdout] 5 | pub use pl011::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(all(feature = "platform_imx8mp", target_arch = "aarch64"))] [INFO] [stdout] | --------------------------- the item is gated behind the `platform_imx8mp` feature [INFO] [stdout] 11 | pub use imx_uart::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ----------------------- the item is gated behind the `riscv64` feature [INFO] [stdout] 14 | pub use crate::arch::riscv64::sbi::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `console_putchar` in module `uart` [INFO] [stdout] --> src/logging.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | _ => uart::console_putchar(c as u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(all(feature = "platform_qemu", target_arch = "aarch64"))] [INFO] [stdout] | ------------------------- the item is gated behind the `platform_qemu` feature [INFO] [stdout] 5 | pub use pl011::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(all(feature = "platform_imx8mp", target_arch = "aarch64"))] [INFO] [stdout] | --------------------------- the item is gated behind the `platform_imx8mp` feature [INFO] [stdout] 11 | pub use imx_uart::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/uart/mod.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ----------------------- the item is gated behind the `riscv64` feature [INFO] [stdout] 14 | pub use crate::arch::riscv64::sbi::{console_getchar, console_putchar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_cpus` in this scope [INFO] [stdout] --> src/event.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | for _ in 0..max_cpus { [INFO] [stdout] | ^^^^^^^^ help: a local variable with a similar name exists: `nax_cpus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `primary_init_early` in module `device::irqchip` [INFO] [stdout] --> src/main.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | device::irqchip::primary_init_early(&host_fdt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `device::irqchip` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/irqchip/mod.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 8 | pub use gicv3::{percpu_init, primary_init_early, primary_init_late}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::primary_init_early; [INFO] [stdout] | [INFO] [stdout] help: if you import `primary_init_early`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 103 - device::irqchip::primary_init_early(&host_fdt); [INFO] [stdout] 103 + primary_init_early(&host_fdt); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `primary_init_late` in module `device::irqchip` [INFO] [stdout] --> src/main.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | device::irqchip::primary_init_late(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `device::irqchip` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/irqchip/mod.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 8 | pub use gicv3::{percpu_init, primary_init_early, primary_init_late}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::primary_init_late; [INFO] [stdout] | [INFO] [stdout] help: if you import `primary_init_late`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 112 - device::irqchip::primary_init_late(); [INFO] [stdout] 112 + primary_init_late(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `percpu_init` in module `device::irqchip` [INFO] [stdout] --> src/main.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | device::irqchip::percpu_init(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `device::irqchip` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/device/irqchip/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 8 | pub use gicv3::{percpu_init, primary_init_early, primary_init_late}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuestVirtAddr`, `HostPhysAddr`, `HostVirtAddr`, and `VirtAddr` [INFO] [stdout] --> src/memory/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub use addr::{GuestPhysAddr, GuestVirtAddr, HostPhysAddr, HostVirtAddr, PhysAddr, VirtAddr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::Frame` [INFO] [stdout] --> src/memory/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PARKING_INST_PAGE` [INFO] [stdout] --> src/memory/mod.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub use mm::{MemoryRegion, MemorySet, PARKING_INST_PAGE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/zone.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / fn on_panic(info: &PanicInfo) -> ! { [INFO] [stdout] 5 | | error!("panic occured {:#?}", info); [INFO] [stdout] 6 | | loop {} [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/943e2200e35c3825486c4671b6cab0107a07f8c1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-261a156b9a78d9bb.rlib [INFO] [stdout] = note: second definition in the local crate (`hvisor`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fenct` in this scope [INFO] [stdout] --> src/device/virtio_trampoline.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fenct(Ordering::Acquire); [INFO] [stdout] | ^^^^^ help: a function with a similar name exists: `fence` [INFO] [stdout] | [INFO] [stdout] --> /rustc/943e2200e35c3825486c4671b6cab0107a07f8c1/library/core/src/sync/atomic.rs:4369:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named function `fence` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hvisor` (bin "hvisor" test) due to 26 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e8420b64bed50bffc87b5a9af7f40819db58f57db5b591201cbef543a46b672a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8420b64bed50bffc87b5a9af7f40819db58f57db5b591201cbef543a46b672a", kill_on_drop: false }` [INFO] [stdout] e8420b64bed50bffc87b5a9af7f40819db58f57db5b591201cbef543a46b672a