[INFO] fetching crate tokio-nbd 0.3.0... [INFO] building tokio-nbd-0.3.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tokio-nbd 0.3.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-nbd 0.3.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.21.1 [INFO] [stderr] Downloaded darling v0.21.1 [INFO] [stderr] Downloaded bon v3.6.5 [INFO] [stderr] Downloaded darling_core v0.21.1 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded int-enum v1.2.0 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded bon-macros v3.6.5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 302f866c97b5965b64536e4db210a31ad76047e89a67104217cba73e1d19b28d [INFO] running `Command { std: "docker" "start" "-a" "302f866c97b5965b64536e4db210a31ad76047e89a67104217cba73e1d19b28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "302f866c97b5965b64536e4db210a31ad76047e89a67104217cba73e1d19b28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "302f866c97b5965b64536e4db210a31ad76047e89a67104217cba73e1d19b28d", kill_on_drop: false }` [INFO] [stdout] 302f866c97b5965b64536e4db210a31ad76047e89a67104217cba73e1d19b28d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95a970c73f33ab1e8c89439693db07d84c5c16858247e7eec164e29882cb79de [INFO] running `Command { std: "docker" "start" "-a" "95a970c73f33ab1e8c89439693db07d84c5c16858247e7eec164e29882cb79de", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [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 thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling_macro v0.21.1 [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 49.91s [INFO] running `Command { std: "docker" "inspect" "95a970c73f33ab1e8c89439693db07d84c5c16858247e7eec164e29882cb79de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a970c73f33ab1e8c89439693db07d84c5c16858247e7eec164e29882cb79de", kill_on_drop: false }` [INFO] [stdout] 95a970c73f33ab1e8c89439693db07d84c5c16858247e7eec164e29882cb79de [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5656e4ee8c1ac4c04a60f34245da5f39769dfbe79a3f40d94c14c870d5ad3e5e [INFO] running `Command { std: "docker" "start" "-a" "5656e4ee8c1ac4c04a60f34245da5f39769dfbe79a3f40d94c14c870d5ad3e5e", 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 11.17s [INFO] running `Command { std: "docker" "inspect" "5656e4ee8c1ac4c04a60f34245da5f39769dfbe79a3f40d94c14c870d5ad3e5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5656e4ee8c1ac4c04a60f34245da5f39769dfbe79a3f40d94c14c870d5ad3e5e", kill_on_drop: false }` [INFO] [stdout] 5656e4ee8c1ac4c04a60f34245da5f39769dfbe79a3f40d94c14c870d5ad3e5e