[INFO] cloning repository https://github.com/gokwok/StratoVirt2
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gokwok/StratoVirt2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgokwok%2FStratoVirt2"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgokwok%2FStratoVirt2'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 55b243f521a4b8a1e7e458819fac718e449b2e6e
[INFO] testing gokwok/StratoVirt2 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgokwok%2FStratoVirt2" "/workspace/builds/worker-7-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/gokwok/StratoVirt2
[INFO] finished tweaking git repo https://github.com/gokwok/StratoVirt2
[INFO] tweaked toml for git repo https://github.com/gokwok/StratoVirt2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gokwok/StratoVirt2 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/gokwok/StratoVirt2 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8
[INFO] running `"docker" "start" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] running `"docker" "inspect" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde v1.0.163
[INFO] [stderr]    Compiling kvm-ioctls v0.13.0
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling io-uring v0.6.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]    Compiling util v2.3.0 (/opt/rustwide/workdir/util)
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.31
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling bitintr v0.3.0
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling vmm-sys-util v0.11.1
[INFO] [stderr]    Compiling nix v0.26.2
[INFO] [stderr]    Compiling kvm-bindings v0.6.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling const_format v0.2.31
[INFO] [stderr]    Compiling drm-fourcc v2.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling vfio-bindings v0.3.1
[INFO] [stderr]    Compiling stratovirt v2.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling serde_derive v1.0.163
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling migration_derive v2.2.0 (/opt/rustwide/workdir/migration/migration_derive)
[INFO] [stderr]    Compiling sscanf_macro v0.4.1
[INFO] [stderr]    Compiling sscanf v0.4.1
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 |         if TEST_CLOCK.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut test_clock = TEST_CLOCK.as_ref().unwrap().write().unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if TEST_CLOCK.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 |         *TEST_CLOCK.as_ref().unwrap().read().unwrap()
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |         if TEST_CLOCK.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling machine_manager v2.3.0 (/opt/rustwide/workdir/machine_manager)
[INFO] [stderr]    Compiling hypervisor v2.3.0 (/opt/rustwide/workdir/hypervisor)
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]    --> machine_manager/src/qmp/qmp_schema.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 | trait Command: Serialize {
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> machine_manager/src/event_loop.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if GLOBAL_EVENT_LOOP.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 41 - static mut GLOBAL_EVENT_LOOP: Option<EventLoop> = None;
[INFO] [stdout] 41 + static GLOBAL_EVENT_LOOP: Option<EventLoop> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/event_loop.rs:66:43
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> machine_manager/src/event_loop.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |             if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> machine_manager/src/event_loop.rs:149:39
[INFO] [stdout]     |
[INFO] [stdout] 149 |             if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> machine_manager/src/qmp/qmp_channel.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |             if QMP_CHANNEL.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> machine_manager/src/qmp/qmp_channel.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 172 |             match &QMP_CHANNEL {
[INFO] [stdout]     |                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 172 |             match &raw const QMP_CHANNEL {
[INFO] [stdout]     |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |             if GLOBAL_TEMP_CLEANER.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:56:32
[INFO] [stdout]    |
[INFO] [stdout] 56 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> machine_manager/src/temp_cleaner.rs:110:32
[INFO] [stdout]     |
[INFO] [stdout] 110 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling migration v2.3.0 (/opt/rustwide/workdir/migration)
[INFO] [stderr]    Compiling chardev_backend v2.3.0 (/opt/rustwide/workdir/chardev_backend)
[INFO] [stderr]    Compiling ui v2.3.0 (/opt/rustwide/workdir/ui)
[INFO] [stderr]    Compiling block_backend v2.3.0 (/opt/rustwide/workdir/block_backend)
[INFO] [stderr]    Compiling smbios v2.3.0 (/opt/rustwide/workdir/smbios)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> migration/src/protocol.rs:330:18
[INFO] [stdout]     |
[INFO] [stdout] 330 |     let result = unsafe { __cpuid_count(EAX_VENDOR_INFO, 0) };
[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] [stderr]    Compiling address_space v2.3.0 (/opt/rustwide/workdir/address_space)
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> address_space/src/region.rs:683:41
[INFO] [stdout]     |
[INFO] [stdout] 683 |                 if count >= std::usize::MAX as u64 {
[INFO] [stdout]     |                                         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cpu v2.3.0 (/opt/rustwide/workdir/cpu)
[INFO] [stderr]    Compiling acpi v2.3.0 (/opt/rustwide/workdir/acpi)
[INFO] [stderr]    Compiling devices v2.3.0 (/opt/rustwide/workdir/devices)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> devices/src/usb/keyboard.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             /// HID descriptor
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 83 |             data: vec![0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3f, 0],
[INFO] [stdout]    |             ------------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> devices/src/usb/tablet.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             /// HID descriptor
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 90 |             data: vec![0x09, 0x21, 0x01, 0x0, 0x0, 0x01, 0x22, 89, 0x0],
[INFO] [stdout]    |             ----------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]   --> devices/src/interrupt_controller/mod.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub use anyhow::Result;
[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: `error::InterruptError`
[INFO] [stdout]   --> devices/src/interrupt_controller/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub use error::InterruptError;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/legacy/fwcfg.rs:388:63
[INFO] [stdout]     |
[INFO] [stdout] 388 |         if key >= self.max_entry() || data.len() >= std::u32::MAX as usize {
[INFO] [stdout]     |                                                               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/legacy/fwcfg.rs:417:63
[INFO] [stdout]     |
[INFO] [stdout] 417 |         if key >= self.max_entry() || data.len() >= std::u32::MAX as usize {
[INFO] [stdout]     |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/pci/intx.rs:130:44
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let (irq, intx_state) = (std::u32::MAX, None);
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/pci/intx.rs:156:32
[INFO] [stdout]     |
[INFO] [stdout] 156 |                     (std::u32::MAX, None)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/pci/intx.rs:162:20
[INFO] [stdout]     |
[INFO] [stdout] 162 |         (std::u32::MAX, None)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> devices/src/pci/root_port.rs:97:61
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mem_region = Region::init_container_region(u64::max_value(), "RootPortMem");
[INFO] [stdout]    |                                                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsbQualifierDescriptor` is never constructed
[INFO] [stdout]    --> devices/src/usb/descriptor.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | struct UsbQualifierDescriptor {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsbStringDescriptor` is never constructed
[INFO] [stdout]    --> devices/src/usb/descriptor.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | struct UsbStringDescriptor {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsbSuperSpeedEndpointCompDescriptor` is never constructed
[INFO] [stdout]    --> devices/src/usb/descriptor.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct UsbSuperSpeedEndpointCompDescriptor {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InterruptError` is never used
[INFO] [stdout]   --> devices/src/interrupt_controller/error.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum InterruptError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling vfio v2.3.0 (/opt/rustwide/workdir/vfio)
[INFO] [stderr]    Compiling virtio v2.3.0 (/opt/rustwide/workdir/virtio)
[INFO] [stderr]    Compiling boot_loader v2.3.0 (/opt/rustwide/workdir/boot_loader)
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> virtio/src/vhost/user/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use client::VhostUserClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `VhostUserClient` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> virtio/src/vhost/user/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use self::client::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> virtio/src/vhost/user/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use client::VhostUserClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::*`
[INFO] [stdout]   --> virtio/src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub use error::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> virtio/src/device/serial.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::{cmp, usize};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> virtio/src/device/balloon.rs:697:41
[INFO] [stdout]     |
[INFO] [stdout] 697 |             if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 697 |             if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stdout]     |                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> virtio/src/device/balloon.rs:929:16
[INFO] [stdout]     |
[INFO] [stdout] 929 |             if BALLOON_DEV.is_none() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> virtio/src/device/balloon.rs:1145:33
[INFO] [stdout]      |
[INFO] [stdout] 1145 |     if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 1145 |     if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stdout]      |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> virtio/src/device/balloon.rs:1163:33
[INFO] [stdout]      |
[INFO] [stdout] 1163 |     if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 1163 |     if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stdout]      |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling machine v2.3.0 (/opt/rustwide/workdir/machine)
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/standard_vm/x86_64/mod.rs:167:48
[INFO] [stdout]     |
[INFO] [stdout] 167 |             Region::init_container_region(u64::max_value(), "SysMem"),
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/standard_vm/x86_64/mod.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/micro_vm/mod.rs:203:48
[INFO] [stdout]     |
[INFO] [stdout] 203 |             Region::init_container_region(u64::max_value(), "SysMem"),
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/micro_vm/mod.rs:251:70
[INFO] [stdout]     |
[INFO] [stdout] 251 |             machine_ram: Arc::new(Region::init_container_region(u64::max_value(), "pc.ram")),
[INFO] [stdout]     |                                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `register_pause_event` and `register_resume_event` are never used
[INFO] [stdout]    --> machine/src/standard_vm/mod.rs:228:8
[INFO] [stdout]     |
[INFO] [stdout]  88 | trait StdMachineOps: AcpiBuilder {
[INFO] [stdout]     |       ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn register_pause_event(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn register_resume_event(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MainError` is never used
[INFO] [stdout]   --> src/main.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum MainError {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 37s
[INFO] running `"docker" "inspect" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling serde v1.0.163
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling const_format v0.2.31
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling bitintr v0.3.0
[INFO] [stderr]    Compiling drm-fourcc v2.2.0
[INFO] [stderr]    Compiling vfio-bindings v0.3.1
[INFO] [stderr]    Compiling vmm-sys-util v0.11.1
[INFO] [stderr]    Compiling nix v0.26.2
[INFO] [stderr]    Compiling io-uring v0.6.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling kvm-bindings v0.6.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling kvm-ioctls v0.13.0
[INFO] [stderr]    Compiling sscanf v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling util v2.3.0 (/opt/rustwide/workdir/util)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 |         if TEST_CLOCK.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut test_clock = TEST_CLOCK.as_ref().unwrap().write().unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if TEST_CLOCK.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 |         *TEST_CLOCK.as_ref().unwrap().read().unwrap()
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> util/src/test_helper.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |         if TEST_CLOCK.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling machine_manager v2.3.0 (/opt/rustwide/workdir/machine_manager)
[INFO] [stderr]    Compiling hypervisor v2.3.0 (/opt/rustwide/workdir/hypervisor)
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]    --> machine_manager/src/qmp/qmp_schema.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 | trait Command: Serialize {
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> machine_manager/src/event_loop.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if GLOBAL_EVENT_LOOP.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 41 - static mut GLOBAL_EVENT_LOOP: Option<EventLoop> = None;
[INFO] [stdout] 41 + static GLOBAL_EVENT_LOOP: Option<EventLoop> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/event_loop.rs:66:43
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> machine_manager/src/event_loop.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |             if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> machine_manager/src/event_loop.rs:149:39
[INFO] [stdout]     |
[INFO] [stdout] 149 |             if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> machine_manager/src/qmp/qmp_channel.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |             if QMP_CHANNEL.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> machine_manager/src/qmp/qmp_channel.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 172 |             match &QMP_CHANNEL {
[INFO] [stdout]     |                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 172 |             match &raw const QMP_CHANNEL {
[INFO] [stdout]     |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |             if GLOBAL_TEMP_CLEANER.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:56:32
[INFO] [stdout]    |
[INFO] [stdout] 56 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> machine_manager/src/temp_cleaner.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> machine_manager/src/temp_cleaner.rs:110:32
[INFO] [stdout]     |
[INFO] [stdout] 110 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling migration v2.3.0 (/opt/rustwide/workdir/migration)
[INFO] [stderr]    Compiling chardev_backend v2.3.0 (/opt/rustwide/workdir/chardev_backend)
[INFO] [stderr]    Compiling ui v2.3.0 (/opt/rustwide/workdir/ui)
[INFO] [stderr]    Compiling block_backend v2.3.0 (/opt/rustwide/workdir/block_backend)
[INFO] [stderr]    Compiling smbios v2.3.0 (/opt/rustwide/workdir/smbios)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> migration/src/protocol.rs:330:18
[INFO] [stdout]     |
[INFO] [stdout] 330 |     let result = unsafe { __cpuid_count(EAX_VENDOR_INFO, 0) };
[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] [stderr]    Compiling address_space v2.3.0 (/opt/rustwide/workdir/address_space)
[INFO] [stderr]    Compiling cpu v2.3.0 (/opt/rustwide/workdir/cpu)
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> address_space/src/region.rs:683:41
[INFO] [stdout]     |
[INFO] [stdout] 683 |                 if count >= std::usize::MAX as u64 {
[INFO] [stdout]     |                                         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling acpi v2.3.0 (/opt/rustwide/workdir/acpi)
[INFO] [stderr]    Compiling devices v2.3.0 (/opt/rustwide/workdir/devices)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> devices/src/usb/keyboard.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             /// HID descriptor
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 83 |             data: vec![0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3f, 0],
[INFO] [stdout]    |             ------------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> devices/src/usb/tablet.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             /// HID descriptor
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 90 |             data: vec![0x09, 0x21, 0x01, 0x0, 0x0, 0x01, 0x22, 89, 0x0],
[INFO] [stdout]    |             ----------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]   --> devices/src/interrupt_controller/mod.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub use anyhow::Result;
[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: `error::InterruptError`
[INFO] [stdout]   --> devices/src/interrupt_controller/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub use error::InterruptError;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/legacy/fwcfg.rs:388:63
[INFO] [stdout]     |
[INFO] [stdout] 388 |         if key >= self.max_entry() || data.len() >= std::u32::MAX as usize {
[INFO] [stdout]     |                                                               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/legacy/fwcfg.rs:417:63
[INFO] [stdout]     |
[INFO] [stdout] 417 |         if key >= self.max_entry() || data.len() >= std::u32::MAX as usize {
[INFO] [stdout]     |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/pci/intx.rs:130:44
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let (irq, intx_state) = (std::u32::MAX, None);
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/pci/intx.rs:156:32
[INFO] [stdout]     |
[INFO] [stdout] 156 |                     (std::u32::MAX, None)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> devices/src/pci/intx.rs:162:20
[INFO] [stdout]     |
[INFO] [stdout] 162 |         (std::u32::MAX, None)
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> devices/src/pci/root_port.rs:97:61
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mem_region = Region::init_container_region(u64::max_value(), "RootPortMem");
[INFO] [stdout]    |                                                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsbQualifierDescriptor` is never constructed
[INFO] [stdout]    --> devices/src/usb/descriptor.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | struct UsbQualifierDescriptor {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsbStringDescriptor` is never constructed
[INFO] [stdout]    --> devices/src/usb/descriptor.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | struct UsbStringDescriptor {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsbSuperSpeedEndpointCompDescriptor` is never constructed
[INFO] [stdout]    --> devices/src/usb/descriptor.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct UsbSuperSpeedEndpointCompDescriptor {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InterruptError` is never used
[INFO] [stdout]   --> devices/src/interrupt_controller/error.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum InterruptError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling boot_loader v2.3.0 (/opt/rustwide/workdir/boot_loader)
[INFO] [stderr]    Compiling vfio v2.3.0 (/opt/rustwide/workdir/vfio)
[INFO] [stderr]    Compiling virtio v2.3.0 (/opt/rustwide/workdir/virtio)
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> virtio/src/vhost/user/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use client::VhostUserClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `VhostUserClient` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> virtio/src/vhost/user/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use self::client::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> virtio/src/vhost/user/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use client::VhostUserClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::*`
[INFO] [stdout]   --> virtio/src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub use error::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> virtio/src/device/serial.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::{cmp, usize};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> virtio/src/device/balloon.rs:697:41
[INFO] [stdout]     |
[INFO] [stdout] 697 |             if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 697 |             if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stdout]     |                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> virtio/src/device/balloon.rs:929:16
[INFO] [stdout]     |
[INFO] [stdout] 929 |             if BALLOON_DEV.is_none() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> virtio/src/device/balloon.rs:1145:33
[INFO] [stdout]      |
[INFO] [stdout] 1145 |     if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 1145 |     if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stdout]      |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> virtio/src/device/balloon.rs:1163:33
[INFO] [stdout]      |
[INFO] [stdout] 1163 |     if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 1163 |     if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stdout]      |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling machine v2.3.0 (/opt/rustwide/workdir/machine)
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/standard_vm/x86_64/mod.rs:167:48
[INFO] [stdout]     |
[INFO] [stdout] 167 |             Region::init_container_region(u64::max_value(), "SysMem"),
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/standard_vm/x86_64/mod.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/micro_vm/mod.rs:203:48
[INFO] [stdout]     |
[INFO] [stdout] 203 |             Region::init_container_region(u64::max_value(), "SysMem"),
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> machine/src/micro_vm/mod.rs:251:70
[INFO] [stdout]     |
[INFO] [stdout] 251 |             machine_ram: Arc::new(Region::init_container_region(u64::max_value(), "pc.ram")),
[INFO] [stdout]     |                                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `register_pause_event` and `register_resume_event` are never used
[INFO] [stdout]    --> machine/src/standard_vm/mod.rs:228:8
[INFO] [stdout]     |
[INFO] [stdout]  88 | trait StdMachineOps: AcpiBuilder {
[INFO] [stdout]     |       ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn register_pause_event(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn register_resume_event(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling stratovirt v2.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `MainError` is never used
[INFO] [stdout]   --> src/main.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum MainError {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 34s
[INFO] running `"docker" "inspect" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> util/src/test_helper.rs:73:12
[INFO] [stderr]    |
[INFO] [stderr] 73 |         if TEST_CLOCK.is_none() {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> util/src/test_helper.rs:80:30
[INFO] [stderr]    |
[INFO] [stderr] 80 |         let mut test_clock = TEST_CLOCK.as_ref().unwrap().write().unwrap();
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> util/src/test_helper.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 87 |         if TEST_CLOCK.is_none() {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> util/src/test_helper.rs:91:10
[INFO] [stderr]    |
[INFO] [stderr] 91 |         *TEST_CLOCK.as_ref().unwrap().read().unwrap()
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> util/src/test_helper.rs:97:12
[INFO] [stderr]    |
[INFO] [stderr] 97 |         if TEST_CLOCK.is_none() {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `util` (lib) generated 5 warnings
[INFO] [stderr] warning: trait `Command` is never used
[INFO] [stderr]    --> machine_manager/src/qmp/qmp_schema.rs:443:7
[INFO] [stderr]     |
[INFO] [stderr] 443 | trait Command: Serialize {
[INFO] [stderr]     |       ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> machine_manager/src/event_loop.rs:60:16
[INFO] [stderr]    |
[INFO] [stderr] 60 |             if GLOBAL_EVENT_LOOP.is_none() {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]    |
[INFO] [stderr] 41 - static mut GLOBAL_EVENT_LOOP: Option<EventLoop> = None;
[INFO] [stderr] 41 + static GLOBAL_EVENT_LOOP: Option<EventLoop> = None;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> machine_manager/src/event_loop.rs:66:43
[INFO] [stderr]    |
[INFO] [stderr] 66 |                 if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> machine_manager/src/event_loop.rs:101:39
[INFO] [stderr]     |
[INFO] [stderr] 101 |             if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> machine_manager/src/event_loop.rs:149:39
[INFO] [stderr]     |
[INFO] [stderr] 149 |             if let Some(event_loop) = GLOBAL_EVENT_LOOP.as_mut() {
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> machine_manager/src/qmp/qmp_channel.rs:98:16
[INFO] [stderr]    |
[INFO] [stderr] 98 |             if QMP_CHANNEL.is_none() {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> machine_manager/src/qmp/qmp_channel.rs:172:19
[INFO] [stderr]     |
[INFO] [stderr] 172 |             match &QMP_CHANNEL {
[INFO] [stderr]     |                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 172 |             match &raw const QMP_CHANNEL {
[INFO] [stderr]     |                    +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> machine_manager/src/temp_cleaner.rs:35:16
[INFO] [stderr]    |
[INFO] [stderr] 35 |             if GLOBAL_TEMP_CLEANER.is_none() {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> machine_manager/src/temp_cleaner.rs:47:32
[INFO] [stderr]    |
[INFO] [stderr] 47 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> machine_manager/src/temp_cleaner.rs:56:32
[INFO] [stderr]    |
[INFO] [stderr] 56 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> machine_manager/src/temp_cleaner.rs:65:32
[INFO] [stderr]    |
[INFO] [stderr] 65 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> machine_manager/src/temp_cleaner.rs:110:32
[INFO] [stderr]     |
[INFO] [stderr] 110 |             if let Some(tmp) = GLOBAL_TEMP_CLEANER.as_mut() {
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `machine_manager` (lib) generated 12 warnings
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> migration/src/protocol.rs:330:18
[INFO] [stderr]     |
[INFO] [stderr] 330 |     let result = unsafe { __cpuid_count(EAX_VENDOR_INFO, 0) };
[INFO] [stderr]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `migration` (lib) generated 1 warning
[INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> address_space/src/region.rs:683:41
[INFO] [stderr]     |
[INFO] [stderr] 683 |                 if count >= std::usize::MAX as u64 {
[INFO] [stderr]     |                                         ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `address_space` (lib) generated 1 warning
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> devices/src/usb/keyboard.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |             /// HID descriptor
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 83 |             data: vec![0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3f, 0],
[INFO] [stderr]    |             ------------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> devices/src/usb/tablet.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             /// HID descriptor
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 90 |             data: vec![0x09, 0x21, 0x01, 0x0, 0x0, 0x01, 0x22, 89, 0x0],
[INFO] [stderr]    |             ----------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `anyhow::Result`
[INFO] [stderr]   --> devices/src/interrupt_controller/mod.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub use anyhow::Result;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `error::InterruptError`
[INFO] [stderr]   --> devices/src/interrupt_controller/mod.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub use error::InterruptError;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> devices/src/legacy/fwcfg.rs:388:63
[INFO] [stderr]     |
[INFO] [stderr] 388 |         if key >= self.max_entry() || data.len() >= std::u32::MAX as usize {
[INFO] [stderr]     |                                                               ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> devices/src/legacy/fwcfg.rs:417:63
[INFO] [stderr]     |
[INFO] [stderr] 417 |         if key >= self.max_entry() || data.len() >= std::u32::MAX as usize {
[INFO] [stderr]     |                                                               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> devices/src/pci/intx.rs:130:44
[INFO] [stderr]     |
[INFO] [stderr] 130 |         let (irq, intx_state) = (std::u32::MAX, None);
[INFO] [stderr]     |                                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> devices/src/pci/intx.rs:156:32
[INFO] [stderr]     |
[INFO] [stderr] 156 |                     (std::u32::MAX, None)
[INFO] [stderr]     |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> devices/src/pci/intx.rs:162:20
[INFO] [stderr]     |
[INFO] [stderr] 162 |         (std::u32::MAX, None)
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> devices/src/pci/root_port.rs:97:61
[INFO] [stderr]    |
[INFO] [stderr] 97 |         let mem_region = Region::init_container_region(u64::max_value(), "RootPortMem");
[INFO] [stderr]    |                                                             ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UsbQualifierDescriptor` is never constructed
[INFO] [stderr]    --> devices/src/usb/descriptor.rs:122:8
[INFO] [stderr]     |
[INFO] [stderr] 122 | struct UsbQualifierDescriptor {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UsbStringDescriptor` is never constructed
[INFO] [stderr]    --> devices/src/usb/descriptor.rs:140:8
[INFO] [stderr]     |
[INFO] [stderr] 140 | struct UsbStringDescriptor {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UsbSuperSpeedEndpointCompDescriptor` is never constructed
[INFO] [stderr]    --> devices/src/usb/descriptor.rs:182:12
[INFO] [stderr]     |
[INFO] [stderr] 182 | pub struct UsbSuperSpeedEndpointCompDescriptor {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `InterruptError` is never used
[INFO] [stderr]   --> devices/src/interrupt_controller/error.rs:16:10
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub enum InterruptError {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `devices` (lib) generated 14 warnings (run `cargo fix --lib -p devices` to apply 2 suggestions)
[INFO] [stderr] warning: private item shadows public glob re-export
[INFO] [stderr]   --> virtio/src/vhost/user/mod.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 | use client::VhostUserClient;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the name `VhostUserClient` in the type namespace is supposed to be publicly re-exported here
[INFO] [stderr]   --> virtio/src/vhost/user/mod.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub use self::client::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] note: but the private item here shadows it
[INFO] [stderr]   --> virtio/src/vhost/user/mod.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 | use client::VhostUserClient;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `error::*`
[INFO] [stderr]   --> virtio/src/lib.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub use error::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stderr]   --> virtio/src/device/serial.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::{cmp, usize};
[INFO] [stderr]    |                ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> virtio/src/device/balloon.rs:697:41
[INFO] [stderr]     |
[INFO] [stderr] 697 |             if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 697 |             if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stderr]     |                                          +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> virtio/src/device/balloon.rs:929:16
[INFO] [stderr]     |
[INFO] [stderr] 929 |             if BALLOON_DEV.is_none() {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]     --> virtio/src/device/balloon.rs:1145:33
[INFO] [stderr]      |
[INFO] [stderr] 1145 |     if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stderr]      |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]      |
[INFO] [stderr] 1145 |     if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stderr]      |                                  +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]     --> virtio/src/device/balloon.rs:1163:33
[INFO] [stderr]      |
[INFO] [stderr] 1163 |     if let Some(dev) = unsafe { &BALLOON_DEV } {
[INFO] [stderr]      |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]      |
[INFO] [stderr] 1163 |     if let Some(dev) = unsafe { &raw const BALLOON_DEV } {
[INFO] [stderr]      |                                  +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `virtio` (lib) generated 7 warnings (run `cargo fix --lib -p virtio` to apply 1 suggestion)
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> machine/src/standard_vm/x86_64/mod.rs:167:48
[INFO] [stderr]     |
[INFO] [stderr] 167 |             Region::init_container_region(u64::max_value(), "SysMem"),
[INFO] [stderr]     |                                                ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> machine/src/standard_vm/x86_64/mod.rs:216:22
[INFO] [stderr]     |
[INFO] [stderr] 216 |                 u64::max_value(),
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> machine/src/micro_vm/mod.rs:203:48
[INFO] [stderr]     |
[INFO] [stderr] 203 |             Region::init_container_region(u64::max_value(), "SysMem"),
[INFO] [stderr]     |                                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> machine/src/micro_vm/mod.rs:251:70
[INFO] [stderr]     |
[INFO] [stderr] 251 |             machine_ram: Arc::new(Region::init_container_region(u64::max_value(), "pc.ram")),
[INFO] [stderr]     |                                                                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `register_pause_event` and `register_resume_event` are never used
[INFO] [stderr]    --> machine/src/standard_vm/mod.rs:228:8
[INFO] [stderr]     |
[INFO] [stderr]  88 | trait StdMachineOps: AcpiBuilder {
[INFO] [stderr]     |       ------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 228 |     fn register_pause_event(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 254 |     fn register_resume_event(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `machine` (lib) generated 5 warnings
[INFO] [stderr] warning: enum `MainError` is never used
[INFO] [stderr]   --> src/main.rs:37:6
[INFO] [stderr]    |
[INFO] [stderr] 37 | enum MainError {
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `stratovirt` (bin "stratovirt" test) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/stratovirt/bf9b0d37528f5f50/out/stratovirt-bf9b0d37528f5f50)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] running `"docker" "rm" "-f" "03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8"`
[INFO] [stdout] 03e7567cff9d2734431e17ddbbad552fe6bf08f2f8172f449cd14a167e9d9bb8
