[INFO] cloning repository https://github.com/anirudhakulkarni/Live-Snapshot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anirudhakulkarni/Live-Snapshot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanirudhakulkarni%2FLive-Snapshot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanirudhakulkarni%2FLive-Snapshot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76e1bf6844e7c90d6f59475f12068b7d7c82aab4
[INFO] checking anirudhakulkarni/Live-Snapshot against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanirudhakulkarni%2FLive-Snapshot" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/anirudhakulkarni/Live-Snapshot
[INFO] finished tweaking git repo https://github.com/anirudhakulkarni/Live-Snapshot
[INFO] tweaked toml for git repo https://github.com/anirudhakulkarni/Live-Snapshot written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anirudhakulkarni/Live-Snapshot on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anirudhakulkarni/Live-Snapshot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused field in patch for `kvm-bindings`: `features`
[INFO] [stderr]   |
[INFO] [stderr]   = help: configure `features` in the `dependencies` entry
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9c8e64bbaa1085ad0c443b856a74ea83fc5567354fd91d060cba03eab2d9031
[INFO] running `Command { std: "docker" "start" "-a" "e9c8e64bbaa1085ad0c443b856a74ea83fc5567354fd91d060cba03eab2d9031", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9c8e64bbaa1085ad0c443b856a74ea83fc5567354fd91d060cba03eab2d9031", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9c8e64bbaa1085ad0c443b856a74ea83fc5567354fd91d060cba03eab2d9031", kill_on_drop: false }`
[INFO] [stdout] e9c8e64bbaa1085ad0c443b856a74ea83fc5567354fd91d060cba03eab2d9031
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8e53625141ae1c4e97c842b1786deaf8409076d034c38a43d90295dbedad412
[INFO] running `Command { std: "docker" "start" "-a" "f8e53625141ae1c4e97c842b1786deaf8409076d034c38a43d90295dbedad412", kill_on_drop: false }`
[INFO] [stderr] warning: unused field in patch for `kvm-bindings`: `features`
[INFO] [stderr]   |
[INFO] [stderr]   = help: configure `features` in the `dependencies` entry
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling kvm-ioctls v0.11.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking libc v0.2.137
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]     Checking vm-memory v0.7.0
[INFO] [stderr]     Checking bitflags v1.2.1
[INFO] [stderr]     Checking vmm-sys-util v0.8.0
[INFO] [stderr]     Checking crc64 v1.0.0
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling crossbeam-utils v0.8.12
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking log v0.4.17
[INFO] [stderr]     Checking utils v0.1.0 (/opt/rustwide/workdir/src/utils)
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]     Checking vm-fdt v0.2.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking vm-device v0.1.0
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]     Checking event-manager v0.2.1
[INFO] [stderr]     Checking vm-superio v0.5.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking virtio-queue v0.2.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5)
[INFO] [stderr]     Checking linux-loader v0.4.0 (https://github.com/rust-vmm/linux-loader.git?rev=9a9f071#9a9f0712)
[INFO] [stderr]     Checking memchr v2.5.0
[INFO] [stderr]     Checking arch v0.1.0 (/opt/rustwide/workdir/src/arch)
[INFO] [stderr]     Checking virtio-device v0.1.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5)
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]     Checking virtio-blk v0.1.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5)
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking vm-memory v0.3.0 (/opt/rustwide/workdir/src/vm-memory)
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.16
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling versionize_derive v0.1.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling enum-ordinalize v3.1.11
[INFO] [stderr]    Compiling tarpc-plugins v0.12.0
[INFO] [stderr]    Compiling educe v0.4.19
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking opentelemetry v0.17.0
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking tracing-opentelemetry v0.17.4
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking versionize v0.1.6
[INFO] [stderr]     Checking tokio-serde v0.8.0
[INFO] [stderr]     Checking kvm-bindings v0.5.0 (https://github.com/firecracker-microvm/kvm-bindings?tag=v0.5.0-1#4569d3f5)
[INFO] [stderr]     Checking tarpc v0.29.0
[INFO] [stderr]     Checking vm-vcpu-ref v0.1.0 (/opt/rustwide/workdir/src/vm-vcpu-ref)
[INFO] [stderr]     Checking devices v0.1.0 (/opt/rustwide/workdir/src/devices)
[INFO] [stderr]     Checking vm-vcpu v0.1.0 (/opt/rustwide/workdir/src/vm-vcpu)
[INFO] [stdout] warning: constant `IER_RDA_BIT` is never used
[INFO] [stdout]   --> src/devices/src/legacy/serial.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const IER_RDA_BIT: u8 = 0b0000_0001;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IER_RDA_OFFSET` is never used
[INFO] [stdout]   --> src/devices/src/legacy/serial.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const IER_RDA_OFFSET: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout] 17 +     GuestMemory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Queue(virtio_queue::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     Queue(virtio_queue::Error),
[INFO] [stdout] 18 +     Queue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ProcessRequest(stdio_executor::ProcessReqError),
[INFO] [stdout]    |     -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     ProcessRequest(stdio_executor::ProcessReqError),
[INFO] [stdout] 19 +     ProcessRequest(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 -     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout] 27 +     GuestMemory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Queue(virtio_queue::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 -     Queue(virtio_queue::Error),
[INFO] [stdout] 28 +     Queue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Tap(io::Error),
[INFO] [stdout]    |     --- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 29 -     Tap(io::Error),
[INFO] [stdout] 29 +     Tap(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/devices/src/virtio/mod.rs:324:20
[INFO] [stdout]     |
[INFO] [stdout] 324 |         pub fn env(&mut self) -> Env<MockMem, &mut IoManager> {
[INFO] [stdout]     |                    ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |            |
[INFO] [stdout]     |                    |             |            the same lifetime is elided here
[INFO] [stdout]     |                    |             the same lifetime is hidden here
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 324 |         pub fn env(&mut self) -> Env<'_, MockMem, &mut IoManager> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/vm-vcpu/src/vcpu/mod.rs:857:39
[INFO] [stdout]     |
[INFO] [stdout] 857 | ...                   if(cmd_idx == l && idx == 0){
[INFO] [stdout]     |                         ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 857 -                                     if(cmd_idx == l && idx == 0){
[INFO] [stdout] 857 +                                     if cmd_idx == l && idx == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/vm-vcpu/src/vcpu/mod.rs:857:39
[INFO] [stdout]     |
[INFO] [stdout] 857 | ...                   if(cmd_idx == l && idx == 0){
[INFO] [stdout]     |                         ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 857 -                                     if(cmd_idx == l && idx == 0){
[INFO] [stdout] 857 +                                     if cmd_idx == l && idx == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |         use std::{fs::File, io::Read};
[INFO] [stdout]     |                   ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |         use std::{fs::File, io::Read};
[INFO] [stdout]     |                   ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IER_RDA_BIT` is never used
[INFO] [stdout]   --> src/devices/src/legacy/serial.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const IER_RDA_BIT: u8 = 0b0000_0001;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IER_RDA_OFFSET` is never used
[INFO] [stdout]   --> src/devices/src/legacy/serial.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const IER_RDA_OFFSET: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout] 17 +     GuestMemory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Queue(virtio_queue::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     Queue(virtio_queue::Error),
[INFO] [stdout] 18 +     Queue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ProcessRequest(stdio_executor::ProcessReqError),
[INFO] [stdout]    |     -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     ProcessRequest(stdio_executor::ProcessReqError),
[INFO] [stdout] 19 +     ProcessRequest(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 -     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout] 27 +     GuestMemory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Queue(virtio_queue::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 -     Queue(virtio_queue::Error),
[INFO] [stdout] 28 +     Queue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Tap(io::Error),
[INFO] [stdout]    |     --- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 29 -     Tap(io::Error),
[INFO] [stdout] 29 +     Tap(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]    --> src/vm-vcpu/src/vcpu/mod.rs:760:29
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   cnt = cnt + 1;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:244:39
[INFO] [stdout]     |
[INFO] [stdout] 244 |     pub fn snapshot_and_resume(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_snapshot_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:244:66
[INFO] [stdout]     |
[INFO] [stdout] 244 |     pub fn snapshot_and_resume(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:259:38
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn snapshot_and_pause(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:259:65
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn snapshot_and_pause(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]    --> src/vm-vcpu/src/vcpu/mod.rs:760:29
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   cnt = cnt + 1;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:244:39
[INFO] [stdout]     |
[INFO] [stdout] 244 |     pub fn snapshot_and_resume(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_snapshot_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:244:66
[INFO] [stdout]     |
[INFO] [stdout] 244 |     pub fn snapshot_and_resume(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:259:38
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn snapshot_and_pause(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:259:65
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn snapshot_and_pause(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking vmm v0.1.0 (/opt/rustwide/workdir/src/vmm)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/vmm/src/lib.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::{PathBuf, Path};
[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: `Path`
[INFO] [stdout]   --> src/vmm/src/lib.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::{PathBuf, Path};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/vmm/src/dedup.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut file = File::create(path).unwrap();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/vmm/src/dedup.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut file = File::create(path).unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/vmm/src/dedup.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/vmm/src/dedup.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/vmm/src/dedup.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filetohashes`
[INFO] [stdout]    --> src/vmm/src/dedup.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetohashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/vmm/src/dedup.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut i = 0;
[INFO] [stdout]     |                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut hashtochunk= checkifexist(&self.MAP1_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl DedupManager {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn clear(&self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `CHUNK_SIZE` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub CHUNK_SIZE: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `chunk_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `DATABASE_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub DATABASE_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `database_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `STATE_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub STATE_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `state_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `MAP1_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub MAP1_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `map1_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `MAP2_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub MAP2_PATH: String
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `map2_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         fs::remove_file(&self.MAP1_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let _ = fs::remove_file(&self.MAP1_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fs::remove_file(&self.MAP2_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let _ = fs::remove_file(&self.MAP2_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fs::remove_file(&self.STATE_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let _ = fs::remove_file(&self.STATE_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fs::remove_dir(&self.DATABASE_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let _ = fs::remove_dir(&self.DATABASE_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking api v0.1.0 (/opt/rustwide/workdir/src/api)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/vmm/src/dedup.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut file = File::create(path).unwrap();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/vmm/src/dedup.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut file = File::create(path).unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/vmm/src/dedup.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/vmm/src/dedup.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/vmm/src/dedup.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filetohashes`
[INFO] [stdout]    --> src/vmm/src/dedup.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetohashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/vmm/src/dedup.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut i = 0;
[INFO] [stdout]     |                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut hashtochunk= checkifexist(&self.MAP1_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking vmm-reference v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl DedupManager {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn clear(&self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `CHUNK_SIZE` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub CHUNK_SIZE: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `chunk_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `DATABASE_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub DATABASE_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `database_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `STATE_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub STATE_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `state_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `MAP1_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub MAP1_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `map1_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `MAP2_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub MAP2_PATH: String
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `map2_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         fs::remove_file(&self.MAP1_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let _ = fs::remove_file(&self.MAP1_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fs::remove_file(&self.MAP2_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let _ = fs::remove_file(&self.MAP2_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fs::remove_file(&self.STATE_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let _ = fs::remove_file(&self.STATE_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fs::remove_dir(&self.DATABASE_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let _ = fs::remove_dir(&self.DATABASE_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         port: u16,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         port: u16,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/main.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let handle = tokio::spawn(async move {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/vm-vcpu/src/vcpu/mod.rs:857:39
[INFO] [stdout]     |
[INFO] [stdout] 857 | ...                   if(cmd_idx == l && idx == 0){
[INFO] [stdout]     |                         ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 857 -                                     if(cmd_idx == l && idx == 0){
[INFO] [stdout] 857 +                                     if cmd_idx == l && idx == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |         use std::{fs::File, io::Read};
[INFO] [stdout]     |                   ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IER_RDA_BIT` is never used
[INFO] [stdout]   --> src/devices/src/legacy/serial.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const IER_RDA_BIT: u8 = 0b0000_0001;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IER_RDA_OFFSET` is never used
[INFO] [stdout]   --> src/devices/src/legacy/serial.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const IER_RDA_OFFSET: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout] 17 +     GuestMemory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Queue(virtio_queue::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     Queue(virtio_queue::Error),
[INFO] [stdout] 18 +     Queue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/block/inorder_handler.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ProcessRequest(stdio_executor::ProcessReqError),
[INFO] [stdout]    |     -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     ProcessRequest(stdio_executor::ProcessReqError),
[INFO] [stdout] 19 +     ProcessRequest(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 -     GuestMemory(vm_memory::GuestMemoryError),
[INFO] [stdout] 27 +     GuestMemory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Queue(virtio_queue::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 -     Queue(virtio_queue::Error),
[INFO] [stdout] 28 +     Queue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/devices/src/virtio/net/simple_handler.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Tap(io::Error),
[INFO] [stdout]    |     --- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 29 -     Tap(io::Error),
[INFO] [stdout] 29 +     Tap(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]    --> src/vm-vcpu/src/vcpu/mod.rs:760:29
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   cnt = cnt + 1;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:244:39
[INFO] [stdout]     |
[INFO] [stdout] 244 |     pub fn snapshot_and_resume(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_snapshot_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:244:66
[INFO] [stdout]     |
[INFO] [stdout] 244 |     pub fn snapshot_and_resume(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:259:38
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn snapshot_and_pause(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_snapshot_path`
[INFO] [stdout]    --> src/vm-vcpu/src/vm.rs:259:65
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn snapshot_and_pause(&self, cpu_snapshot_path: String, memory_snapshot_path: String) {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_snapshot_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/vmm/src/lib.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::{PathBuf, Path};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/vmm/src/dedup.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut file = File::create(path).unwrap();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/vmm/src/dedup.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut file = File::create(path).unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/vmm/src/dedup.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/vmm/src/dedup.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/vmm/src/dedup.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut file = File::create(path).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filetohashes`
[INFO] [stdout]    --> src/vmm/src/dedup.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetohashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/vmm/src/dedup.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut i = 0;
[INFO] [stdout]     |                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut hashtochunk= checkifexist(&self.MAP1_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmm/src/dedup.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut filetohashes = checkifexist(&self.MAP2_PATH);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl DedupManager {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn clear(&self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `CHUNK_SIZE` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub CHUNK_SIZE: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `chunk_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `DATABASE_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub DATABASE_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `database_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `STATE_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub STATE_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `state_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `MAP1_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub MAP1_PATH: String,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `map1_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `MAP2_PATH` should have a snake case name
[INFO] [stdout]   --> src/vmm/src/dedup.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub MAP2_PATH: String
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `map2_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         fs::remove_file(&self.MAP1_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let _ = fs::remove_file(&self.MAP1_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fs::remove_file(&self.MAP2_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let _ = fs::remove_file(&self.MAP2_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fs::remove_file(&self.STATE_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let _ = fs::remove_file(&self.STATE_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/vmm/src/dedup.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fs::remove_dir(&self.DATABASE_PATH);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let _ = fs::remove_dir(&self.DATABASE_PATH);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         port: u16,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         port: u16,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/main.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let handle = tokio::spawn(async move {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.62s
[INFO] running `Command { std: "docker" "inspect" "f8e53625141ae1c4e97c842b1786deaf8409076d034c38a43d90295dbedad412", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8e53625141ae1c4e97c842b1786deaf8409076d034c38a43d90295dbedad412", kill_on_drop: false }`
[INFO] [stdout] f8e53625141ae1c4e97c842b1786deaf8409076d034c38a43d90295dbedad412
