[INFO] cloning repository https://github.com/rrauch/sia_vbd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rrauch/sia_vbd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrauch%2Fsia_vbd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrauch%2Fsia_vbd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49f0325736da769b17ecc25598baca7201d09361 [INFO] checking rrauch/sia_vbd against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrauch%2Fsia_vbd" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rrauch/sia_vbd on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rrauch/sia_vbd [INFO] finished tweaking git repo https://github.com/rrauch/sia_vbd [INFO] tweaked toml for git repo https://github.com/rrauch/sia_vbd written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rrauch/sia_vbd 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded thiserror-impl v2.0.4 [INFO] [stderr] Downloaded rangemap v1.5.1 [INFO] [stderr] Downloaded cc v1.2.5 [INFO] [stderr] Downloaded compact_bytes v0.1.3 [INFO] [stderr] Downloaded thiserror v2.0.4 [INFO] [stderr] Downloaded twox-hash v2.1.0 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded tenthash v0.4.0 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf186e068b0b624ec8d76c5e3399814d6fe7cc5dd4ac0f2367c7dceae85b667f [INFO] running `Command { std: "docker" "start" "-a" "cf186e068b0b624ec8d76c5e3399814d6fe7cc5dd4ac0f2367c7dceae85b667f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf186e068b0b624ec8d76c5e3399814d6fe7cc5dd4ac0f2367c7dceae85b667f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf186e068b0b624ec8d76c5e3399814d6fe7cc5dd4ac0f2367c7dceae85b667f", kill_on_drop: false }` [INFO] [stdout] cf186e068b0b624ec8d76c5e3399814d6fe7cc5dd4ac0f2367c7dceae85b667f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f94a2fbd17bc2a55f81dd59fd8b9dd0a0e89b3504eb2d1bc5d06aceaca0a3c4 [INFO] running `Command { std: "docker" "start" "-a" "9f94a2fbd17bc2a55f81dd59fd8b9dd0a0e89b3504eb2d1bc5d06aceaca0a3c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.4 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking tenthash v0.4.0 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking compact_bytes v0.1.3 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.4 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking twox-hash v2.1.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sia_vbd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ContentId` is more private than the item `Commit` [INFO] [stdout] --> src/vbd/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub type Commit = ContentId; [INFO] [stdout] | ^^^^^^^^^^^^^^^ type alias `Commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ContentId(Hash, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vbd::State` is more private than the item `Commit` [INFO] [stdout] --> src/vbd/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub type Commit = ContentId; [INFO] [stdout] | ^^^^^^^^^^^^^^^ type alias `Commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `vbd::State` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | enum State { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::get` [INFO] [stdout] --> src/vbd/mod.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn get(&self, block_no: usize) -> Result, BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::get` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::put` [INFO] [stdout] --> src/vbd/mod.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn put(&mut self, block_no: usize, data: Bytes) -> Result<(), BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::delete` [INFO] [stdout] --> src/vbd/mod.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn delete(&mut self, blocks: Range) -> Result<(), BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::delete` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::flush` [INFO] [stdout] --> src/vbd/mod.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn flush(&mut self) -> Result<(), BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::flush` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentId` is more private than the item `VirtualBlockDevice::last_commit` [INFO] [stdout] --> src/vbd/mod.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn last_commit(&self) -> &Commit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::last_commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ContentId(Hash, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vbd::State` is more private than the item `VirtualBlockDevice::last_commit` [INFO] [stdout] --> src/vbd/mod.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn last_commit(&self) -> &Commit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::last_commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `vbd::State` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | enum State { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Termination` is never constructed [INFO] [stdout] --> src/nbd/transmission/mod.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub(super) enum NbdError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 299 | Termination, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NbdError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_endpoint` is never read [INFO] [stdout] --> src/nbd/transmission/read.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct ReadCommandHandler { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | client_endpoint: ClientEndpoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockStatus` and `ExtendedBlockStatus` are never constructed [INFO] [stdout] --> src/nbd/transmission/reply.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum Reply { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | BlockStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | ExtendedBlockStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reply` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rollback` is never used [INFO] [stdout] --> src/vbd/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 177 | impl Uncommitted { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn rollback(self) -> Committed { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentId` is more private than the item `Commit` [INFO] [stdout] --> src/vbd/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub type Commit = ContentId; [INFO] [stdout] | ^^^^^^^^^^^^^^^ type alias `Commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ContentId(Hash, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vbd::State` is more private than the item `Commit` [INFO] [stdout] --> src/vbd/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub type Commit = ContentId; [INFO] [stdout] | ^^^^^^^^^^^^^^^ type alias `Commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `vbd::State` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | enum State { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::get` [INFO] [stdout] --> src/vbd/mod.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn get(&self, block_no: usize) -> Result, BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::get` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::put` [INFO] [stdout] --> src/vbd/mod.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn put(&mut self, block_no: usize, data: Bytes) -> Result<(), BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::delete` [INFO] [stdout] --> src/vbd/mod.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn delete(&mut self, blocks: Range) -> Result<(), BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::delete` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BlockError` is more private than the item `VirtualBlockDevice::flush` [INFO] [stdout] --> src/vbd/mod.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn flush(&mut self) -> Result<(), BlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::flush` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BlockError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | enum BlockError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentId` is more private than the item `VirtualBlockDevice::last_commit` [INFO] [stdout] --> src/vbd/mod.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn last_commit(&self) -> &Commit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::last_commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ContentId(Hash, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vbd::State` is more private than the item `VirtualBlockDevice::last_commit` [INFO] [stdout] --> src/vbd/mod.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn last_commit(&self) -> &Commit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VirtualBlockDevice::last_commit` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `vbd::State` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vbd/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | enum State { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Termination` is never constructed [INFO] [stdout] --> src/nbd/transmission/mod.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub(super) enum NbdError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 299 | Termination, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NbdError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_endpoint` is never read [INFO] [stdout] --> src/nbd/transmission/read.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct ReadCommandHandler { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | client_endpoint: ClientEndpoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockStatus` and `ExtendedBlockStatus` are never constructed [INFO] [stdout] --> src/nbd/transmission/reply.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum Reply { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | BlockStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | ExtendedBlockStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reply` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rollback` is never used [INFO] [stdout] --> src/vbd/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 177 | impl Uncommitted { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn rollback(self) -> Committed { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.90s [INFO] running `Command { std: "docker" "inspect" "9f94a2fbd17bc2a55f81dd59fd8b9dd0a0e89b3504eb2d1bc5d06aceaca0a3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f94a2fbd17bc2a55f81dd59fd8b9dd0a0e89b3504eb2d1bc5d06aceaca0a3c4", kill_on_drop: false }` [INFO] [stdout] 9f94a2fbd17bc2a55f81dd59fd8b9dd0a0e89b3504eb2d1bc5d06aceaca0a3c4