[INFO] fetching crate tokio-nbd 0.3.0... [INFO] testing tokio-nbd-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tokio-nbd 0.3.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-nbd 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d76001f6801c308bb0562542480aba21b673208403d07efe345684a2b583d530 [INFO] running `Command { std: "docker" "start" "-a" "d76001f6801c308bb0562542480aba21b673208403d07efe345684a2b583d530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d76001f6801c308bb0562542480aba21b673208403d07efe345684a2b583d530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76001f6801c308bb0562542480aba21b673208403d07efe345684a2b583d530", kill_on_drop: false }` [INFO] [stdout] d76001f6801c308bb0562542480aba21b673208403d07efe345684a2b583d530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eb977f2a8692e3d3b69f7f844ddd2257ad7fb5e893eccdd78cd338b3f5743a2 [INFO] running `Command { std: "docker" "start" "-a" "2eb977f2a8692e3d3b69f7f844ddd2257ad7fb5e893eccdd78cd338b3f5743a2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling int-enum v1.2.0 [INFO] [stderr] Compiling tokio v1.47.1 [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] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [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 15.89s [INFO] running `Command { std: "docker" "inspect" "2eb977f2a8692e3d3b69f7f844ddd2257ad7fb5e893eccdd78cd338b3f5743a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb977f2a8692e3d3b69f7f844ddd2257ad7fb5e893eccdd78cd338b3f5743a2", kill_on_drop: false }` [INFO] [stdout] 2eb977f2a8692e3d3b69f7f844ddd2257ad7fb5e893eccdd78cd338b3f5743a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37395bcd30758c810e582351c6bb6d2424ee7c9190922e71fbc38cb0dbb7a24c [INFO] running `Command { std: "docker" "start" "-a" "37395bcd30758c810e582351c6bb6d2424ee7c9190922e71fbc38cb0dbb7a24c", 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] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [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] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [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] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [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 8.95s [INFO] running `Command { std: "docker" "inspect" "37395bcd30758c810e582351c6bb6d2424ee7c9190922e71fbc38cb0dbb7a24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37395bcd30758c810e582351c6bb6d2424ee7c9190922e71fbc38cb0dbb7a24c", kill_on_drop: false }` [INFO] [stdout] 37395bcd30758c810e582351c6bb6d2424ee7c9190922e71fbc38cb0dbb7a24c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07941c41459b88be43bacb17f0155eebad348e48397ecda89b73ac34f76c09c7 [INFO] running `Command { std: "docker" "start" "-a" "07941c41459b88be43bacb17f0155eebad348e48397ecda89b73ac34f76c09c7", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/device.rs:376:9 [INFO] [stderr] | [INFO] [stderr] 376 | flags: CommandFlags, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/device.rs:377:9 [INFO] [stderr] | [INFO] [stderr] 377 | size: u64, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/device.rs:397:9 [INFO] [stderr] | [INFO] [stderr] 397 | flags: CommandFlags, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/device.rs:398:9 [INFO] [stderr] | [INFO] [stderr] 398 | offset: u64, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/device.rs:399:9 [INFO] [stderr] | [INFO] [stderr] 399 | length: u32, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/device.rs:421:9 [INFO] [stderr] | [INFO] [stderr] 421 | flags: CommandFlags, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/device.rs:422:9 [INFO] [stderr] | [INFO] [stderr] 422 | offset: u64, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/device.rs:423:9 [INFO] [stderr] | [INFO] [stderr] 423 | length: u32, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: fields `error` and `cookie` are never read [INFO] [stderr] --> src/io/command_reply.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 50 | struct SimpleReplyRaw<'a> { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 51 | error: &'a u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 52 | cookie: &'a u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimpleReplyRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `MetaContext` is never constructed [INFO] [stderr] --> src/option_reply.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 106 | pub(crate) enum OptionReply { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 117 | MetaContext(u32, String), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OptionReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/option_request.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | SetMetaContext(Vec), [INFO] [stderr] | -------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `OptionRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 96 - SetMetaContext(Vec), [INFO] [stderr] 96 + SetMetaContext(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/option_request.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | ExtendedHeaders(Vec), [INFO] [stderr] | --------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `OptionRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 100 - ExtendedHeaders(Vec), [INFO] [stderr] 100 + ExtendedHeaders(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/server.rs:625:9 [INFO] [stderr] | [INFO] [stderr] 625 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 626 | request: &OptionRequest, [INFO] [stderr] 627 | ) -> Result<(Vec, OptionReplyFinalize), OptionReplyError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 627 | ) -> Result<(Vec, OptionReplyFinalize<'_, T>), OptionReplyError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/server.rs:773:9 [INFO] [stderr] | [INFO] [stderr] 773 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 776 | ) -> std::io::Result> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 776 | ) -> std::io::Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `tokio-nbd` (lib) generated 14 warnings (run `cargo fix --lib -p tokio-nbd` to apply 2 suggestions) [INFO] [stderr] warning: `tokio-nbd` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_nbd-ac4b3ee015532739) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test command_request::tests::test_command_type_conversion ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_cache_and_block_status ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_invalid_magic ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_other_commands ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_disconnect ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_valid_flush ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_unsupported_command ... ok [INFO] [stdout] test device::tests::driver_memory_disconnect ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_valid_read ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_valid_write ... ok [INFO] [stdout] test device::tests::driver_memory_read ... ok [INFO] [stdout] test device::tests::driver_memory_read_out_of_bounds ... ok [INFO] [stdout] test device::tests::driver_memory_resize ... ok [INFO] [stdout] test device::tests::driver_memory_unsupported_operations ... ok [INFO] [stdout] test device::tests::driver_memory_zero_length_operations ... ok [INFO] [stdout] test device::tests::driver_memory_partial_write_read ... ok [INFO] [stdout] test device::tests::driver_memory_list_devices_and_info ... ok [INFO] [stdout] test flags::tests::test_empty_server_features_conversion ... ok [INFO] [stdout] test flags::tests::test_handshake_flags ... ok [INFO] [stdout] test device::tests::driver_memory_command_flags ... ok [INFO] [stdout] test flags::tests::test_server_features_to_transmission_flags ... ok [INFO] [stdout] test device::tests::driver_memory_error_handling_and_recovery ... ok [INFO] [stdout] test device::tests::driver_memory_write_read ... ok [INFO] [stdout] test flags::tests::test_server_features ... ok [INFO] [stdout] test flags::tests::test_command_flags ... ok [INFO] [stdout] test info::tests::test_information_request_conversion ... ok [INFO] [stdout] test option_reply::tests::test_info_payload_block_size ... ok [INFO] [stdout] test device::tests::driver_memory_get_name ... ok [INFO] [stdout] test option_reply::tests::test_info_payload_description ... ok [INFO] [stdout] test option_reply::tests::test_info_payload_export ... ok [INFO] [stdout] test option_reply::tests::test_option_reply_get_data_ack ... ok [INFO] [stdout] test option_reply::tests::test_option_reply_get_reply_type ... ok [INFO] [stdout] test option_reply::tests::test_info_payload_name ... ok [INFO] [stdout] test option_reply::tests::test_option_reply_type_conversion ... ok [INFO] [stdout] test flags::tests::test_transmission_flags ... ok [INFO] [stdout] test option_request::tests::test_parse_info_payload_empty ... ok [INFO] [stdout] test option_reply::tests::test_option_reply_get_data_meta_context ... ok [INFO] [stdout] test option_request::tests::test_try_from_raw_unsupported ... ok [INFO] [stdout] test option_reply::tests::test_option_reply_get_data_server ... ok [INFO] [stdout] test option_request::tests::test_option_request_type_conversion ... ok [INFO] [stdout] test option_request::tests::test_parse_info_payload_with_name ... ok [INFO] [stdout] test option_request::tests::test_try_from_raw_export_name ... ok [INFO] [stdout] test option_reply::tests::test_info_payload_via_option_reply ... ok [INFO] [stdout] test option_request::tests::test_try_from_raw_invalid_magic ... ok [INFO] [stdout] test device::tests::driver_memory_write_out_of_bounds ... ok [INFO] [stdout] test command_request::tests::test_try_from_raw_invalid_write_data - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio_nbd [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 27) - compile ... ok [INFO] [stdout] test src/lib.rs - init_default_tracing (line 52) - compile ... ok [INFO] [stdout] test src/flags.rs - flags (line 12) ... ok [INFO] [stdout] test src/device.rs - device::NbdDriver (line 63) ... ok [INFO] [stdout] test src/errors.rs - errors (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/server.rs - server (line 24) - compile fail ... ok [INFO] [stdout] test src/server.rs - server::SelectedDevice (line 131) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.87s; merged doctests compilation took 0.73s [INFO] running `Command { std: "docker" "inspect" "07941c41459b88be43bacb17f0155eebad348e48397ecda89b73ac34f76c09c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07941c41459b88be43bacb17f0155eebad348e48397ecda89b73ac34f76c09c7", kill_on_drop: false }` [INFO] [stdout] 07941c41459b88be43bacb17f0155eebad348e48397ecda89b73ac34f76c09c7