[INFO] fetching crate rsdisk 0.0.12...
[INFO] building rsdisk-0.0.12 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate rsdisk 0.0.12 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rsdisk 0.0.12 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstyle-query v1.1.0
[INFO] [stderr]   Downloaded anstream v0.6.14
[INFO] [stderr]   Downloaded clap v4.5.8
[INFO] [stderr]   Downloaded clap_derive v4.5.8
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.3
[INFO] [stderr]   Downloaded clap_lex v0.7.1
[INFO] [stderr]   Downloaded cc v1.0.98
[INFO] [stderr]   Downloaded clap_builder v4.5.8
[INFO] [stderr]   Downloaded syn v2.0.68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1956f01ad6db515475edd68aa6ae818b665e0a9a39ea220d7086e58699aad19
[INFO] running `Command { std: "docker" "start" "-a" "f1956f01ad6db515475edd68aa6ae818b665e0a9a39ea220d7086e58699aad19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1956f01ad6db515475edd68aa6ae818b665e0a9a39ea220d7086e58699aad19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1956f01ad6db515475edd68aa6ae818b665e0a9a39ea220d7086e58699aad19", kill_on_drop: false }`
[INFO] [stdout] f1956f01ad6db515475edd68aa6ae818b665e0a9a39ea220d7086e58699aad19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a848dc0672232d55826b8f633971968e1d7fb119e70432db2be550021dc44810
[INFO] running `Command { std: "docker" "start" "-a" "a848dc0672232d55826b8f633971968e1d7fb119e70432db2be550021dc44810", 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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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]    |                                    ^^^^^^^^^^^^
[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: 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: 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 1.60s
[INFO] running `Command { std: "docker" "inspect" "a848dc0672232d55826b8f633971968e1d7fb119e70432db2be550021dc44810", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a848dc0672232d55826b8f633971968e1d7fb119e70432db2be550021dc44810", kill_on_drop: false }`
[INFO] [stdout] a848dc0672232d55826b8f633971968e1d7fb119e70432db2be550021dc44810
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc693bba184ef391ab827d6fa6f725e9fe09ca290d95aaf347c3e2e638992d0a
[INFO] running `Command { std: "docker" "start" "-a" "bc693bba184ef391ab827d6fa6f725e9fe09ca290d95aaf347c3e2e638992d0a", 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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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]    |                                    ^^^^^^^^^^^^
[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: 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] [stderr]    Compiling rsdisk v0.0.12 (/opt/rustwide/workdir)
[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: 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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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]    |                                    ^^^^^^^^^^^^
[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: 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: 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.39s
[INFO] running `Command { std: "docker" "inspect" "bc693bba184ef391ab827d6fa6f725e9fe09ca290d95aaf347c3e2e638992d0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc693bba184ef391ab827d6fa6f725e9fe09ca290d95aaf347c3e2e638992d0a", kill_on_drop: false }`
[INFO] [stdout] bc693bba184ef391ab827d6fa6f725e9fe09ca290d95aaf347c3e2e638992d0a
