[INFO] cloning repository https://github.com/LeeSmet/vblock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeeSmet/vblock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeSmet%2Fvblock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeSmet%2Fvblock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16b28985ab2d47d1d7e654b1321d3a95be23ac59 [INFO] checking LeeSmet/vblock/16b28985ab2d47d1d7e654b1321d3a95be23ac59 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeSmet%2Fvblock" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeeSmet/vblock on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LeeSmet/vblock [INFO] finished tweaking git repo https://github.com/LeeSmet/vblock [INFO] tweaked toml for git repo https://github.com/LeeSmet/vblock written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LeeSmet/vblock 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39c2f882dfce9de4b93deb1fa290fb38d7f5922a5f340448a7b58367d71e3ee0 [INFO] running `Command { std: "docker" "start" "-a" "39c2f882dfce9de4b93deb1fa290fb38d7f5922a5f340448a7b58367d71e3ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39c2f882dfce9de4b93deb1fa290fb38d7f5922a5f340448a7b58367d71e3ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c2f882dfce9de4b93deb1fa290fb38d7f5922a5f340448a7b58367d71e3ee0", kill_on_drop: false }` [INFO] [stdout] 39c2f882dfce9de4b93deb1fa290fb38d7f5922a5f340448a7b58367d71e3ee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b58a446d9694f65b426d5c4bb82d36a4c92dd165620e305742b8882d8cbc275 [INFO] running `Command { std: "docker" "start" "-a" "9b58a446d9694f65b426d5c4bb82d36a4c92dd165620e305742b8882d8cbc275", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling io-uring v0.6.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitmaps v3.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking xts-mode v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling libublk v0.2.1 [INFO] [stderr] Checking vblock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ioctl_none` [INFO] [stdout] --> src/kernel.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use nix::{ioctl_none, ioctl_read, ioctl_read_bad, request_code_none}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ioctl_none` [INFO] [stdout] --> src/kernel.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use nix::{ioctl_none, ioctl_read, ioctl_read_bad, request_code_none}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_IOCTL_ID` is never used [INFO] [stdout] --> src/kernel.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BLK_IOCTL_ID: u8 = 0x12; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_SSZGET_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const BLK_SSZGET_IOCTL_SEQNO: u8 = 104; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_GETSIZE64_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BLK_GETSIZE64_IOCTL_SEQNO: u8 = 114; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_IOMIN_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BLK_IOMIN_IOCTL_SEQNO: u8 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_IOOPT_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const BLK_IOOPT_IOCTL_SEQNO: u8 = 121; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_PBSZGET_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const BLK_PBSZGET_IOCTL_SEQNO: u8 = 123; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layout` is never constructed [INFO] [stdout] --> src/layout.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedDeviceType` is never constructed [INFO] [stdout] --> src/layout.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum LayoutError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 33 | /// Not a block device or regular file. [INFO] [stdout] 34 | UnsupportedDeviceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayoutError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Layout { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(target: &File) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_IOCTL_ID` is never used [INFO] [stdout] --> src/kernel.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BLK_IOCTL_ID: u8 = 0x12; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_SSZGET_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const BLK_SSZGET_IOCTL_SEQNO: u8 = 104; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_GETSIZE64_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BLK_GETSIZE64_IOCTL_SEQNO: u8 = 114; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_IOMIN_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BLK_IOMIN_IOCTL_SEQNO: u8 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_IOOPT_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const BLK_IOOPT_IOCTL_SEQNO: u8 = 121; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLK_PBSZGET_IOCTL_SEQNO` is never used [INFO] [stdout] --> src/kernel.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const BLK_PBSZGET_IOCTL_SEQNO: u8 = 123; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layout` is never constructed [INFO] [stdout] --> src/layout.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedDeviceType` is never constructed [INFO] [stdout] --> src/layout.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum LayoutError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 33 | /// Not a block device or regular file. [INFO] [stdout] 34 | UnsupportedDeviceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayoutError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Layout { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(target: &File) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.34s [INFO] running `Command { std: "docker" "inspect" "9b58a446d9694f65b426d5c4bb82d36a4c92dd165620e305742b8882d8cbc275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b58a446d9694f65b426d5c4bb82d36a4c92dd165620e305742b8882d8cbc275", kill_on_drop: false }` [INFO] [stdout] 9b58a446d9694f65b426d5c4bb82d36a4c92dd165620e305742b8882d8cbc275