[INFO] fetching crate rsdisk 0.0.12...
[INFO] building rsdisk-0.0.12 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate rsdisk 0.0.12 into /workspace/builds/worker-0-tc2/source
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rsdisk 0.0.12 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18c5862734eb8be83ce59f0b1d81bd0212f4fe67ced4bf3771f86a68c195965f
[INFO] running `Command { std: "docker" "start" "-a" "18c5862734eb8be83ce59f0b1d81bd0212f4fe67ced4bf3771f86a68c195965f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18c5862734eb8be83ce59f0b1d81bd0212f4fe67ced4bf3771f86a68c195965f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18c5862734eb8be83ce59f0b1d81bd0212f4fe67ced4bf3771f86a68c195965f", kill_on_drop: false }`
[INFO] [stdout] 18c5862734eb8be83ce59f0b1d81bd0212f4fe67ced4bf3771f86a68c195965f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b702cab9d469384d5d584c2325965a9a226d2a6633cb49dd1285c06c62f0d1eb
[INFO] running `Command { std: "docker" "start" "-a" "b702cab9d469384d5d584c2325965a9a226d2a6633cb49dd1285c06c62f0d1eb", 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)]` (part of `#[warn(nonstandard_style)]`) on by default
[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]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn delete_partition(&mut self, _partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 28 -     fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 28 +     fn delete_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<(), rsdiskErrors> {
[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<GPT, rsdiskErrors> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[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<u64, rsdiskErrors> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_partition(&mut self, _first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout] 31 +     fn create_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |
[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<u64, rsdiskErrors> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_partition(&mut self, first_sector: u64, _size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |                                                       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout] 31 +     fn create_partition(&mut self, first_sector: u64, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |
[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]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resize_partition(&mut self, _partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 25 +     fn resize_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[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]    |                                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resize_partition(&mut self, partition_id: u64, _new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                                       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 25 +     fn resize_partition(&mut self, partition_id: u64, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s
[INFO] running `Command { std: "docker" "inspect" "b702cab9d469384d5d584c2325965a9a226d2a6633cb49dd1285c06c62f0d1eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b702cab9d469384d5d584c2325965a9a226d2a6633cb49dd1285c06c62f0d1eb", kill_on_drop: false }`
[INFO] [stdout] b702cab9d469384d5d584c2325965a9a226d2a6633cb49dd1285c06c62f0d1eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c70bbf787fbb431732c57fac5360762b6df324eff5020b3957d991c7216fb6bc
[INFO] running `Command { std: "docker" "start" "-a" "c70bbf787fbb431732c57fac5360762b6df324eff5020b3957d991c7216fb6bc", 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)]` (part of `#[warn(nonstandard_style)]`) on by default
[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]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn delete_partition(&mut self, _partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 28 -     fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 28 +     fn delete_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<(), rsdiskErrors> {
[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<GPT, rsdiskErrors> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[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<u64, rsdiskErrors> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_partition(&mut self, _first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout] 31 +     fn create_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |
[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<u64, rsdiskErrors> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_partition(&mut self, first_sector: u64, _size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |                                                       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout] 31 +     fn create_partition(&mut self, first_sector: u64, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |
[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]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resize_partition(&mut self, _partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 25 +     fn resize_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[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]    |                                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resize_partition(&mut self, partition_id: u64, _new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                                       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 25 +     fn resize_partition(&mut self, partition_id: u64, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rsdisk v0.0.12 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: `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<u64, rsdiskErrors> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_partition(&mut self, _first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout] 31 +     fn create_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |
[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<u64, rsdiskErrors> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_partition(&mut self, first_sector: u64, _size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout]    |                                                       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stdout] 31 +     fn create_partition(&mut self, first_sector: u64, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<u64, rsdiskErrors> {
[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<GPT, rsdiskErrors> {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[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]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resize_partition(&mut self, _partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 25 +     fn resize_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[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]    |                                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resize_partition(&mut self, partition_id: u64, _new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                                       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 25 +     fn resize_partition(&mut self, partition_id: u64, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[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]    |                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn delete_partition(&mut self, _partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FIRST_PARTITION_ENTRY_OFFSET`
[INFO] [stdout]    |
[INFO] [stdout] 28 -     fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout] 28 +     fn delete_partition(&mut self, partition_tables::mbr::FIRST_PARTITION_ENTRY_OFFSET: u64) -> Result<(), rsdiskErrors> {
[INFO] [stdout]    |
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "c70bbf787fbb431732c57fac5360762b6df324eff5020b3957d991c7216fb6bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c70bbf787fbb431732c57fac5360762b6df324eff5020b3957d991c7216fb6bc", kill_on_drop: false }`
[INFO] [stdout] c70bbf787fbb431732c57fac5360762b6df324eff5020b3957d991c7216fb6bc
