[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] testing anirudhakulkarni/Live-Snapshot against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [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 c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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] 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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be631dc07a5d8932194735a597c54d5199bbc8d4c2777523471c7b8466c27ead [INFO] running `Command { std: "docker" "start" "-a" "be631dc07a5d8932194735a597c54d5199bbc8d4c2777523471c7b8466c27ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be631dc07a5d8932194735a597c54d5199bbc8d4c2777523471c7b8466c27ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be631dc07a5d8932194735a597c54d5199bbc8d4c2777523471c7b8466c27ead", kill_on_drop: false }` [INFO] [stdout] be631dc07a5d8932194735a597c54d5199bbc8d4c2777523471c7b8466c27ead [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eef1b60288805e755653494426e99e086b6297bdd829a02138a7f0f54ff10902 [INFO] running `Command { std: "docker" "start" "-a" "eef1b60288805e755653494426e99e086b6297bdd829a02138a7f0f54ff10902", 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 proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling crc64 v1.0.0 [INFO] [stderr] Compiling kvm-ioctls v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling vmm-sys-util v0.8.0 [INFO] [stderr] Compiling vm-memory v0.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling virtio-queue v0.2.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5) [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/src/utils) [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling virtio-device v0.1.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5) [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling vm-fdt v0.2.0 [INFO] [stderr] Compiling vm-device v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling arch v0.1.0 (/opt/rustwide/workdir/src/arch) [INFO] [stderr] Compiling virtio-blk v0.1.0 (https://github.com/rust-vmm/vm-virtio.git#d8ef45f5) [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling event-manager v0.2.1 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling linux-loader v0.4.0 (https://github.com/rust-vmm/linux-loader.git?rev=9a9f071#9a9f0712) [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling vm-superio v0.5.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling vm-memory v0.3.0 (/opt/rustwide/workdir/src/vm-memory) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling static_assertions v1.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 tokio-macros v1.8.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.11 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling educe v0.4.19 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling opentelemetry v0.17.0 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tracing-opentelemetry v0.17.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling versionize v0.1.6 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling tarpc v0.29.0 [INFO] [stderr] Compiling kvm-bindings v0.5.0 (https://github.com/firecracker-microvm/kvm-bindings?tag=v0.5.0-1#4569d3f5) [INFO] [stderr] Compiling vm-vcpu-ref v0.1.0 (/opt/rustwide/workdir/src/vm-vcpu-ref) [INFO] [stderr] Compiling devices v0.1.0 (/opt/rustwide/workdir/src/devices) [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(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] [stderr] Compiling 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: 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] [stderr] Compiling 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: 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: 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 `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] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir/src/api) [INFO] [stderr] Compiling vmm-reference v0.1.0 (/opt/rustwide/workdir) [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcGVR4QD/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libapi-8f42bd52ce1fedcd.rlib,libvmm-1e170261f627ce2f.rlib,libvm_vcpu-496a1cafb3caafde.rlib,libvm_vcpu_ref-828a11ddfc8933f8.rlib,libdevices-717e16e866d6f7ad.rlib,libvirtio_device-51d5f6653a806132.rlib,libvirtio_blk-13930e5878e37b76.rlib,libvirtio_queue-d096fa5979d3bc86.rlib,libutils-7c45548bde7522e8.rlib,libvm_superio-5c9f3e53fb41b03c.rlib,libvm_memory-56a790fda760137f.rlib,libvm_device-24389d5c5c824b1c.rlib,liblinux_loader-91ff0e1338fec23f.rlib,libvm_memory-9f1f6ddae350b5e6.rlib,libkvm_ioctls-644c5ba8c23bad18.rlib,libkvm_bindings-efec57e8760bef94.rlib,libversionize-c4ff9f594d2e66f9.rlib,libcrc64-38b14024e21154c3.rlib,libevent_manager-43b84ee2a360d8ea.rlib,libvmm_sys_util-3a990a701657d76c.rlib,libclap-64767116348e3aff.rlib,libvec_map-f73400632f4a1986.rlib,libtextwrap-b3761fdd19d067b1.rlib,libunicode_width-583df370d076c6b1.rlib,libstrsim-ebc22d906a0144cf.rlib,libbitflags-c04aa22b37e3accc.rlib,libatty-27cb2ca90379e986.rlib,libansi_term-c01ca28d9c7dbb7e.rlib,libtarpc-fa093ceec0eb972a.rlib,libhumantime-2f04d955fd2a82e4.rlib,libanyhow-ec794c8021b757f4.rlib,libstatic_assertions-f346901c7205f00a.rlib,libfnv-979c119afde4a166.rlib,libtracing_opentelemetry-e8efef796d53cf2d.rlib,libtracing-3fb45459a50c8da4.rlib,libtracing_subscriber-e0959e4f787de3f1.rlib,libthread_local-619a28dc498ccd27.rlib,libsharded_slab-1dd696fdf624b4be.rlib,libtracing_core-52f9363e484c25cc.rlib,libonce_cell-a5e6875bd2448ebc.rlib,libopentelemetry-e932a6bd186e781c.rlib,libcrossbeam_channel-db77eea09d2671d0.rlib,libcrossbeam_utils-fb986925d0040b4b.rlib,liblazy_static-30186ef35d65a202.rlib,libthiserror-1081e04c3feecde7.rlib,librand-7bbcd16a3ffdee14.rlib,librand_chacha-df0ac342c0b608d8.rlib,libppv_lite86-837002d02e1f98bd.rlib,librand_core-c32c62201cf78f9f.rlib,libgetrandom-f15b39bb2eba7aa1.rlib,libpercent_encoding-d3730fffca83ed06.rlib,libtokio_util-ecaa5f94bbb9bda0.rlib,libtokio-6fa0bbc904c9e4c3.rlib,libnum_cpus-4df4d99433ac5f34.rlib,libsocket2-06a70a7a8f07cf10.rlib,libmio-5a133c5a12e8d233.rlib,liblibc-136e37c8341d3ccc.rlib,liblog-5d0766f16da3aed6.rlib,libcfg_if-18b18be29702e5c1.rlib,libtokio_serde-96cd5d3db08725cb.rlib,libserde_json-395a9829db12f853.rlib,libryu-a1353ea53b8170b6.rlib,libitoa-c419ec91c343ef34.rlib,libbincode-e647a13517e1821e.rlib,libpin_project-afe925f284b4aaeb.rlib,libbytes-295fa495c0b43709.rlib,libserde-b0ba4248682cbca7.rlib,libfutures-938876a7fed8fd8b.rlib,libfutures_executor-c45024535cbf913e.rlib,libfutures_util-6b1c46124e093a35.rlib,libmemchr-de9d39dd14288e60.rlib,libfutures_io-bae7992177cf3d7a.rlib,libslab-e9165e0dcf403ecf.rlib,libfutures_channel-9b155d0a2311375a.rlib,libpin_project_lite-2fd2c100bdf65a0d.rlib,libfutures_sink-4dbf2e532ac4c672.rlib,libfutures_task-7ccb38741fc9fd24.rlib,libpin_utils-4440a176abe2d797.rlib,libfutures_core-552c569ddfe9805a.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_abort-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcGVR4QD/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/vmm_reference-94fd6a5a79dede9e" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libvmm_sys_util-3a990a701657d76c.rlib(vmm_sys_util-3a990a701657d76c.vmm_sys_util.a8a8252f21a889dc-cgu.2.rcgu.o): in function `vmm_sys_util::linux::fallocate::fallocate': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/vmm-sys-util-0.8.0/src/linux/fallocate.rs:87:(.text._ZN12vmm_sys_util5linux9fallocate9fallocate17h6498cc60de9e6b5cE+0x101): undefined reference to `fallocate64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-f15b39bb2eba7aa1.rlib(getrandom-f15b39bb2eba7aa1.getrandom.c6a9bc6632687bfb-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h7688c3617ff0140fE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vmm-reference` (bin "vmm-reference") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eef1b60288805e755653494426e99e086b6297bdd829a02138a7f0f54ff10902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef1b60288805e755653494426e99e086b6297bdd829a02138a7f0f54ff10902", kill_on_drop: false }` [INFO] [stdout] eef1b60288805e755653494426e99e086b6297bdd829a02138a7f0f54ff10902