[INFO] cloning repository https://github.com/LiterallyKirby/Galatica
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiterallyKirby/Galatica" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiterallyKirby%2FGalatica", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiterallyKirby%2FGalatica'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0242adc596d090b8e1c41266435745a1ec1a93a8
[INFO] checking LiterallyKirby/Galatica against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiterallyKirby%2FGalatica" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/LiterallyKirby/Galatica
[INFO] finished tweaking git repo https://github.com/LiterallyKirby/Galatica
[INFO] tweaked toml for git repo https://github.com/LiterallyKirby/Galatica written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LiterallyKirby/Galatica on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LiterallyKirby/Galatica 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pic8259 v0.10.4
[INFO] [stderr]   Downloaded volatile v0.4.6
[INFO] [stderr]   Downloaded volatile v0.2.7
[INFO] [stderr]   Downloaded uart_16550 v0.2.19
[INFO] [stderr]   Downloaded x86_64 v0.14.13
[INFO] [stderr]   Downloaded linked_list_allocator v0.9.1
[INFO] [stderr]   Downloaded bootloader v0.9.33
[INFO] [stderr]   Downloaded conquer-util v0.2.0
[INFO] [stderr]   Downloaded pc-keyboard v0.7.0
[INFO] [stderr]   Downloaded spinning_top v0.2.5
[INFO] [stderr]   Downloaded conquer-once v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c3cdc385a26b9c00d3ecf6d3d6f9f66995450c5df4357cf1af8f42cd6c3f94f
[INFO] running `Command { std: "docker" "start" "-a" "0c3cdc385a26b9c00d3ecf6d3d6f9f66995450c5df4357cf1af8f42cd6c3f94f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c3cdc385a26b9c00d3ecf6d3d6f9f66995450c5df4357cf1af8f42cd6c3f94f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c3cdc385a26b9c00d3ecf6d3d6f9f66995450c5df4357cf1af8f42cd6c3f94f", kill_on_drop: false }`
[INFO] [stdout] 0c3cdc385a26b9c00d3ecf6d3d6f9f66995450c5df4357cf1af8f42cd6c3f94f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9025c83332d7c21b09611d7ffa9ea97342416fc8eaecbbda4605155ec2372356
[INFO] running `Command { std: "docker" "start" "-a" "9025c83332d7c21b09611d7ffa9ea97342416fc8eaecbbda4605155ec2372356", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling bootloader v0.9.33
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking volatile v0.4.6
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking conquer-util v0.2.0
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking spinning_top v0.2.5
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking linked_list_allocator v0.9.1
[INFO] [stderr]     Checking x86_64 v0.14.13
[INFO] [stderr]     Checking pc-keyboard v0.7.0
[INFO] [stderr]     Checking volatile v0.2.7
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking conquer-once v0.2.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking pic8259 v0.10.4
[INFO] [stderr]     Checking uart_16550 v0.2.19
[INFO] [stderr]     Checking Galatica v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `vec`
[INFO] [stdout]  --> src/fs/galfs.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::{format, vec};
[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 import: `print`
[INFO] [stdout]  --> src/interrupts.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{gdt, hlt_loop, print, println};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::keyboard`
[INFO] [stdout]  --> src/shell.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::task::keyboard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Keyboard` and `ScancodeSet1`
[INFO] [stdout]  --> src/shell.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pc_keyboard::{Keyboard, ScancodeSet1, DecodedKey};
[INFO] [stdout]   |                   ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print`
[INFO] [stdout]  --> src/task/keyboard.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{print, println, shell::Shell};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PhysFrame`
[INFO] [stdout]  --> src/vmx/mod.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use x86_64::structures::paging::{FrameAllocator, PhysFrame, Size4KiB};
[INFO] [stdout]   |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> src/vmx/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VcpuState`
[INFO] [stdout]  --> src/vmx/vm_runner.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::vcpu::{Vcpu, VcpuState, guest_code};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VmxError`
[INFO] [stdout]  --> src/vmx/vm_runner.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::{VmxResult, VmxError};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x86_64::structures::paging::PageTableFlags`
[INFO] [stdout]  --> src/vmx/ept.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use x86_64::structures::paging::PageTableFlags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]  --> src/vmx/ept.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::mem;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]  --> src/vmx/attestation.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use alloc::string::String;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> src/vmx/vcpu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]   --> src/vmx/vcpu.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use core::mem;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cr0Flags`, `Cr0`, `Cr4Flags`, and `Cr4`
[INFO] [stdout]   --> src/vmx/amd_svm.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | use x86_64::registers::control::{Cr0, Cr0Flags, Cr4, Cr4Flags, EferFlags};
[INFO] [stdout]    |                                  ^^^  ^^^^^^^^  ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:268:41
[INFO] [stdout]     |
[INFO] [stdout] 268 |         self.control.intercept_misc1 |= (1 << 27); // IOIO_PROT
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -         self.control.intercept_misc1 |= (1 << 27); // IOIO_PROT
[INFO] [stdout] 268 +         self.control.intercept_misc1 |= 1 << 27; // IOIO_PROT
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:271:41
[INFO] [stdout]     |
[INFO] [stdout] 271 |         self.control.intercept_misc1 |= (1 << 28); // MSR_PROT
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 271 -         self.control.intercept_misc1 |= (1 << 28); // MSR_PROT
[INFO] [stdout] 271 +         self.control.intercept_misc1 |= 1 << 28; // MSR_PROT
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 |         self.control.intercept_misc1 |= (1 << 24);
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 274 -         self.control.intercept_misc1 |= (1 << 24);
[INFO] [stdout] 274 +         self.control.intercept_misc1 |= 1 << 24;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:277:41
[INFO] [stdout]     |
[INFO] [stdout] 277 |         self.control.intercept_misc2 |= (1 << 0);
[INFO] [stdout]     |                                         ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 277 -         self.control.intercept_misc2 |= (1 << 0);
[INFO] [stdout] 277 +         self.control.intercept_misc2 |= 1 << 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/vmx/amd_iommu.rs:98:27
[INFO] [stdout]    |
[INFO] [stdout] 98 |             self.data0 |= (1 << 1);
[INFO] [stdout]    |                           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -             self.data0 |= (1 << 1);
[INFO] [stdout] 98 +             self.data0 |= 1 << 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |             self.data2 |= (1 << 60);
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -             self.data2 |= (1 << 60);
[INFO] [stdout] 118 +             self.data2 |= 1 << 60;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |             self.value |= (1 << 1);
[INFO] [stdout]     |                           ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             self.value |= (1 << 1);
[INFO] [stdout] 148 +             self.value |= 1 << 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec`
[INFO] [stdout]  --> src/fs/galfs.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::{format, vec};
[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 import: `print`
[INFO] [stdout]  --> src/interrupts.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{gdt, hlt_loop, print, println};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::keyboard`
[INFO] [stdout]  --> src/shell.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::task::keyboard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Keyboard` and `ScancodeSet1`
[INFO] [stdout]  --> src/shell.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pc_keyboard::{Keyboard, ScancodeSet1, DecodedKey};
[INFO] [stdout]   |                   ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print`
[INFO] [stdout]  --> src/task/keyboard.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{print, println, shell::Shell};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PhysFrame`
[INFO] [stdout]  --> src/vmx/mod.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use x86_64::structures::paging::{FrameAllocator, PhysFrame, Size4KiB};
[INFO] [stdout]   |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> src/vmx/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VcpuState`
[INFO] [stdout]  --> src/vmx/vm_runner.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::vcpu::{Vcpu, VcpuState, guest_code};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VmxError`
[INFO] [stdout]  --> src/vmx/vm_runner.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::{VmxResult, VmxError};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x86_64::structures::paging::PageTableFlags`
[INFO] [stdout]  --> src/vmx/ept.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use x86_64::structures::paging::PageTableFlags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]  --> src/vmx/ept.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::mem;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]  --> src/vmx/attestation.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use alloc::string::String;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> src/vmx/vcpu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]   --> src/vmx/vcpu.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use core::mem;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cr0Flags`, `Cr0`, `Cr4Flags`, and `Cr4`
[INFO] [stdout]   --> src/vmx/amd_svm.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | use x86_64::registers::control::{Cr0, Cr0Flags, Cr4, Cr4Flags, EferFlags};
[INFO] [stdout]    |                                  ^^^  ^^^^^^^^  ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:268:41
[INFO] [stdout]     |
[INFO] [stdout] 268 |         self.control.intercept_misc1 |= (1 << 27); // IOIO_PROT
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -         self.control.intercept_misc1 |= (1 << 27); // IOIO_PROT
[INFO] [stdout] 268 +         self.control.intercept_misc1 |= 1 << 27; // IOIO_PROT
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:271:41
[INFO] [stdout]     |
[INFO] [stdout] 271 |         self.control.intercept_misc1 |= (1 << 28); // MSR_PROT
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 271 -         self.control.intercept_misc1 |= (1 << 28); // MSR_PROT
[INFO] [stdout] 271 +         self.control.intercept_misc1 |= 1 << 28; // MSR_PROT
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 |         self.control.intercept_misc1 |= (1 << 24);
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 274 -         self.control.intercept_misc1 |= (1 << 24);
[INFO] [stdout] 274 +         self.control.intercept_misc1 |= 1 << 24;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:277:41
[INFO] [stdout]     |
[INFO] [stdout] 277 |         self.control.intercept_misc2 |= (1 << 0);
[INFO] [stdout]     |                                         ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 277 -         self.control.intercept_misc2 |= (1 << 0);
[INFO] [stdout] 277 +         self.control.intercept_misc2 |= 1 << 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/vmx/amd_iommu.rs:98:27
[INFO] [stdout]    |
[INFO] [stdout] 98 |             self.data0 |= (1 << 1);
[INFO] [stdout]    |                           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -             self.data0 |= (1 << 1);
[INFO] [stdout] 98 +             self.data0 |= 1 << 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |             self.data2 |= (1 << 60);
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -             self.data2 |= (1 << 60);
[INFO] [stdout] 118 +             self.data2 |= 1 << 60;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |             self.value |= (1 << 1);
[INFO] [stdout]     |                           ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             self.value |= (1 << 1);
[INFO] [stdout] 148 +             self.value |= 1 << 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec`
[INFO] [stdout]  --> src/fs/galfs.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::{format, vec};
[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 import: `print`
[INFO] [stdout]  --> src/interrupts.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{gdt, hlt_loop, print, println};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::keyboard`
[INFO] [stdout]  --> src/shell.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::task::keyboard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Keyboard` and `ScancodeSet1`
[INFO] [stdout]  --> src/shell.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pc_keyboard::{Keyboard, ScancodeSet1, DecodedKey};
[INFO] [stdout]   |                   ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print`
[INFO] [stdout]  --> src/task/keyboard.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{print, println, shell::Shell};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PhysFrame`
[INFO] [stdout]  --> src/vmx/mod.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use x86_64::structures::paging::{FrameAllocator, PhysFrame, Size4KiB};
[INFO] [stdout]   |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Galatica` (lib test) due to 1 previous error; 22 warnings emitted
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> src/vmx/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `VcpuState`
[INFO] [stdout]  --> src/vmx/vm_runner.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::vcpu::{Vcpu, VcpuState, guest_code};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VmxError`
[INFO] [stdout]  --> src/vmx/vm_runner.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::{VmxResult, VmxError};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x86_64::structures::paging::PageTableFlags`
[INFO] [stdout]  --> src/vmx/ept.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use x86_64::structures::paging::PageTableFlags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]  --> src/vmx/ept.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::mem;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]  --> src/vmx/attestation.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use alloc::string::String;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> src/vmx/vcpu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]   --> src/vmx/vcpu.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use core::mem;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cr0Flags`, `Cr0`, `Cr4Flags`, and `Cr4`
[INFO] [stdout]   --> src/vmx/amd_svm.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | use x86_64::registers::control::{Cr0, Cr0Flags, Cr4, Cr4Flags, EferFlags};
[INFO] [stdout]    |                                  ^^^  ^^^^^^^^  ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:268:41
[INFO] [stdout]     |
[INFO] [stdout] 268 |         self.control.intercept_misc1 |= (1 << 27); // IOIO_PROT
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 268 -         self.control.intercept_misc1 |= (1 << 27); // IOIO_PROT
[INFO] [stdout] 268 +         self.control.intercept_misc1 |= 1 << 27; // IOIO_PROT
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:271:41
[INFO] [stdout]     |
[INFO] [stdout] 271 |         self.control.intercept_misc1 |= (1 << 28); // MSR_PROT
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 271 -         self.control.intercept_misc1 |= (1 << 28); // MSR_PROT
[INFO] [stdout] 271 +         self.control.intercept_misc1 |= 1 << 28; // MSR_PROT
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 |         self.control.intercept_misc1 |= (1 << 24);
[INFO] [stdout]     |                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 274 -         self.control.intercept_misc1 |= (1 << 24);
[INFO] [stdout] 274 +         self.control.intercept_misc1 |= 1 << 24;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_svm.rs:277:41
[INFO] [stdout]     |
[INFO] [stdout] 277 |         self.control.intercept_misc2 |= (1 << 0);
[INFO] [stdout]     |                                         ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 277 -         self.control.intercept_misc2 |= (1 << 0);
[INFO] [stdout] 277 +         self.control.intercept_misc2 |= 1 << 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/vmx/amd_iommu.rs:98:27
[INFO] [stdout]    |
[INFO] [stdout] 98 |             self.data0 |= (1 << 1);
[INFO] [stdout]    |                           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -             self.data0 |= (1 << 1);
[INFO] [stdout] 98 +             self.data0 |= 1 << 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |             self.data2 |= (1 << 60);
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -             self.data2 |= (1 << 60);
[INFO] [stdout] 118 +             self.data2 |= 1 << 60;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |             self.value |= (1 << 1);
[INFO] [stdout]     |                           ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             self.value |= (1 << 1);
[INFO] [stdout] 148 +             self.value |= 1 << 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/lib.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 97 | |     test_panic_handler(info)
[INFO] [stdout] 98 | | }
[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/4b9792692fbb675174d4d2082e7c37b2bc930e71/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ac9480c40695dcba.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`Galatica`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/interrupts.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/interrupts.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/task/keyboard.rs:87:40
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     DecodedKey::RawKey(key) => {
[INFO] [stdout]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/ept.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/vcpu.rs:624:30
[INFO] [stdout]     |
[INFO] [stdout] 624 |                 let result = unsafe { core::arch::x86_64::__cpuid_count(eax, ecx) };
[INFO] [stdout]     |                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmx/amd_svm.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let mut vmcb = Box::new(Self {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/amd_svm.rs:341:17
[INFO] [stdout]     |
[INFO] [stdout] 341 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(0x80000001) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/amd_svm.rs:378:17
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(0x8000000A) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rax` is never read
[INFO] [stdout]    --> src/vmx/amd_svm.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 | /         asm!(
[INFO] [stdout] 399 | |             "vmload rax",    // Load host state
[INFO] [stdout] 400 | |             "vmrun rax",     // Run guest
[INFO] [stdout] 401 | |             "vmsave rax",    // Save guest state
[INFO] [stdout] 402 | |             inout("rax") rax,
[INFO] [stdout] 403 | |             options(nostack)
[INFO] [stdout] 404 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let cpuid = unsafe { core::arch::x86_64::__cpuid(0x80000001) };
[INFO] [stdout]     |                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/vmx/mod.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(0) };
[INFO] [stdout]    |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/mod.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(1) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmx/mod.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let mut cr0 = Cr0::read();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmx/mod.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut cr4 = Cr4::read();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_used` is never used
[INFO] [stdout]    --> src/fs/galfs.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout]  75 | impl Inode {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     fn is_used(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data_selector`, `user_code_selector`, and `user_data_selector` are never read
[INFO] [stdout]   --> src/gdt.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Selectors {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 47 |     code_selector: SegmentSelector,
[INFO] [stdout] 48 |     data_selector: SegmentSelector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 49 |     user_code_selector: SegmentSelector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     user_data_selector: SegmentSelector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vmxon_region` is never read
[INFO] [stdout]    --> src/vmx/mod.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct VmxManager {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 322 |     vmxon_region: PhysAddr,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IA32_L3_CACHE_QOS_CFG` is never used
[INFO] [stdout]   --> src/vmx/cache_defense.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |         const IA32_L3_CACHE_QOS_CFG: u32 = 0xC81;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vmcs_phys` and `phys_offset` are never read
[INFO] [stdout]    --> src/vmx/vcpu.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub struct Vcpu {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 155 |     vmcs_phys: PhysAddr,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     phys_offset: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MSR_EFER` is never used
[INFO] [stdout]   --> src/vmx/amd_svm.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const MSR_EFER: u32 = 0xC0000080;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EFER_SVME` is never used
[INFO] [stdout]   --> src/vmx/amd_svm.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const EFER_SVME: u64 = 1 << 12; // SVM Enable
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_page_table_root` is never used
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout]  76 | impl DeviceTableEntry {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn set_page_table_root(&mut self, addr: PhysAddr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IoPageTableEntry` is never constructed
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct IoPageTableEntry {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_present`, `set_writable`, `set_address`, and `address` are never used
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl IoPageTableEntry {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 134 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn set_present(&mut self, present: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn set_writable(&mut self, writable: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn set_address(&mut self, addr: PhysAddr) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn address(&self) -> PhysAddr {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:389:5
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub struct IommuDomain {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 389 |     id: u32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Galatica` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `galatica`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `MapperFlush` that must be used
[INFO] [stdout]   --> src/allocator.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             mapper.map_to(page, frame, flags, frame_allocator)?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: Page Table changes must be flushed or ignored.
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let _ = mapper.map_to(page, frame, flags, frame_allocator)?;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/allocator.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn lock(&self) -> spin::MutexGuard<A> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn lock(&self) -> spin::MutexGuard<'_, A> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/vmx/vcpu.rs:1079:9
[INFO] [stdout]      |
[INFO] [stdout] 1079 |         vcpu.verify_integrity();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1079 |         let _ = vcpu.verify_integrity();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/interrupts.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/interrupts.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/task/keyboard.rs:87:40
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     DecodedKey::RawKey(key) => {
[INFO] [stdout]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/ept.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/vcpu.rs:624:30
[INFO] [stdout]     |
[INFO] [stdout] 624 |                 let result = unsafe { core::arch::x86_64::__cpuid_count(eax, ecx) };
[INFO] [stdout]     |                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmx/amd_svm.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let mut vmcb = Box::new(Self {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/amd_svm.rs:341:17
[INFO] [stdout]     |
[INFO] [stdout] 341 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(0x80000001) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/amd_svm.rs:378:17
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(0x8000000A) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rax` is never read
[INFO] [stdout]    --> src/vmx/amd_svm.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 | /         asm!(
[INFO] [stdout] 399 | |             "vmload rax",    // Load host state
[INFO] [stdout] 400 | |             "vmrun rax",     // Run guest
[INFO] [stdout] 401 | |             "vmsave rax",    // Save guest state
[INFO] [stdout] 402 | |             inout("rax") rax,
[INFO] [stdout] 403 | |             options(nostack)
[INFO] [stdout] 404 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let cpuid = unsafe { core::arch::x86_64::__cpuid(0x80000001) };
[INFO] [stdout]     |                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/vmx/mod.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(0) };
[INFO] [stdout]    |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vmx/mod.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let cpuid = unsafe { core::arch::x86_64::__cpuid(1) };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmx/mod.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let mut cr0 = Cr0::read();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmx/mod.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut cr4 = Cr4::read();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_used` is never used
[INFO] [stdout]    --> src/fs/galfs.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout]  75 | impl Inode {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     fn is_used(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data_selector`, `user_code_selector`, and `user_data_selector` are never read
[INFO] [stdout]   --> src/gdt.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Selectors {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 47 |     code_selector: SegmentSelector,
[INFO] [stdout] 48 |     data_selector: SegmentSelector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 49 |     user_code_selector: SegmentSelector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     user_data_selector: SegmentSelector,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vmxon_region` is never read
[INFO] [stdout]    --> src/vmx/mod.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct VmxManager {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 322 |     vmxon_region: PhysAddr,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IA32_L3_CACHE_QOS_CFG` is never used
[INFO] [stdout]   --> src/vmx/cache_defense.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |         const IA32_L3_CACHE_QOS_CFG: u32 = 0xC81;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vmcs_phys` and `phys_offset` are never read
[INFO] [stdout]    --> src/vmx/vcpu.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub struct Vcpu {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 155 |     vmcs_phys: PhysAddr,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     phys_offset: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MSR_EFER` is never used
[INFO] [stdout]   --> src/vmx/amd_svm.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const MSR_EFER: u32 = 0xC0000080;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EFER_SVME` is never used
[INFO] [stdout]   --> src/vmx/amd_svm.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const EFER_SVME: u64 = 1 << 12; // SVM Enable
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_page_table_root` is never used
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout]  76 | impl DeviceTableEntry {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn set_page_table_root(&mut self, addr: PhysAddr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IoPageTableEntry` is never constructed
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct IoPageTableEntry {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_present`, `set_writable`, `set_address`, and `address` are never used
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl IoPageTableEntry {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 134 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn set_present(&mut self, present: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn set_writable(&mut self, writable: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn set_address(&mut self, addr: PhysAddr) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn address(&self) -> PhysAddr {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]    --> src/vmx/amd_iommu.rs:389:5
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub struct IommuDomain {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 389 |     id: u32,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Galatica` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `galatica`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `MapperFlush` that must be used
[INFO] [stdout]   --> src/allocator.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             mapper.map_to(page, frame, flags, frame_allocator)?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: Page Table changes must be flushed or ignored.
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let _ = mapper.map_to(page, frame, flags, frame_allocator)?;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/allocator.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn lock(&self) -> spin::MutexGuard<A> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn lock(&self) -> spin::MutexGuard<'_, A> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/vmx/vcpu.rs:1079:9
[INFO] [stdout]      |
[INFO] [stdout] 1079 |         vcpu.verify_integrity();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1079 |         let _ = vcpu.verify_integrity();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9025c83332d7c21b09611d7ffa9ea97342416fc8eaecbbda4605155ec2372356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9025c83332d7c21b09611d7ffa9ea97342416fc8eaecbbda4605155ec2372356", kill_on_drop: false }`
[INFO] [stdout] 9025c83332d7c21b09611d7ffa9ea97342416fc8eaecbbda4605155ec2372356
