[INFO] cloning repository https://github.com/michael2012z/rust-vmm-glue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michael2012z/rust-vmm-glue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael2012z%2Frust-vmm-glue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael2012z%2Frust-vmm-glue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d14496a468202c103623e4a1e30de3cbd614392 [INFO] checking michael2012z/rust-vmm-glue against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael2012z%2Frust-vmm-glue" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michael2012z/rust-vmm-glue on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michael2012z/rust-vmm-glue [INFO] finished tweaking git repo https://github.com/michael2012z/rust-vmm-glue [INFO] tweaked toml for git repo https://github.com/michael2012z/rust-vmm-glue written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/michael2012z/rust-vmm-glue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 444a67aed5b3c87621160daa0caddde726f7b8565438bc70ce80663f704c580f [INFO] running `Command { std: "docker" "start" "-a" "444a67aed5b3c87621160daa0caddde726f7b8565438bc70ce80663f704c580f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "444a67aed5b3c87621160daa0caddde726f7b8565438bc70ce80663f704c580f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444a67aed5b3c87621160daa0caddde726f7b8565438bc70ce80663f704c580f", kill_on_drop: false }` [INFO] [stdout] 444a67aed5b3c87621160daa0caddde726f7b8565438bc70ce80663f704c580f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efcf82e785ce9f6c04956aab166d24efb0e6069fc946cd924788a70751315cc4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "efcf82e785ce9f6c04956aab166d24efb0e6069fc946cd924788a70751315cc4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking vmm-sys-util v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking vm-memory v0.1.0 (https://github.com/rust-vmm/vm-memory#beaf2159) [INFO] [stderr] Checking kvm-bindings v0.2.0 [INFO] [stderr] Checking linux-loader v0.1.0 (https://github.com/michael2012z/linux-loader.git?branch=support_aarch64_test#62969979) [INFO] [stderr] Checking kvm-ioctls v0.4.0 (https://github.com/rust-vmm/kvm-ioctls?branch=master#b7eadd86) [INFO] [stderr] Checking glue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `kvm_vcpu_init` in `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | let mut kvi: kvm_bindings::kvm_vcpu_init = kvm_bindings::kvm_vcpu_init::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `kvm_vcpu_init` in `kvm_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `kvm_vcpu_init` in `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | let mut kvi: kvm_bindings::kvm_vcpu_init = kvm_bindings::kvm_vcpu_init::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `kvm_vcpu_init` in `kvm_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Arm64Pe` in `loader` [INFO] [stdout] --> src/vm.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let entry_addr = loader::Arm64Pe::load( [INFO] [stdout] | ^^^^^^^ could not find `Arm64Pe` in `loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `kvm_vcpu_init` in crate `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let mut kvi: kvm_bindings::kvm_vcpu_init = kvm_bindings::kvm_vcpu_init::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kvm_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_ARM_VCPU_PSCI_0_2` in crate `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | kvi.features[0] |= 1 << kvm_bindings::KVM_ARM_VCPU_PSCI_0_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_CAP_ARM_PSCI_0_2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | pub const KVM_CAP_ARM_PSCI_0_2: u32 = 102; [INFO] [stdout] | ------------------------------------------ similarly named constant `KVM_CAP_ARM_PSCI_0_2` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_ARM_VCPU_POWER_OFF` in crate `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | kvi.features[0] |= 1 << kvm_bindings::KVM_ARM_VCPU_POWER_OFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `kvm_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG` in this scope [INFO] [stdout] --> src/regs.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | | KVM_REG_ARM64_SYSREG as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP0_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | | ((($op0 as u64) << KVM_REG_ARM64_SYSREG_OP0_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP0_MASK` in this scope [INFO] [stdout] --> src/regs.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | & KVM_REG_ARM64_SYSREG_OP0_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP1_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | | ((($op1 as u64) << KVM_REG_ARM64_SYSREG_OP1_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP1_MASK` in this scope [INFO] [stdout] --> src/regs.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | & KVM_REG_ARM64_SYSREG_OP1_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRN_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | | ((($crn as u64) << KVM_REG_ARM64_SYSREG_CRN_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRN_MASK` in this scope [INFO] [stdout] --> src/regs.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | & KVM_REG_ARM64_SYSREG_CRN_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRM_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | | ((($crm as u64) << KVM_REG_ARM64_SYSREG_CRM_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRM_MASK` in this scope [INFO] [stdout] --> src/regs.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | & KVM_REG_ARM64_SYSREG_CRM_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP2_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | | ((($op2 as u64) << KVM_REG_ARM64_SYSREG_OP2_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP2_MASK` in this scope [INFO] [stdout] --> src/regs.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | & KVM_REG_ARM64_SYSREG_OP2_MASK as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM_CORE` in this scope [INFO] [stdout] --> src/regs.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | | u64::from(KVM_REG_ARM_CORE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_REG_ARM` [INFO] [stdout] ... [INFO] [stdout] 105 | vcpu.set_one_reg(arm64_core_reg!(pstate), PSTATE_FAULT_BITS_64) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | pub const KVM_REG_ARM: u64 = 4611686018427387904; [INFO] [stdout] | ------------------------------------------------- similarly named constant `KVM_REG_ARM` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `user_pt_regs` in this scope [INFO] [stdout] --> src/regs.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | | ((offset__of!(user_pt_regs, $reg) / mem::size_of::()) as u64) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 105 | vcpu.set_one_reg(arm64_core_reg!(pstate), PSTATE_FAULT_BITS_64) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM_CORE` in this scope [INFO] [stdout] --> src/regs.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | | u64::from(KVM_REG_ARM_CORE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_REG_ARM` [INFO] [stdout] ... [INFO] [stdout] 111 | vcpu.set_one_reg(arm64_core_reg!(pc), boot_ip).unwrap(); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | pub const KVM_REG_ARM: u64 = 4611686018427387904; [INFO] [stdout] | ------------------------------------------------- similarly named constant `KVM_REG_ARM` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `user_pt_regs` in this scope [INFO] [stdout] --> src/regs.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | | ((offset__of!(user_pt_regs, $reg) / mem::size_of::()) as u64) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 111 | vcpu.set_one_reg(arm64_core_reg!(pc), boot_ip).unwrap(); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM_CORE` in this scope [INFO] [stdout] --> src/regs.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | | u64::from(KVM_REG_ARM_CORE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_REG_ARM` [INFO] [stdout] ... [INFO] [stdout] 117 | vcpu.set_one_reg(arm64_core_reg!(regs), VmLayout::get_fdt_addr(mem)) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | pub const KVM_REG_ARM: u64 = 4611686018427387904; [INFO] [stdout] | ------------------------------------------------- similarly named constant `KVM_REG_ARM` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `user_pt_regs` in this scope [INFO] [stdout] --> src/regs.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | | ((offset__of!(user_pt_regs, $reg) / mem::size_of::()) as u64) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 117 | vcpu.set_one_reg(arm64_core_reg!(regs), VmLayout::get_fdt_addr(mem)) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/regs.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | const PSTATE_FAULT_BITS_64: u64 = (PSR_MODE_EL1h | PSR_A_BIT | PSR_F_BIT | PSR_I_BIT | PSR_D_BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linux_loader::loader::KernelLoader` [INFO] [stdout] --> src/vm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use linux_loader::loader::KernelLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Arm64Pe` in `loader` [INFO] [stdout] --> src/vm.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let entry_addr = loader::Arm64Pe::load( [INFO] [stdout] | ^^^^^^^ could not find `Arm64Pe` in `loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `kvm_vcpu_init` in crate `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let mut kvi: kvm_bindings::kvm_vcpu_init = kvm_bindings::kvm_vcpu_init::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kvm_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_ARM_VCPU_PSCI_0_2` in crate `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | kvi.features[0] |= 1 << kvm_bindings::KVM_ARM_VCPU_PSCI_0_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_CAP_ARM_PSCI_0_2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | pub const KVM_CAP_ARM_PSCI_0_2: u32 = 102; [INFO] [stdout] | ------------------------------------------ similarly named constant `KVM_CAP_ARM_PSCI_0_2` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_ARM_VCPU_POWER_OFF` in crate `kvm_bindings` [INFO] [stdout] --> src/cpu.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | kvi.features[0] |= 1 << kvm_bindings::KVM_ARM_VCPU_POWER_OFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `kvm_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG` in this scope [INFO] [stdout] --> src/regs.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | | KVM_REG_ARM64_SYSREG as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP0_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | | ((($op0 as u64) << KVM_REG_ARM64_SYSREG_OP0_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP0_MASK` in this scope [INFO] [stdout] --> src/regs.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | & KVM_REG_ARM64_SYSREG_OP0_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP1_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | | ((($op1 as u64) << KVM_REG_ARM64_SYSREG_OP1_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP1_MASK` in this scope [INFO] [stdout] --> src/regs.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | & KVM_REG_ARM64_SYSREG_OP1_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRN_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | | ((($crn as u64) << KVM_REG_ARM64_SYSREG_CRN_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRN_MASK` in this scope [INFO] [stdout] --> src/regs.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | & KVM_REG_ARM64_SYSREG_CRN_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRM_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | | ((($crm as u64) << KVM_REG_ARM64_SYSREG_CRM_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_CRM_MASK` in this scope [INFO] [stdout] --> src/regs.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | & KVM_REG_ARM64_SYSREG_CRM_MASK as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP2_SHIFT` in this scope [INFO] [stdout] --> src/regs.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | | ((($op2 as u64) << KVM_REG_ARM64_SYSREG_OP2_SHIFT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM64_SYSREG_OP2_MASK` in this scope [INFO] [stdout] --> src/regs.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | & KVM_REG_ARM64_SYSREG_OP2_MASK as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | arm64_sys_reg!(MPIDR_EL1, 3, 0, 0, 0, 5); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM_CORE` in this scope [INFO] [stdout] --> src/regs.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | | u64::from(KVM_REG_ARM_CORE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_REG_ARM` [INFO] [stdout] ... [INFO] [stdout] 105 | vcpu.set_one_reg(arm64_core_reg!(pstate), PSTATE_FAULT_BITS_64) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | pub const KVM_REG_ARM: u64 = 4611686018427387904; [INFO] [stdout] | ------------------------------------------------- similarly named constant `KVM_REG_ARM` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `user_pt_regs` in this scope [INFO] [stdout] --> src/regs.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | | ((offset__of!(user_pt_regs, $reg) / mem::size_of::()) as u64) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 105 | vcpu.set_one_reg(arm64_core_reg!(pstate), PSTATE_FAULT_BITS_64) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM_CORE` in this scope [INFO] [stdout] --> src/regs.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | | u64::from(KVM_REG_ARM_CORE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_REG_ARM` [INFO] [stdout] ... [INFO] [stdout] 111 | vcpu.set_one_reg(arm64_core_reg!(pc), boot_ip).unwrap(); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | pub const KVM_REG_ARM: u64 = 4611686018427387904; [INFO] [stdout] | ------------------------------------------------- similarly named constant `KVM_REG_ARM` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `user_pt_regs` in this scope [INFO] [stdout] --> src/regs.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | | ((offset__of!(user_pt_regs, $reg) / mem::size_of::()) as u64) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 111 | vcpu.set_one_reg(arm64_core_reg!(pc), boot_ip).unwrap(); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KVM_REG_ARM_CORE` in this scope [INFO] [stdout] --> src/regs.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | | u64::from(KVM_REG_ARM_CORE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KVM_REG_ARM` [INFO] [stdout] ... [INFO] [stdout] 117 | vcpu.set_one_reg(arm64_core_reg!(regs), VmLayout::get_fdt_addr(mem)) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kvm-bindings-0.2.0/src/x86/bindings_v4_20_0.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | pub const KVM_REG_ARM: u64 = 4611686018427387904; [INFO] [stdout] | ------------------------------------------------- similarly named constant `KVM_REG_ARM` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `user_pt_regs` in this scope [INFO] [stdout] --> src/regs.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | | ((offset__of!(user_pt_regs, $reg) / mem::size_of::()) as u64) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 117 | vcpu.set_one_reg(arm64_core_reg!(regs), VmLayout::get_fdt_addr(mem)) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/regs.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | const PSTATE_FAULT_BITS_64: u64 = (PSR_MODE_EL1h | PSR_A_BIT | PSR_F_BIT | PSR_I_BIT | PSR_D_BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linux_loader::loader::KernelLoader` [INFO] [stdout] --> src/vm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use linux_loader::loader::KernelLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_preferred_target` found for reference `&VmFd` in the current scope [INFO] [stdout] --> src/cpu.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | vm_fd.get_preferred_target(&mut kvi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&VmFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vcpu_init` found for struct `VcpuFd` in the current scope [INFO] [stdout] --> src/cpu.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | self.fd.vcpu_init(&kvi).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | vcpu.set_one_reg(arm64_core_reg!(pstate), PSTATE_FAULT_BITS_64) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | vcpu.set_one_reg(arm64_core_reg!(pc), boot_ip).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | vcpu.set_one_reg(arm64_core_reg!(regs), VmLayout::get_fdt_addr(mem)) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let mpidr = vcpu.get_one_reg(MPIDR_EL1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glue` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `get_preferred_target` found for reference `&VmFd` in the current scope [INFO] [stdout] --> src/cpu.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | vm_fd.get_preferred_target(&mut kvi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&VmFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vcpu_init` found for struct `VcpuFd` in the current scope [INFO] [stdout] --> src/cpu.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | self.fd.vcpu_init(&kvi).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | vcpu.set_one_reg(arm64_core_reg!(pstate), PSTATE_FAULT_BITS_64) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | vcpu.set_one_reg(arm64_core_reg!(pc), boot_ip).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | vcpu.set_one_reg(arm64_core_reg!(regs), VmLayout::get_fdt_addr(mem)) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_one_reg` found for reference `&VcpuFd` in the current scope [INFO] [stdout] --> src/regs.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let mpidr = vcpu.get_one_reg(MPIDR_EL1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&VcpuFd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "efcf82e785ce9f6c04956aab166d24efb0e6069fc946cd924788a70751315cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efcf82e785ce9f6c04956aab166d24efb0e6069fc946cd924788a70751315cc4", kill_on_drop: false }` [INFO] [stdout] efcf82e785ce9f6c04956aab166d24efb0e6069fc946cd924788a70751315cc4