[INFO] fetching crate rsdisk 0.0.12... [INFO] building rsdisk-0.0.12 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate rsdisk 0.0.12 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rsdisk 0.0.12 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsdisk 0.0.12 [INFO] finished tweaking crates.io crate rsdisk 0.0.12 [INFO] tweaked toml for crates.io crate rsdisk 0.0.12 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate rsdisk 0.0.12 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a01ecbe7dee029495e44b56fab55d7d7f6c9b75341ca10f079ea65e0f97504c1 [INFO] running `Command { std: "docker" "start" "-a" "a01ecbe7dee029495e44b56fab55d7d7f6c9b75341ca10f079ea65e0f97504c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a01ecbe7dee029495e44b56fab55d7d7f6c9b75341ca10f079ea65e0f97504c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01ecbe7dee029495e44b56fab55d7d7f6c9b75341ca10f079ea65e0f97504c1", kill_on_drop: false }` [INFO] [stdout] a01ecbe7dee029495e44b56fab55d7d7f6c9b75341ca10f079ea65e0f97504c1 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1475978c2016e4dd57dae8845c48e4c7c15e1e98577c4d79f54fbe868f451724 [INFO] running `Command { std: "docker" "start" "-a" "1475978c2016e4dd57dae8845c48e4c7c15e1e98577c4d79f54fbe868f451724", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling rsdisk v0.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `rsdiskErrors` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum rsdiskErrors { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RsdiskErrors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/partition_tables/gpt.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drive_path` [INFO] [stdout] --> src/partition_tables/gpt.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn write(&self, drive_path: &str) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drive_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_id` [INFO] [stdout] --> src/partition_tables/gpt.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> src/partition_tables/gpt.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_id` [INFO] [stdout] --> src/partition_tables/gpt.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_sector` [INFO] [stdout] --> src/partition_tables/gpt.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_in_sectors` [INFO] [stdout] --> src/partition_tables/gpt.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_in_sectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/partition_tables.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(E) => Err(E) [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "1475978c2016e4dd57dae8845c48e4c7c15e1e98577c4d79f54fbe868f451724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1475978c2016e4dd57dae8845c48e4c7c15e1e98577c4d79f54fbe868f451724", kill_on_drop: false }` [INFO] [stdout] 1475978c2016e4dd57dae8845c48e4c7c15e1e98577c4d79f54fbe868f451724 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 542e88597babb9da34dda8c824914bac26b644f1582403e032f37ce6f834a415 [INFO] running `Command { std: "docker" "start" "-a" "542e88597babb9da34dda8c824914bac26b644f1582403e032f37ce6f834a415", kill_on_drop: false }` [INFO] [stdout] warning: type `rsdiskErrors` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum rsdiskErrors { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RsdiskErrors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsdisk v0.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/partition_tables/gpt.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drive_path` [INFO] [stdout] --> src/partition_tables/gpt.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn write(&self, drive_path: &str) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drive_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_id` [INFO] [stdout] --> src/partition_tables/gpt.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> src/partition_tables/gpt.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_id` [INFO] [stdout] --> src/partition_tables/gpt.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_sector` [INFO] [stdout] --> src/partition_tables/gpt.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_in_sectors` [INFO] [stdout] --> src/partition_tables/gpt.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_in_sectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/partition_tables.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(E) => Err(E) [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rsdiskErrors` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum rsdiskErrors { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RsdiskErrors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/utils.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mbr.create_partition(1024, 2048); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = mbr.create_partition(1024, 2048); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | mbr.write("tests/MBR_TEST"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = mbr.write("tests/MBR_TEST"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/partition_tables/gpt.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drive_path` [INFO] [stdout] --> src/partition_tables/gpt.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn write(&self, drive_path: &str) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drive_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_id` [INFO] [stdout] --> src/partition_tables/gpt.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> src/partition_tables/gpt.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_id` [INFO] [stdout] --> src/partition_tables/gpt.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_sector` [INFO] [stdout] --> src/partition_tables/gpt.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_in_sectors` [INFO] [stdout] --> src/partition_tables/gpt.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_in_sectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/partition_tables.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(E) => Err(E) [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "542e88597babb9da34dda8c824914bac26b644f1582403e032f37ce6f834a415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542e88597babb9da34dda8c824914bac26b644f1582403e032f37ce6f834a415", kill_on_drop: false }` [INFO] [stdout] 542e88597babb9da34dda8c824914bac26b644f1582403e032f37ce6f834a415