[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael2012z%2Frust-vmm-glue" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michael2012z/rust-vmm-glue on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-vmm/kvm-ioctls` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Updating git repository `https://github.com/michael2012z/linux-loader.git` [INFO] [stderr] Updating git repository `https://github.com/rust-vmm/vm-memory` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-vmm/kvm-ioctls` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Updating git repository `https://github.com/michael2012z/linux-loader.git` [INFO] [stderr] Updating git repository `https://github.com/rust-vmm/vm-memory` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vmm-sys-util v0.8.0 [INFO] [stderr] Downloaded kvm-bindings v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d73f6a15bc65d1ad88eb954d5dbea8938a67b371d33cbda8ec3a430ddb123918 [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" "d73f6a15bc65d1ad88eb954d5dbea8938a67b371d33cbda8ec3a430ddb123918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d73f6a15bc65d1ad88eb954d5dbea8938a67b371d33cbda8ec3a430ddb123918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d73f6a15bc65d1ad88eb954d5dbea8938a67b371d33cbda8ec3a430ddb123918", kill_on_drop: false }` [INFO] [stdout] d73f6a15bc65d1ad88eb954d5dbea8938a67b371d33cbda8ec3a430ddb123918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f4bc0476ac923b7500f327d7d064ff808b16e37dd6e5d656ec7c2253668380b [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" "8f4bc0476ac923b7500f327d7d064ff808b16e37dd6e5d656ec7c2253668380b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vmm-sys-util v0.8.0 [INFO] [stderr] Checking vm-memory v0.5.0 (https://github.com/rust-vmm/vm-memory#500277b5) [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking kvm-bindings v0.4.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.8.0 (https://github.com/rust-vmm/kvm-ioctls?branch=master#363ac118) [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.4.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.4.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.4.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.4.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.4.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.4.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.4.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.4.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[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | let kvm_vcpu = vm_fd.create_vcpu(id).unwrap(); //.map_err(Error::X)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u8` [INFO] [stdout] | help: you can convert a `u8` to a `u64`: `id.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | let kvm_vcpu = vm_fd.create_vcpu(id).unwrap(); //.map_err(Error::X)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u8` [INFO] [stdout] | help: you can convert a `u8` to a `u64`: `id.into()` [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 29 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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] [stderr] error: could not compile `glue` [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] [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 `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 29 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f4bc0476ac923b7500f327d7d064ff808b16e37dd6e5d656ec7c2253668380b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f4bc0476ac923b7500f327d7d064ff808b16e37dd6e5d656ec7c2253668380b", kill_on_drop: false }` [INFO] [stdout] 8f4bc0476ac923b7500f327d7d064ff808b16e37dd6e5d656ec7c2253668380b