[INFO] fetching crate qstorage 0.1.0...
[INFO] testing qstorage-0.1.0 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate qstorage 0.1.0 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate qstorage 0.1.0 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c387c9dc8767bebb05095367c9e88545161e62a805f08a35a2efd83d6d87032c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c387c9dc8767bebb05095367c9e88545161e62a805f08a35a2efd83d6d87032c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c387c9dc8767bebb05095367c9e88545161e62a805f08a35a2efd83d6d87032c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c387c9dc8767bebb05095367c9e88545161e62a805f08a35a2efd83d6d87032c", kill_on_drop: false }`
[INFO] [stdout] c387c9dc8767bebb05095367c9e88545161e62a805f08a35a2efd83d6d87032c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b2ad39eecaa433977e1ef448e3e8d2632fbb58c2f77ba1c9c801dbecdd24337
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4b2ad39eecaa433977e1ef448e3e8d2632fbb58c2f77ba1c9c801dbecdd24337", 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] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.24s
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4b2ad39eecaa433977e1ef448e3e8d2632fbb58c2f77ba1c9c801dbecdd24337", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b2ad39eecaa433977e1ef448e3e8d2632fbb58c2f77ba1c9c801dbecdd24337", kill_on_drop: false }`
[INFO] [stdout] 4b2ad39eecaa433977e1ef448e3e8d2632fbb58c2f77ba1c9c801dbecdd24337
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b9ad539709a9ad2f2b5c31cd7c87ed7595ed4203af11996317beb1e71bf8804
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8b9ad539709a9ad2f2b5c31cd7c87ed7595ed4203af11996317beb1e71bf8804", 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] [stderr]    Compiling qstorage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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.82s
[INFO] running `Command { std: "docker" "inspect" "8b9ad539709a9ad2f2b5c31cd7c87ed7595ed4203af11996317beb1e71bf8804", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b9ad539709a9ad2f2b5c31cd7c87ed7595ed4203af11996317beb1e71bf8804", kill_on_drop: false }`
[INFO] [stdout] 8b9ad539709a9ad2f2b5c31cd7c87ed7595ed4203af11996317beb1e71bf8804
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6e86189bcd946b024e5f9aaa96d14a363f4674ab6f28926a210587301f27627f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6e86189bcd946b024e5f9aaa96d14a363f4674ab6f28926a210587301f27627f", kill_on_drop: false }`
[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] 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.01s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/qstorage-965d3aba36922a58
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[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/storage.rs - storage::Storage::new (line 99) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Chunk::new (line 60) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::new (line 40) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::get (line 172) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::ready (line 115) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::insert (line 59) ... FAILED
[INFO] [stdout] test src/engine.rs - engine::Engine::remove (line 207) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::insert (line 152) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::create (line 145) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Chunk::from (line 76) ... 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/lib.rs - QStorage::closed (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::remove (line 179) ... FAILED
[INFO] [stdout] test src/lib.rs - QStorage::get (line 165) ... FAILED
[INFO] [stdout] test src/util.rs - util::join (line 145) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::read (line 215) ... FAILED
[INFO] [stdout] test src/util.rs - util::parse (line 173) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::Storage::write (line 172) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 26) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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/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/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 `Try`)
[INFO] [stdout]  --> src/engine.rs:175:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | engine.get(String::from("hello"))?;
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/engine.rs:176:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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/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 `Try`)
[INFO] [stdout]  --> src/lib.rs:117:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:117:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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::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 `Try`)
[INFO] [stdout]  --> src/engine.rs:62:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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/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 `Try`)
[INFO] [stdout]  --> src/engine.rs:210:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | engine.remove(String::from("hello"))?;
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/engine.rs:211:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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/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 `Try`)
[INFO] [stdout]  --> src/lib.rs:154:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:154:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:155:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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::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 `Try`)
[INFO] [stdout]   --> src/storage.rs:154:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | / fn main() {
[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 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]   --> src/storage.rs:155:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | / fn main() {
[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]    | | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[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::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 `Try`)
[INFO] [stdout]  --> src/storage.rs:80:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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::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 `Try`)
[INFO] [stdout]  --> src/lib.rs:95:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]   --> src/storage.rs:126:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | / fn main() {
[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]    | | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[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/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 `Try`)
[INFO] [stdout]  --> src/lib.rs:139:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:139:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:139:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let dirname = String::from("./storage");
[INFO] [stdout] 4 | | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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::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 `Try`)
[INFO] [stdout]  --> src/lib.rs:181:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:181:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:182:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | qstorage.remove(String::from("hello"))?;
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:183:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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::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 `Try`)
[INFO] [stdout]  --> src/lib.rs:167:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:167:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:168:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | qstorage.get(String::from("hello"))?;
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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 `Try`)
[INFO] [stdout]  --> src/lib.rs:169:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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/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/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 `Try`)
[INFO] [stdout]  --> src/storage.rs:219:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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/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/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 `Try`)
[INFO] [stdout]  --> src/storage.rs:176:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[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 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[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
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "6e86189bcd946b024e5f9aaa96d14a363f4674ab6f28926a210587301f27627f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e86189bcd946b024e5f9aaa96d14a363f4674ab6f28926a210587301f27627f", kill_on_drop: false }`
[INFO] [stdout] 6e86189bcd946b024e5f9aaa96d14a363f4674ab6f28926a210587301f27627f
