[INFO] fetching crate mbrman---bitvec-1-0 0.0.1... [INFO] testing mbrman---bitvec-1-0-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate mbrman---bitvec-1-0 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mbrman---bitvec-1-0 0.0.1 [INFO] finished tweaking crates.io crate mbrman---bitvec-1-0 0.0.1 [INFO] tweaked toml for crates.io crate mbrman---bitvec-1-0 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mbrman---bitvec-1-0 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding serde-big-array v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af6ff2fe3efd9e0ea9e1265c960f63f1a6b99d48341601b2abb0732d424fdc98 [INFO] running `Command { std: "docker" "start" "-a" "af6ff2fe3efd9e0ea9e1265c960f63f1a6b99d48341601b2abb0732d424fdc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af6ff2fe3efd9e0ea9e1265c960f63f1a6b99d48341601b2abb0732d424fdc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6ff2fe3efd9e0ea9e1265c960f63f1a6b99d48341601b2abb0732d424fdc98", kill_on_drop: false }` [INFO] [stdout] af6ff2fe3efd9e0ea9e1265c960f63f1a6b99d48341601b2abb0732d424fdc98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8f5dcb716597d75250038c10eba863fce386bdb4b0f9048b871f0d99abc4b29 [INFO] running `Command { std: "docker" "start" "-a" "e8f5dcb716597d75250038c10eba863fce386bdb4b0f9048b871f0d99abc4b29", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling mbrman---bitvec-1-0 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `mbrman___bitvec_1_0` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `mbrman_bitvec_1_0` [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 9.39s [INFO] running `Command { std: "docker" "inspect" "e8f5dcb716597d75250038c10eba863fce386bdb4b0f9048b871f0d99abc4b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f5dcb716597d75250038c10eba863fce386bdb4b0f9048b871f0d99abc4b29", kill_on_drop: false }` [INFO] [stdout] e8f5dcb716597d75250038c10eba863fce386bdb4b0f9048b871f0d99abc4b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 926af4afa8b3e5781ffee733085a651f7fccbf4e95f1248f9cc49be3e958e11a [INFO] running `Command { std: "docker" "start" "-a" "926af4afa8b3e5781ffee733085a651f7fccbf4e95f1248f9cc49be3e958e11a", kill_on_drop: false }` [INFO] [stdout] warning: crate `mbrman___bitvec_1_0` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `mbrman_bitvec_1_0` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mbrman---bitvec-1-0 v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "926af4afa8b3e5781ffee733085a651f7fccbf4e95f1248f9cc49be3e958e11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926af4afa8b3e5781ffee733085a651f7fccbf4e95f1248f9cc49be3e958e11a", kill_on_drop: false }` [INFO] [stdout] 926af4afa8b3e5781ffee733085a651f7fccbf4e95f1248f9cc49be3e958e11a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ca123092057fc75504f45a5f2a0081960a22b29865268ff19e4a8ce941603c2 [INFO] running `Command { std: "docker" "start" "-a" "9ca123092057fc75504f45a5f2a0081960a22b29865268ff19e4a8ce941603c2", kill_on_drop: false }` [INFO] [stderr] warning: crate `mbrman___bitvec_1_0` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `mbrman_bitvec_1_0` [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mbrman---bitvec-1-0` (lib) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mbrman___bitvec_1_0-30afb1e36040082a) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test tests::deserialize_maximum_chs_value ... ok [INFO] [stdout] test tests::find_free_sectors ... ok [INFO] [stdout] test tests::align_chs_to_cylinder ... ok [INFO] [stdout] test tests::convert_chs_to_lba_and_back ... ok [INFO] [stdout] test tests::push_logical_partition_check_within_range ... ok [INFO] [stdout] test tests::read_disk1 ... ok [INFO] [stdout] test tests::push_logical_partition_aligned_to_cylinder ... ok [INFO] [stdout] test tests::new_mbr_then_write_then_read_twice ... ok [INFO] [stdout] test tests::remove_logical_partition ... ok [INFO] [stdout] test tests::read_invalid_boot_flag ... ok [INFO] [stdout] test tests::serialize_maximum_chs_value ... ok [INFO] [stdout] test tests::serialize_and_deserialize_some_chs_value ... ok [INFO] [stdout] test tests::read_empty_extended_partition ... ok [INFO] [stdout] test tests::write_invalid_boot_flag ... ok [INFO] [stdout] test tests::write_invalid_boot_signature ... ok [INFO] [stdout] test tests::find_at_sector ... ok [INFO] [stdout] test tests::read_disk2 ... ok [INFO] [stdout] test tests::read_invalid_boot_signature ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests mbrman___bitvec_1_0 [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - MBR (line 241) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::find_free_sectors (line 667) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::find_first_place (line 741) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::write_into (line 530) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::find_last_place (line 776) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - test_readme (line 2039) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - test_readme (line 2134) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::get_maximum_partition_size (line 851) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::new_from (line 370) ... FAILED [INFO] [stdout] test src/lib.rs - test_readme (line 2090) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::find_optimal_place (line 812) ... FAILED [INFO] [stdout] test src/lib.rs - MBRPartitionEntry::empty (line 1196) ... FAILED [INFO] [stdout] test src/lib.rs - test_readme (line 2104) ... FAILED [INFO] [stdout] test src/lib.rs - MBR::read_from (line 400) ... FAILED [INFO] [stdout] test src/lib.rs - test_readme (line 2061) ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let mut mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - let mut mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] 40 + let mut mbr = MBR::read_from(&mut f, 512) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] 52 + first_chs: CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] 54 + last_chs: CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | mbr[free_partition_number] = mbrman::MBRPartitionEntry::empty(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use mbrman___bitvec_1_0::MBRPartitionEntry; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBRPartitionEntry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - mbr[free_partition_number] = mbrman::MBRPartitionEntry::empty(); [INFO] [stdout] 59 + mbr[free_partition_number] = MBRPartitionEntry::empty(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | let free_partition_number = mbr.iter().find(|(i, p)| p.is_unused()).map(|(i, _)| i) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 43 | let free_partition_number = mbr.iter().find(|(i, p): (_, _)| p.is_unused()).map(|(i, _)| i) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | boot: mbrman::BOOT_INACTIVE, // boot flag [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | mbr[free_partition_number] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR (line 241) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:244:11 [INFO] [stdout] | [INFO] [stdout] 244 | let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 241 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 244 - let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] 244 + let mbr = MBR::read_from(&mut f, 512) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | if p.is_used() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::find_free_sectors (line 667) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:671:15 [INFO] [stdout] | [INFO] [stdout] 671 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 667 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 671 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 671 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | first_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 667 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 676 - first_chs: mbrman::CHS::empty(), [INFO] [stdout] 676 + first_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:678:15 [INFO] [stdout] | [INFO] [stdout] 678 | last_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 667 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 678 - last_chs: mbrman::CHS::empty(), [INFO] [stdout] 678 + last_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:675:11 [INFO] [stdout] | [INFO] [stdout] 675 | boot: mbrman::BOOT_INACTIVE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:674:10 [INFO] [stdout] | [INFO] [stdout] 674 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::find_first_place (line 741) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:745:15 [INFO] [stdout] | [INFO] [stdout] 745 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 741 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 745 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 745 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:750:16 [INFO] [stdout] | [INFO] [stdout] 750 | first_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 741 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 750 - first_chs: mbrman::CHS::empty(), [INFO] [stdout] 750 + first_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:752:15 [INFO] [stdout] | [INFO] [stdout] 752 | last_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 741 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 752 - last_chs: mbrman::CHS::empty(), [INFO] [stdout] 752 + last_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:749:11 [INFO] [stdout] | [INFO] [stdout] 749 | boot: mbrman::BOOT_INACTIVE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:748:10 [INFO] [stdout] | [INFO] [stdout] 748 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] 18 + let mbr = MBR::read_from(&mut f, 512) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if p.is_used() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::write_into (line 530) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 530 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 534 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 534 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::find_last_place (line 776) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 776 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 780 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 780 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:785:16 [INFO] [stdout] | [INFO] [stdout] 785 | first_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 776 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 785 - first_chs: mbrman::CHS::empty(), [INFO] [stdout] 785 + first_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:787:15 [INFO] [stdout] | [INFO] [stdout] 787 | last_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 776 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 787 - last_chs: mbrman::CHS::empty(), [INFO] [stdout] 787 + last_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:784:11 [INFO] [stdout] | [INFO] [stdout] 784 | boot: mbrman::BOOT_INACTIVE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:783:10 [INFO] [stdout] | [INFO] [stdout] 783 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 85 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] 90 + first_chs: CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] 92 + last_chs: CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | boot: mbrman::BOOT_INACTIVE, // boot flag [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_readme (line 2039) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2042:11 [INFO] [stdout] | [INFO] [stdout] 2042 | let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2039 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2042 - let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] 2042 + let mbr = MBR::read_from(&mut f, 512) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:2049:8 [INFO] [stdout] | [INFO] [stdout] 2049 | if p.is_used() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 66 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 71 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 71 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_readme (line 2134) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2139:15 [INFO] [stdout] | [INFO] [stdout] 2139 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2134 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2139 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 2139 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2144:16 [INFO] [stdout] | [INFO] [stdout] 2144 | first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2134 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2144 - first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] 2144 + first_chs: CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2146:15 [INFO] [stdout] | [INFO] [stdout] 2146 | last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2134 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2146 - last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] 2146 + last_chs: CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2157:24 [INFO] [stdout] | [INFO] [stdout] 2157 | first_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2134 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2157 - first_chs: mbrman::CHS::empty(), [INFO] [stdout] 2157 + first_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2159:23 [INFO] [stdout] | [INFO] [stdout] 2159 | last_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2134 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2159 - last_chs: mbrman::CHS::empty(), [INFO] [stdout] 2159 + last_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2170:24 [INFO] [stdout] | [INFO] [stdout] 2170 | ebr_first_chs: mbrman::CHS::empty(), // only for old computers [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2134 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2170 - ebr_first_chs: mbrman::CHS::empty(), // only for old computers [INFO] [stdout] 2170 + ebr_first_chs: CHS::empty(), // only for old computers [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2143:11 [INFO] [stdout] | [INFO] [stdout] 2143 | boot: mbrman::BOOT_INACTIVE, // boot flag [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2156:19 [INFO] [stdout] | [INFO] [stdout] 2156 | boot: mbrman::BOOT_INACTIVE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2142:10 [INFO] [stdout] | [INFO] [stdout] 2142 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2155:20 [INFO] [stdout] | [INFO] [stdout] 2155 | partition: mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2153:5 [INFO] [stdout] | [INFO] [stdout] 2153 | mbrman::LogicalPartition { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::get_maximum_partition_size (line 851) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:855:15 [INFO] [stdout] | [INFO] [stdout] 855 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 851 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 855 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 855 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::new_from (line 370) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:373:11 [INFO] [stdout] | [INFO] [stdout] 373 | let mbr = mbrman::MBR::new_from(&mut f, 512, [0x01, 0x02, 0x03, 0x04]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 370 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 373 - let mbr = mbrman::MBR::new_from(&mut f, 512, [0x01, 0x02, 0x03, 0x04]) [INFO] [stdout] 373 + let mbr = MBR::new_from(&mut f, 512, [0x01, 0x02, 0x03, 0x04]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_readme (line 2090) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2095:15 [INFO] [stdout] | [INFO] [stdout] 2095 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2090 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2095 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 2095 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::find_optimal_place (line 812) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:816:15 [INFO] [stdout] | [INFO] [stdout] 816 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 812 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 816 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 816 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:821:16 [INFO] [stdout] | [INFO] [stdout] 821 | first_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 812 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 821 - first_chs: mbrman::CHS::empty(), [INFO] [stdout] 821 + first_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:823:15 [INFO] [stdout] | [INFO] [stdout] 823 | last_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 812 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 823 - last_chs: mbrman::CHS::empty(), [INFO] [stdout] 823 + last_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:820:11 [INFO] [stdout] | [INFO] [stdout] 820 | boot: mbrman::BOOT_INACTIVE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:819:10 [INFO] [stdout] | [INFO] [stdout] 819 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBRPartitionEntry::empty (line 1196) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:1200:15 [INFO] [stdout] | [INFO] [stdout] 1200 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1196 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1200 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 1200 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:1203:10 [INFO] [stdout] | [INFO] [stdout] 1203 | mbr[1] = mbrman::MBRPartitionEntry::empty(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1196 + use mbrman___bitvec_1_0::MBRPartitionEntry; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBRPartitionEntry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1203 - mbr[1] = mbrman::MBRPartitionEntry::empty(); [INFO] [stdout] 1203 + mbr[1] = MBRPartitionEntry::empty(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_readme (line 2104) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2109:15 [INFO] [stdout] | [INFO] [stdout] 2109 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2104 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2109 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 2109 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2114:16 [INFO] [stdout] | [INFO] [stdout] 2114 | first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2104 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2114 - first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] 2114 + first_chs: CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2116:15 [INFO] [stdout] | [INFO] [stdout] 2116 | last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2104 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2116 - last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] 2116 + last_chs: CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2113:11 [INFO] [stdout] | [INFO] [stdout] 2113 | boot: mbrman::BOOT_INACTIVE, // boot flag [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2112:10 [INFO] [stdout] | [INFO] [stdout] 2112 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MBR::read_from (line 400) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:403:11 [INFO] [stdout] | [INFO] [stdout] 403 | let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 403 - let mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] 403 + let mbr = MBR::read_from(&mut f, 512) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - test_readme (line 2061) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2064:15 [INFO] [stdout] | [INFO] [stdout] 2064 | let mut mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2061 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2064 - let mut mbr = mbrman::MBR::read_from(&mut f, 512) [INFO] [stdout] 2064 + let mut mbr = MBR::read_from(&mut f, 512) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2076:16 [INFO] [stdout] | [INFO] [stdout] 2076 | first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2061 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2076 - first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] 2076 + first_chs: CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2078:15 [INFO] [stdout] | [INFO] [stdout] 2078 | last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2061 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2078 - last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] 2078 + last_chs: CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2083:30 [INFO] [stdout] | [INFO] [stdout] 2083 | mbr[free_partition_number] = mbrman::MBRPartitionEntry::empty(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2061 + use mbrman___bitvec_1_0::MBRPartitionEntry; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBRPartitionEntry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2083 - mbr[free_partition_number] = mbrman::MBRPartitionEntry::empty(); [INFO] [stdout] 2083 + mbr[free_partition_number] = MBRPartitionEntry::empty(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:2067:46 [INFO] [stdout] | [INFO] [stdout] 2067 | let free_partition_number = mbr.iter().find(|(i, p)| p.is_unused()).map(|(i, _)| i) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 2067 | let free_partition_number = mbr.iter().find(|(i, p): (_, _)| p.is_unused()).map(|(i, _)| i) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2075:11 [INFO] [stdout] | [INFO] [stdout] 2075 | boot: mbrman::BOOT_INACTIVE, // boot flag [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:2074:30 [INFO] [stdout] | [INFO] [stdout] 2074 | mbr[free_partition_number] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 110) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use mbrman___bitvec_1_0::MBR; [INFO] [stdout] | [INFO] [stdout] help: if you import `MBR`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - let mut mbr = mbrman::MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] 115 + let mut mbr = MBR::new_from(&mut cur, ss as u32, [0xff; 4]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - first_chs: mbrman::CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] 120 + first_chs: CHS::empty(), // first CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 122 - last_chs: mbrman::CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] 122 + last_chs: CHS::empty(), // last CHS address (only useful for old computers) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | first_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - first_chs: mbrman::CHS::empty(), [INFO] [stdout] 133 + first_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | last_chs: mbrman::CHS::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 135 - last_chs: mbrman::CHS::empty(), [INFO] [stdout] 135 + last_chs: CHS::empty(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | ebr_first_chs: mbrman::CHS::empty(), // only for old computers [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use mbrman___bitvec_1_0::CHS; [INFO] [stdout] | [INFO] [stdout] help: if you import `CHS`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - ebr_first_chs: mbrman::CHS::empty(), // only for old computers [INFO] [stdout] 146 + ebr_first_chs: CHS::empty(), // only for old computers [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | boot: mbrman::BOOT_INACTIVE, // boot flag [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | boot: mbrman::BOOT_INACTIVE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | mbr[1] = mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | partition: mbrman::MBRPartitionEntry { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | mbrman::LogicalPartition { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mbrman` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mbrman`, use `cargo add mbrman` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 110) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/lib.rs - MBR (line 241) [INFO] [stdout] src/lib.rs - MBR::find_first_place (line 741) [INFO] [stdout] src/lib.rs - MBR::find_free_sectors (line 667) [INFO] [stdout] src/lib.rs - MBR::find_last_place (line 776) [INFO] [stdout] src/lib.rs - MBR::find_optimal_place (line 812) [INFO] [stdout] src/lib.rs - MBR::get_maximum_partition_size (line 851) [INFO] [stdout] src/lib.rs - MBR::new_from (line 370) [INFO] [stdout] src/lib.rs - MBR::read_from (line 400) [INFO] [stdout] src/lib.rs - MBR::write_into (line 530) [INFO] [stdout] src/lib.rs - MBRPartitionEntry::empty (line 1196) [INFO] [stdout] src/lib.rs - test_readme (line 2039) [INFO] [stdout] src/lib.rs - test_readme (line 2061) [INFO] [stdout] src/lib.rs - test_readme (line 2090) [INFO] [stdout] src/lib.rs - test_readme (line 2104) [INFO] [stdout] src/lib.rs - test_readme (line 2134) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9ca123092057fc75504f45a5f2a0081960a22b29865268ff19e4a8ce941603c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca123092057fc75504f45a5f2a0081960a22b29865268ff19e4a8ce941603c2", kill_on_drop: false }` [INFO] [stdout] 9ca123092057fc75504f45a5f2a0081960a22b29865268ff19e4a8ce941603c2