[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/76e1bf6844e7c90d6f59475f12068b7d7c82aab4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanirudhakulkarni%2FLive-Snapshot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anirudhakulkarni/Live-Snapshot on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: patch for `kvm-bindings` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism [INFO] [stderr] Updating git repository `https://github.com/firecracker-microvm/kvm-bindings` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Updating git repository `https://github.com/rust-vmm/linux-loader.git` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rust-vmm/vm-virtio.git` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vmm-sys-util v0.8.0 [INFO] [stderr] Downloaded kvm-ioctls v0.11.0 [INFO] [stderr] Downloaded vm-superio v0.5.0 [INFO] [stderr] Downloaded crc64 v1.0.0 [INFO] [stderr] Downloaded vm-fdt v0.2.0 [INFO] [stderr] Downloaded vm-memory v0.7.0 [INFO] [stderr] Downloaded versionize v0.1.6 [INFO] [stderr] Downloaded event-manager v0.2.1 [INFO] [stderr] Downloaded vm-device v0.1.0 [INFO] [stderr] Downloaded versionize_derive v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4c0964e2ac0b8b73f4984bb0866f0c8efd2826177b5a6c79be060f1d01db7ae [INFO] running `Command { std: "docker" "start" "-a" "e4c0964e2ac0b8b73f4984bb0866f0c8efd2826177b5a6c79be060f1d01db7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4c0964e2ac0b8b73f4984bb0866f0c8efd2826177b5a6c79be060f1d01db7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c0964e2ac0b8b73f4984bb0866f0c8efd2826177b5a6c79be060f1d01db7ae", kill_on_drop: false }` [INFO] [stdout] e4c0964e2ac0b8b73f4984bb0866f0c8efd2826177b5a6c79be060f1d01db7ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 542b3e3ad0d00f57974a8fbe648967562d899e93884a42b889114044fc2eec9e [INFO] running `Command { std: "docker" "start" "-a" "542b3e3ad0d00f57974a8fbe648967562d899e93884a42b889114044fc2eec9e", kill_on_drop: false }` [INFO] [stderr] warning: patch for `kvm-bindings` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling bitflags v1.2.1 [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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling kvm-ioctls v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking crc64 v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking log v0.4.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/src/utils) [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking vm-device v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking vm-fdt v0.2.0 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking vm-superio v0.5.0 [INFO] [stderr] Checking memchr v2.5.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking vmm-sys-util v0.8.0 [INFO] [stderr] Checking vm-memory v0.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking event-manager v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.7 [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 arch v0.1.0 (/opt/rustwide/workdir/src/arch) [INFO] [stderr] Checking vm-memory v0.3.0 (/opt/rustwide/workdir/src/vm-memory) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking virtio-device v0.1.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5) [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking virtio-blk v0.1.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5) [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.1.0 [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 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 tracing v0.1.36 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking thiserror v1.0.30 [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 kvm-bindings v0.5.0 (https://github.com/firecracker-microvm/kvm-bindings?tag=v0.5.0-1#4569d3f5) [INFO] [stderr] Checking tokio-serde v0.8.0 [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: 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)]` 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)]` 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)]` 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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)]` 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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)]` 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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)]` 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: 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)]` 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)]` on by default [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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)]` on by default [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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)]` 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 variable: `file` [INFO] [stdout] --> src/vmm/src/dedup.rs:40:17 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/vmm/src/dedup.rs:98:21 [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:21 [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: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: `filetohashes` [INFO] [stdout] --> src/vmm/src/dedup.rs:157:17 [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:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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: 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)]` 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)]` 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 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)]` 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)]` on by default [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)]` 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/src/api) [INFO] [stderr] Checking vmm-reference v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/vmm/src/dedup.rs:40:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/vmm/src/dedup.rs:40:17 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/vmm/src/dedup.rs:98:21 [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:21 [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: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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filetohashes` [INFO] [stdout] --> src/vmm/src/dedup.rs:157:17 [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:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/vmm/src/dedup.rs:98:21 [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:21 [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: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: `filetohashes` [INFO] [stdout] --> src/vmm/src/dedup.rs:157:17 [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:17 [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)]` on by default [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: 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: 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: 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)]` on by default [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)]` 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)]` 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: 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)]` 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)]` 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: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)]` 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: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: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: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 `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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [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)]` 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: 3 warnings emitted [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)]` 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.48s [INFO] running `Command { std: "docker" "inspect" "542b3e3ad0d00f57974a8fbe648967562d899e93884a42b889114044fc2eec9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542b3e3ad0d00f57974a8fbe648967562d899e93884a42b889114044fc2eec9e", kill_on_drop: false }` [INFO] [stdout] 542b3e3ad0d00f57974a8fbe648967562d899e93884a42b889114044fc2eec9e