[INFO] fetching crate qstorage 0.1.0...
[INFO] testing qstorage-0.1.0 against 1.54.0 for beta-1.55-1
[INFO] extracting crate qstorage 0.1.0 into /workspace/builds/worker-24/source
[INFO] validating manifest of crates.io crate qstorage 0.1.0 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate qstorage 0.1.0
[INFO] finished tweaking crates.io crate qstorage 0.1.0
[INFO] tweaked toml for crates.io crate qstorage 0.1.0 written to /workspace/builds/worker-24/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 498572b172ac8cb69e6acb110263f92a8be6b4b4a1be2b7bedb02a44f12125b6
[INFO] running `Command { std: "docker" "start" "-a" "498572b172ac8cb69e6acb110263f92a8be6b4b4a1be2b7bedb02a44f12125b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "498572b172ac8cb69e6acb110263f92a8be6b4b4a1be2b7bedb02a44f12125b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "498572b172ac8cb69e6acb110263f92a8be6b4b4a1be2b7bedb02a44f12125b6", kill_on_drop: false }`
[INFO] [stdout] 498572b172ac8cb69e6acb110263f92a8be6b4b4a1be2b7bedb02a44f12125b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c33fc4fb13974bfd7b75d6b4fc3adf7c6aae1d2c98286200fd49ad7a51e870d
[INFO] running `Command { std: "docker" "start" "-a" "9c33fc4fb13974bfd7b75d6b4fc3adf7c6aae1d2c98286200fd49ad7a51e870d", kill_on_drop: false }`
[INFO] [stderr]    Compiling qstorage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/engine.rs:189:50
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let end = skip + self.block_size;;
[INFO] [stdout]     |                                                  ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "9c33fc4fb13974bfd7b75d6b4fc3adf7c6aae1d2c98286200fd49ad7a51e870d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c33fc4fb13974bfd7b75d6b4fc3adf7c6aae1d2c98286200fd49ad7a51e870d", kill_on_drop: false }`
[INFO] [stdout] 9c33fc4fb13974bfd7b75d6b4fc3adf7c6aae1d2c98286200fd49ad7a51e870d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09dd0a0b53e6a702ea35138d0f920d1bf210a9a1b8dd9cc6f8f481d7324eb502
[INFO] running `Command { std: "docker" "start" "-a" "09dd0a0b53e6a702ea35138d0f920d1bf210a9a1b8dd9cc6f8f481d7324eb502", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/engine.rs:189:50
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let end = skip + self.block_size;;
[INFO] [stdout]     |                                                  ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling qstorage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/engine.rs:189:50
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let end = skip + self.block_size;;
[INFO] [stdout]     |                                                  ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.73s
[INFO] running `Command { std: "docker" "inspect" "09dd0a0b53e6a702ea35138d0f920d1bf210a9a1b8dd9cc6f8f481d7324eb502", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09dd0a0b53e6a702ea35138d0f920d1bf210a9a1b8dd9cc6f8f481d7324eb502", kill_on_drop: false }`
[INFO] [stdout] 09dd0a0b53e6a702ea35138d0f920d1bf210a9a1b8dd9cc6f8f481d7324eb502
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b915011ac237f7c08bad29bdcb3c02e01d94d905ec3557bc4742f55399043111
[INFO] running `Command { std: "docker" "start" "-a" "b915011ac237f7c08bad29bdcb3c02e01d94d905ec3557bc4742f55399043111", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stdout] running 0 tests
[INFO] [stderr]    --> src/engine.rs:189:50
[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] 189 |                 let end = skip + self.block_size;;
[INFO] [stdout] 
[INFO] [stderr]     |                                                  ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/engine.rs:189:50
[INFO] [stderr]     |
[INFO] [stderr] 189 |                 let end = skip + self.block_size;;
[INFO] [stderr]     |                                                  ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/qstorage-58b3fbc1ac8baaa2)
[INFO] [stderr]    Doc-tests qstorage
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> /opt/rustwide/workdir/src/engine.rs:189:50
[INFO] [stderr]     |
[INFO] [stderr] 189 |                 let end = skip + self.block_size;;
[INFO] [stderr]     |                                                  ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stdout] running 20 tests
[INFO] [stderr] 
[INFO] [stdout] test src/engine.rs - engine::Engine::new (line 40) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::new (line 99) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::closed (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::get (line 165) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::new (line 93) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::from (line 117) ... FAILED
[INFO] [stdout] test src/util.rs - util::join (line 145) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::ready (line 115) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::get (line 172) ... FAILED
[INFO] [stdout] test src/util.rs - util::parse (line 173) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::insert (line 152) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Chunk::new (line 60) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::create (line 145) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::write (line 172) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::remove (line 179) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::remove (line 207) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::insert (line 59) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Chunk::from (line 76) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::read (line 215) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 26) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/engine.rs - engine::Engine::new (line 40) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/engine.rs:42:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout]   | ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/storage.rs - storage::Storage::new (line 99) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Storage`
[INFO] [stdout]  --> src/storage.rs:102:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | Storage::new(chunk_size, path_name);
[INFO] [stdout]   | ^^^^^^^ use of undeclared type `Storage`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 - QStorage::closed (line 137) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QStorage`
[INFO] [stdout]  --> src/lib.rs:139:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use qstorage::QStorage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:139:45
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_137_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_137_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:139:54
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_137_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_137_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:139:64
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_137_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_137_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - QStorage::get (line 165) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QStorage`
[INFO] [stdout]  --> src/lib.rs:167:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   |                    ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use qstorage::QStorage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:167:64
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_165_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | qstorage.get(String::from("hello"))?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_165_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:167:73
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_165_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | qstorage.get(String::from("hello"))?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_165_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:168:67
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_165_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout]   | |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | qstorage.get(String::from("hello"))?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_165_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:169:36
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_165_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | qstorage.get(String::from("hello"))?;
[INFO] [stdout]   | |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_165_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - QStorage::new (line 93) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QStorage`
[INFO] [stdout]  --> src/lib.rs:95:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use qstorage::QStorage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:95:45
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_93_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?;
[INFO] [stdout]   | |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_93_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/storage.rs - storage::Storage::from (line 117) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Storage`
[INFO] [stdout]  --> src/storage.rs:120:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout]   |                   ^^^^^^^ use of undeclared type `Storage`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chunk`
[INFO] [stdout]  --> src/storage.rs:123:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Chunk::new(String::from("chunk.0.qs"), 0)
[INFO] [stdout]   |     ^^^^^ use of undeclared type `Chunk`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/storage.rs:126:21
[INFO] [stdout]    |
[INFO] [stdout] 2  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_storage_rs_117_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 3  | | let chunk_size: u64 = 10737418240;
[INFO] [stdout] 4  | | let path_name = String::from("./storage");
[INFO] [stdout] 5  | | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | storage.from(chunks)?;
[INFO] [stdout]    | |                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | } _doctest_main_src_storage_rs_117_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util.rs - util::join (line 145) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `join` in this scope
[INFO] [stdout]  --> src/util.rs:146:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | join(vec![0_u64, 1_u64, 2_u64]);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - QStorage::ready (line 115) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QStorage`
[INFO] [stdout]  --> src/lib.rs:117:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use qstorage::QStorage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:117:45
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_115_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_115_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:117:54
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_115_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_115_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine.rs - engine::Engine::get (line 172) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/engine.rs:174:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]  --> src/engine.rs:175:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | engine.insert(String::from("hello"), "word".as_slice().to_vec())?;
[INFO] [stdout]   |                                             ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/engine.rs:175:65
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_rs_172_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout] 5 | | engine.insert(String::from("hello"), "word".as_slice().to_vec())?;
[INFO] [stdout]   | |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | engine.get(String::from("hello"))?;
[INFO] [stdout] 7 | | } _doctest_main_src_engine_rs_172_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/engine.rs:176:34
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_rs_172_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout] 5 | | engine.insert(String::from("hello"), "word".as_slice().to_vec())?;
[INFO] [stdout] 6 | | engine.get(String::from("hello"))?;
[INFO] [stdout]   | |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_engine_rs_172_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util.rs - util::parse (line 173) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `join` in this scope
[INFO] [stdout]  --> src/util.rs:174:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | join("1+2+3".solit("+").collect());
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `solit` found for reference `&'static str` in the current scope
[INFO] [stdout]  --> src/util.rs:174:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | join("1+2+3".solit("+").collect());
[INFO] [stdout]   |              ^^^^^ help: there is an associated function with a similar name: `split`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - QStorage::insert (line 152) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QStorage`
[INFO] [stdout]  --> src/lib.rs:154:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   |                    ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use qstorage::QStorage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:154:64
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_152_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | } _doctest_main_src_lib_rs_152_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:154:73
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_152_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | } _doctest_main_src_lib_rs_152_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:155:67
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_152_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout]   | |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_lib_rs_152_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/storage.rs - storage::Chunk::new (line 60) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chunk`
[INFO] [stdout]  --> src/storage.rs:62:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | Chunk::new(filename, 0);
[INFO] [stdout]   | ^^^^^ use of undeclared type `Chunk`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/storage.rs - storage::Storage::create (line 145) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Storage`
[INFO] [stdout]  --> src/storage.rs:148:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout]   |                   ^^^^^^^ use of undeclared type `Storage`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chunk`
[INFO] [stdout]  --> src/storage.rs:151:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Chunk::new(String::from("chunk.0.qs"), 0)
[INFO] [stdout]   |     ^^^^^ use of undeclared type `Chunk`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/storage.rs:154:21
[INFO] [stdout]    |
[INFO] [stdout] 2  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_storage_rs_145_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 3  | | let chunk_size: u64 = 10737418240;
[INFO] [stdout] 4  | | let path_name = String::from("./storage");
[INFO] [stdout] 5  | | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | storage.from(chunks)?;
[INFO] [stdout]    | |                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | storage.create()?;
[INFO] [stdout] 13 | | } _doctest_main_src_storage_rs_145_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/storage.rs:155:17
[INFO] [stdout]    |
[INFO] [stdout] 2  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_storage_rs_145_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 3  | | let chunk_size: u64 = 10737418240;
[INFO] [stdout] 4  | | let path_name = String::from("./storage");
[INFO] [stdout] 5  | | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | storage.create()?;
[INFO] [stdout]    | |                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 13 | | } _doctest_main_src_storage_rs_145_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/storage.rs - storage::Storage::write (line 172) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Storage`
[INFO] [stdout]  --> src/storage.rs:175:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout]   |                   ^^^^^^^ use of undeclared type `Storage`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/storage.rs:176:32
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_storage_rs_172_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let chunk_size: u64 = 10737418240;
[INFO] [stdout] 4 | | let path_name = String::from("./storage");
[INFO] [stdout] 5 | | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout] 6 | | storage.write(vec![0, 1, 2], 0)?;
[INFO] [stdout]   | |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_storage_rs_172_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - QStorage::remove (line 179) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QStorage`
[INFO] [stdout]  --> src/lib.rs:181:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   |                    ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use qstorage::QStorage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:181:64
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_179_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | qstorage.remove(String::from("hello"))?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_179_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:181:73
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_179_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | |                                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | qstorage.remove(String::from("hello"))?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_179_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:182:67
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_179_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout]   | |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | qstorage.remove(String::from("hello"))?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_179_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:183:39
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_179_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | let dirname = String::from("./storage");
[INFO] [stdout] 5 | | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout] 6 | | qstorage.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout] 7 | | qstorage.remove(String::from("hello"))?;
[INFO] [stdout]   | |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_179_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine.rs - engine::Engine::remove (line 207) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/engine.rs:209:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]  --> src/engine.rs:210:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | engine.insert(String::from("hello"), "word".as_slice().to_vec())?;
[INFO] [stdout]   |                                             ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/engine.rs:210:65
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_rs_207_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout] 5 | | engine.insert(String::from("hello"), "word".as_slice().to_vec())?;
[INFO] [stdout]   | |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | engine.remove(String::from("hello"))?;
[INFO] [stdout] 7 | | } _doctest_main_src_engine_rs_207_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/engine.rs:211:37
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_rs_207_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout] 5 | | engine.insert(String::from("hello"), "word".as_slice().to_vec())?;
[INFO] [stdout] 6 | | engine.remove(String::from("hello"))?;
[INFO] [stdout]   | |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_engine_rs_207_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine.rs - engine::Engine::insert (line 59) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/engine.rs:61:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/engine.rs:62:65
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_rs_59_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | let mut engine = Engine::new(dirname, 10737418240, 1048576);
[INFO] [stdout] 5 | | engine.insert(String::from("hello"), "word".as_bytes().to_vec())?;
[INFO] [stdout]   | |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | } _doctest_main_src_engine_rs_59_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/storage.rs - storage::Chunk::from (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chunk`
[INFO] [stdout]  --> src/storage.rs:81:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | Chunk::from(filename, *metadata.len(), context);
[INFO] [stdout]   | ^^^^^ use of undeclared type `Chunk`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/storage.rs:78:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let path = Path::new(&filename);
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/storage.rs:79:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut context = File::open(path);
[INFO] [stdout]   |                   ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/storage.rs:80:35
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_storage_rs_76_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let filename = String::from("chunk.0.qs");
[INFO] [stdout] 4 | | let path = Path::new(&filename);
[INFO] [stdout] 5 | | let mut context = File::open(path);
[INFO] [stdout] 6 | | let metadata = &context.metadata()?;
[INFO] [stdout]   | |                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | Chunk::from(filename, *metadata.len(), context);
[INFO] [stdout] 8 | | } _doctest_main_src_storage_rs_76_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/storage.rs - storage::Storage::read (line 215) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Storage`
[INFO] [stdout]  --> src/storage.rs:218:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout]   |                   ^^^^^^^ use of undeclared type `Storage`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/storage.rs:219:21
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_storage_rs_215_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let chunk_size: u64 = 10737418240;
[INFO] [stdout] 4 | | let path_name = String::from("./storage");
[INFO] [stdout] 5 | | let mut storage = Storage::new(chunk_size, path_name);
[INFO] [stdout] 6 | | storage.read(0, 100)?;
[INFO] [stdout]   | |                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_storage_rs_215_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 26) stdout ----
[INFO] [stdout] Test executable failed (exit code 1).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/engine.rs - engine::Engine::get (line 172)
[INFO] [stdout]     src/engine.rs - engine::Engine::insert (line 59)
[INFO] [stdout]     src/engine.rs - engine::Engine::new (line 40)
[INFO] [stdout]     src/engine.rs - engine::Engine::remove (line 207)
[INFO] [stdout]     src/lib.rs - (line 26)
[INFO] [stdout]     src/lib.rs - QStorage::closed (line 137)
[INFO] [stdout]     src/lib.rs - QStorage::get (line 165)
[INFO] [stdout]     src/lib.rs - QStorage::insert (line 152)
[INFO] [stdout]     src/lib.rs - QStorage::new (line 93)
[INFO] [stdout]     src/lib.rs - QStorage::ready (line 115)
[INFO] [stdout]     src/lib.rs - QStorage::remove (line 179)
[INFO] [stdout]     src/storage.rs - storage::Chunk::from (line 76)
[INFO] [stdout]     src/storage.rs - storage::Chunk::new (line 60)
[INFO] [stdout]     src/storage.rs - storage::Storage::create (line 145)
[INFO] [stdout]     src/storage.rs - storage::Storage::from (line 117)
[INFO] [stdout]     src/storage.rs - storage::Storage::new (line 99)
[INFO] [stdout]     src/storage.rs - storage::Storage::read (line 215)
[INFO] [stdout]     src/storage.rs - storage::Storage::write (line 172)
[INFO] [stdout]     src/util.rs - util::join (line 145)
[INFO] [stdout]     src/util.rs - util::parse (line 173)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "b915011ac237f7c08bad29bdcb3c02e01d94d905ec3557bc4742f55399043111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b915011ac237f7c08bad29bdcb3c02e01d94d905ec3557bc4742f55399043111", kill_on_drop: false }`
[INFO] [stdout] b915011ac237f7c08bad29bdcb3c02e01d94d905ec3557bc4742f55399043111
