[INFO] fetching crate tokio-nbd 0.3.0... [INFO] building tokio-nbd-0.3.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tokio-nbd 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate tokio-nbd 0.3.0 [INFO] finished tweaking crates.io crate tokio-nbd 0.3.0 [INFO] tweaked toml for crates.io crate tokio-nbd 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-nbd 0.3.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-nbd 0.3.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded int-enum v1.2.0 [INFO] [stderr] Downloaded darling_core v0.21.1 [INFO] [stderr] Downloaded darling v0.21.1 [INFO] [stderr] Downloaded darling_macro v0.21.1 [INFO] [stderr] Downloaded bon-macros v3.6.5 [INFO] [stderr] Downloaded bon v3.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1582eba6a50b11abaa3fbc4e7fb05a905d687cbdb143f845b2e876a0520b07db [INFO] running `Command { std: "docker" "start" "-a" "1582eba6a50b11abaa3fbc4e7fb05a905d687cbdb143f845b2e876a0520b07db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1582eba6a50b11abaa3fbc4e7fb05a905d687cbdb143f845b2e876a0520b07db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1582eba6a50b11abaa3fbc4e7fb05a905d687cbdb143f845b2e876a0520b07db", kill_on_drop: false }` [INFO] [stdout] 1582eba6a50b11abaa3fbc4e7fb05a905d687cbdb143f845b2e876a0520b07db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 220fa638ec4f27717dd64cfe759f27a86a576d63bad2433680afbb2a59f12c86 [INFO] running `Command { std: "docker" "start" "-a" "220fa638ec4f27717dd64cfe759f27a86a576d63bad2433680afbb2a59f12c86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.21.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling int-enum v1.2.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling darling_macro v0.21.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling v0.21.1 [INFO] [stderr] Compiling bon-macros v3.6.5 [INFO] [stderr] Compiling bon v3.6.5 [INFO] [stderr] Compiling tokio-nbd v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/device.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 377 | _size: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 377 - size: u64, [INFO] [stdout] 377 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/device.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 398 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 398 - offset: u64, [INFO] [stdout] 398 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/device.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 399 | _length: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 399 - length: u32, [INFO] [stdout] 399 + server::NbdServer::::handle_commands::{closure#0}::{closure#0}::BRANCHES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/device.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 422 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 422 - offset: u64, [INFO] [stdout] 422 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/device.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 423 | _length: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 423 - length: u32, [INFO] [stdout] 423 + server::NbdServer::::handle_commands::{closure#0}::{closure#0}::BRANCHES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `cookie` are never read [INFO] [stdout] --> src/io/command_reply.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 50 | struct SimpleReplyRaw<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 51 | error: &'a u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | cookie: &'a u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleReplyRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MetaContext` is never constructed [INFO] [stdout] --> src/option_reply.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) enum OptionReply { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 117 | MetaContext(u32, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/option_request.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | SetMetaContext(Vec), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OptionRequest` 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] 96 - SetMetaContext(Vec), [INFO] [stdout] 96 + SetMetaContext(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/option_request.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | ExtendedHeaders(Vec), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OptionRequest` 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] 100 - ExtendedHeaders(Vec), [INFO] [stdout] 100 + ExtendedHeaders(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 626 | request: &OptionRequest, [INFO] [stdout] 627 | ) -> Result<(Vec, OptionReplyFinalize), OptionReplyError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 627 | ) -> Result<(Vec, OptionReplyFinalize<'_, T>), OptionReplyError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 776 | ) -> std::io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 776 | ) -> std::io::Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.65s [INFO] running `Command { std: "docker" "inspect" "220fa638ec4f27717dd64cfe759f27a86a576d63bad2433680afbb2a59f12c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220fa638ec4f27717dd64cfe759f27a86a576d63bad2433680afbb2a59f12c86", kill_on_drop: false }` [INFO] [stdout] 220fa638ec4f27717dd64cfe759f27a86a576d63bad2433680afbb2a59f12c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaec4a725dd9e196b9def0bec1692a933737a77d87437592c74239c846f88e8f [INFO] running `Command { std: "docker" "start" "-a" "aaec4a725dd9e196b9def0bec1692a933737a77d87437592c74239c846f88e8f", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-nbd v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/device.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 377 | _size: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 377 - size: u64, [INFO] [stdout] 377 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/device.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 398 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 398 - offset: u64, [INFO] [stdout] 398 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/device.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 399 | _length: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 399 - length: u32, [INFO] [stdout] 399 + server::NbdServer::::handle_commands::{closure#0}::{closure#0}::BRANCHES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/device.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 422 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 422 - offset: u64, [INFO] [stdout] 422 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/device.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 423 | _length: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 423 - length: u32, [INFO] [stdout] 423 + server::NbdServer::::handle_commands::{closure#0}::{closure#0}::BRANCHES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `cookie` are never read [INFO] [stdout] --> src/io/command_reply.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 50 | struct SimpleReplyRaw<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 51 | error: &'a u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | cookie: &'a u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleReplyRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MetaContext` is never constructed [INFO] [stdout] --> src/option_reply.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) enum OptionReply { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 117 | MetaContext(u32, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/option_request.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | SetMetaContext(Vec), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OptionRequest` 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] 96 - SetMetaContext(Vec), [INFO] [stdout] 96 + SetMetaContext(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/option_request.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | ExtendedHeaders(Vec), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OptionRequest` 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] 100 - ExtendedHeaders(Vec), [INFO] [stdout] 100 + ExtendedHeaders(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 626 | request: &OptionRequest, [INFO] [stdout] 627 | ) -> Result<(Vec, OptionReplyFinalize), OptionReplyError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 627 | ) -> Result<(Vec, OptionReplyFinalize<'_, T>), OptionReplyError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 776 | ) -> std::io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 776 | ) -> std::io::Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/device.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 377 | _size: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 377 - size: u64, [INFO] [stdout] 377 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/device.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 398 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 398 - offset: u64, [INFO] [stdout] 398 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/device.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 399 | _length: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 399 - length: u32, [INFO] [stdout] 399 + server::NbdServer::::handle_commands::{closure#0}::{closure#0}::BRANCHES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/device.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | flags: CommandFlags, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/device.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 422 | _offset: u64, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NBD_REPLY_MAGIC` [INFO] [stdout] | [INFO] [stdout] 422 - offset: u64, [INFO] [stdout] 422 + magic::NBD_REPLY_MAGIC: u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/device.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 423 | _length: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 423 - length: u32, [INFO] [stdout] 423 + server::NbdServer::::handle_commands::{closure#0}::{closure#0}::BRANCHES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `cookie` are never read [INFO] [stdout] --> src/io/command_reply.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 50 | struct SimpleReplyRaw<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 51 | error: &'a u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | cookie: &'a u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleReplyRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/option_request.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | SetMetaContext(Vec), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OptionRequest` 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] 96 - SetMetaContext(Vec), [INFO] [stdout] 96 + SetMetaContext(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/option_request.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | ExtendedHeaders(Vec), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OptionRequest` 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] 100 - ExtendedHeaders(Vec), [INFO] [stdout] 100 + ExtendedHeaders(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 626 | request: &OptionRequest, [INFO] [stdout] 627 | ) -> Result<(Vec, OptionReplyFinalize), OptionReplyError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 627 | ) -> Result<(Vec, OptionReplyFinalize<'_, T>), OptionReplyError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 776 | ) -> std::io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 776 | ) -> std::io::Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.18s [INFO] running `Command { std: "docker" "inspect" "aaec4a725dd9e196b9def0bec1692a933737a77d87437592c74239c846f88e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaec4a725dd9e196b9def0bec1692a933737a77d87437592c74239c846f88e8f", kill_on_drop: false }` [INFO] [stdout] aaec4a725dd9e196b9def0bec1692a933737a77d87437592c74239c846f88e8f