[INFO] fetching crate rsdisk 0.0.12...
[INFO] testing rsdisk-0.0.12 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate rsdisk 0.0.12 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rsdisk 0.0.12 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate rsdisk 0.0.12 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.98
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5
[INFO] running `"docker" "start" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] running `"docker" "inspect" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[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]    |                                    ^^^^^^^^^^^^ 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<u64, rsdiskErrors> {
[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<u64, rsdiskErrors> {
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.74s
[INFO] running `"docker" "inspect" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[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]    |                                    ^^^^^^^^^^^^ 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<u64, rsdiskErrors> {
[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<u64, rsdiskErrors> {
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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 `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]    |                                    ^^^^^^^^^^^^ 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<u64, rsdiskErrors> {
[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<u64, rsdiskErrors> {
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.39s
[INFO] running `"docker" "inspect" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: type `rsdiskErrors` should have an upper camel case name
[INFO] [stderr]  --> src/errors.rs:2:10
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub enum rsdiskErrors {
[INFO] [stderr]   |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RsdiskErrors`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn read(path: &str) -> Result<GPT, rsdiskErrors> {
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `drive_path`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:22:21
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn write(&self, drive_path: &str) -> Result<(), rsdiskErrors> {
[INFO] [stderr]    |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drive_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `partition_id`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:25:36
[INFO] [stderr]    |
[INFO] [stderr] 25 |     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stderr]    |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `new_size`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:25:55
[INFO] [stderr]    |
[INFO] [stderr] 25 |     fn resize_partition(&mut self, partition_id: u64, new_size: u64) -> Result<(), rsdiskErrors> {
[INFO] [stderr]    |                                                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `partition_id`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:28:36
[INFO] [stderr]    |
[INFO] [stderr] 28 |     fn delete_partition(&mut self, partition_id: u64) -> Result<(), rsdiskErrors> {
[INFO] [stderr]    |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `first_sector`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:31:36
[INFO] [stderr]    |
[INFO] [stderr] 31 |     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stderr]    |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sector`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `size_in_sectors`
[INFO] [stderr]   --> src/partition_tables/gpt.rs:31:55
[INFO] [stderr]    |
[INFO] [stderr] 31 |     fn create_partition(&mut self, first_sector: u64, size_in_sectors: u64) -> Result<u64, rsdiskErrors> {
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_in_sectors`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `E` should have a snake case name
[INFO] [stderr]   --> src/partition_tables.rs:38:13
[INFO] [stderr]    |
[INFO] [stderr] 38 |         Err(E) => Err(E)
[INFO] [stderr]    |             ^ help: convert the identifier to snake case: `e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rsdisk` (lib) generated 9 warnings (run `cargo fix --lib -p rsdisk` to apply 7 suggestions)
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> tests/utils.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     mbr.create_partition(1024, 2048);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let _ = mbr.create_partition(1024, 2048);
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> tests/utils.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     mbr.write("tests/MBR_TEST");
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 45 |     let _ = mbr.write("tests/MBR_TEST");
[INFO] [stdout] running 0 tests
[INFO] [stderr]    |     +++++++
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] warning: `rsdisk` (test "utils") generated 2 warnings
[INFO] [stdout] 
[INFO] [stderr] warning: `rsdisk` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stdout] running 7 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rsdisk/2ce64355fa71e24b/out/rsdisk-2ce64355fa71e24b)
[INFO] [stdout] test mbr_invalid_partition_id_in_resize ... ok
[INFO] [stderr]      Running tests/utils.rs (/opt/rustwide/target/release/build/rsdisk/a1ba60cc55aedf77/out/utils-a1ba60cc55aedf77)
[INFO] [stdout] test mbr_too_large_partition_size ... ok
[INFO] [stdout] test empty_partition_table ... ok
[INFO] [stdout] test check_gpt ... ok
[INFO] [stdout] test check_mbr ... ok
[INFO] [stdout] test create_partition_mbr ... FAILED
[INFO] [stdout] test mbr_invalid_partition_id_in_del ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- create_partition_mbr stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'create_partition_mbr' (229) panicked at tests/utils.rs:46:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [(1, 2048), (2, 2048), (3, 0), (4, 0)]
[INFO] [stdout]  right: [(1, 2048), (2, 0), (3, 0), (4, 0)]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x65170a1710d1 - <<std[f3a103f8b3fbc6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x65170a1851da - core[a2c1a7cd948629ec]::fmt::write
[INFO] [stdout]    2:     0x65170a1752ec - <alloc[9de6908353064a78]::vec::Vec<u8> as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x65170a14d4c6 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x65170a1696a9 - std[f3a103f8b3fbc6]::panicking::default_hook
[INFO] [stdout]    5:     0x65170a1054a0 - test[4d2796dde4b18a79]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x65170a169862 - std[f3a103f8b3fbc6]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x65170a14d572 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x65170a1470a9 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace::<std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x65170a14e17d - __rustc[72b30b8c63551d82]::rust_begin_unwind
[INFO] [stdout]   10:     0x65170a18590c - core[a2c1a7cd948629ec]::panicking::panic_fmt
[INFO] [stdout]   11:     0x65170a185823 - core[a2c1a7cd948629ec]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x65170a0f7b76 - core[a2c1a7cd948629ec]::panicking::assert_failed::<alloc[9de6908353064a78]::vec::Vec<(u64, u64)>, alloc[9de6908353064a78]::vec::Vec<(u64, u64)>>
[INFO] [stdout]   13:     0x65170a0f81eb - <utils[756a86e72e8493aa]::create_partition_mbr::{closure#0} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x65170a0f88eb - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::<core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>>
[INFO] [stdout]   15:     0x65170a105ac5 - test[4d2796dde4b18a79]::run_test::{closure#0}
[INFO] [stdout]   16:     0x65170a0feeb4 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace::<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x65170a108b52 - <std[f3a103f8b3fbc6]::thread::lifecycle::spawn_unchecked<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x65170a1708bf - <std[f3a103f8b3fbc6]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x729dd1a3bdfa - <unknown>
[INFO] [stdout]   20:     0x729dd1acf3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     create_partition_mbr
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test utils`
[INFO] running `"docker" "inspect" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] running `"docker" "rm" "-f" "b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5"`
[INFO] [stdout] b9c56acff542a454862e95de0fed871d617aa8c952b03586deef3a738c6ffbb5
