[INFO] crate qstorage 0.1.0 is already in cache [INFO] extracting crate qstorage 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/qstorage/0.1.0 [INFO] extracting crate qstorage 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/qstorage/0.1.0 [INFO] validating manifest of qstorage-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of qstorage-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing qstorage-0.1.0 [INFO] finished frobbing qstorage-0.1.0 [INFO] frobbed toml for qstorage-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/qstorage/0.1.0/Cargo.toml [INFO] started frobbing qstorage-0.1.0 [INFO] finished frobbing qstorage-0.1.0 [INFO] frobbed toml for qstorage-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/qstorage/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing qstorage-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/qstorage/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] fc16063590ca37e5135c787c7dd0e699cb1010d3f3c8fb39c5d76b6b89c2e61b [INFO] running `"docker" "start" "-a" "fc16063590ca37e5135c787c7dd0e699cb1010d3f3c8fb39c5d76b6b89c2e61b"` [INFO] [stderr] Compiling qstorage v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `"docker" "inspect" "fc16063590ca37e5135c787c7dd0e699cb1010d3f3c8fb39c5d76b6b89c2e61b"` [INFO] running `"docker" "rm" "-f" "fc16063590ca37e5135c787c7dd0e699cb1010d3f3c8fb39c5d76b6b89c2e61b"` [INFO] [stdout] fc16063590ca37e5135c787c7dd0e699cb1010d3f3c8fb39c5d76b6b89c2e61b [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/qstorage/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 13d7a098bcd291f6da247cbe0ed4cbb2db86abd6065b44e6d73bc40d75847efe [INFO] running `"docker" "start" "-a" "13d7a098bcd291f6da247cbe0ed4cbb2db86abd6065b44e6d73bc40d75847efe"` [INFO] [stderr] Compiling qstorage v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `"docker" "inspect" "13d7a098bcd291f6da247cbe0ed4cbb2db86abd6065b44e6d73bc40d75847efe"` [INFO] running `"docker" "rm" "-f" "13d7a098bcd291f6da247cbe0ed4cbb2db86abd6065b44e6d73bc40d75847efe"` [INFO] [stdout] 13d7a098bcd291f6da247cbe0ed4cbb2db86abd6065b44e6d73bc40d75847efe [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/qstorage/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 809e05a73fe2b81c15c25936e988db4ff8112cf1af15142227f83e8e36c92ff8 [INFO] running `"docker" "start" "-a" "809e05a73fe2b81c15c25936e988db4ff8112cf1af15142227f83e8e36c92ff8"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/qstorage-64777e19c4ff96b8 [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] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/engine.rs - engine::Engine::new (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - QStorage::closed (line 137) ... FAILED [INFO] [stdout] test src/engine.rs - engine::Engine::insert (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - QStorage::get (line 165) ... FAILED [INFO] [stdout] test src/lib.rs - QStorage::insert (line 152) ... FAILED [INFO] [stdout] test src/engine.rs - engine::Engine::remove (line 207) ... FAILED [INFO] [stdout] test src/engine.rs - engine::Engine::get (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - QStorage::new (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - QStorage::ready (line 115) ... FAILED [INFO] [stdout] test src/lib.rs - QStorage::remove (line 179) ... 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::new (line 99) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::from (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... 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/storage.rs - storage::Storage::write (line 172) ... FAILED [INFO] [stdout] test src/util.rs - util::join (line 145) ... FAILED [INFO] [stdout] test src/util.rs - util::parse (line 173) ... 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 or module `Engine` [INFO] [stdout] --> src/engine.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 4 | Engine::new(dirname, 10737418240, 1048576); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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/lib.rs - QStorage::closed (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `QStorage` [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `QStorage` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?.closed()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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/engine.rs - engine::Engine::insert (line 59) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::Try`) [INFO] [stdout] --> src/engine.rs:62:1 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 - QStorage::get (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `QStorage` [INFO] [stdout] --> src/lib.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 5 | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `QStorage` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:167:20 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:167:20 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:168:1 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 7 | qstorage.get(String::from("hello"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::insert (line 152) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `QStorage` [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 5 | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `QStorage` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:155:1 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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/engine.rs - engine::Engine::remove (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `&'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] | ^^^^^^^^ [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 `std::ops::Try`) [INFO] [stdout] --> src/engine.rs:210:1 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/engine.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.remove(String::from("hello"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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/engine.rs - engine::Engine::get (line 172) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `&'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] | ^^^^^^^^ [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 `std::ops::Try`) [INFO] [stdout] --> src/engine.rs:175:1 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/engine.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.get(String::from("hello"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::new (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `QStorage` [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `QStorage` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 - QStorage::ready (line 115) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `QStorage` [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `QStorage` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 4 | QStorage::new(dirname, 10737418240, 1048576)?.ready()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::remove (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `QStorage` [INFO] [stdout] --> src/lib.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 5 | let mut qstorage = QStorage::new(dirname, 10737418240, 1048576)?.ready()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `QStorage` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:181:20 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:181:20 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:182:1 [INFO] [stdout] | [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] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 7 | qstorage.remove(String::from("hello"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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/storage.rs - storage::Chunk::new (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chunk` [INFO] [stdout] --> src/storage.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 4 | Chunk::new(filename, 0); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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 or module `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 or module `Storage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::Try`) [INFO] [stdout] --> src/storage.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 11 | storage.from(chunks)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 `std::ops::Try`) [INFO] [stdout] --> src/storage.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 12 | storage.create()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::new (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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::Storage::from (line 117) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Storage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::Try`) [INFO] [stdout] --> src/storage.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 11 | storage.from(chunks)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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 - (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] ---- src/storage.rs - storage::Chunk::from (line 76) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/storage.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 4 | let path = Path::new(&filename); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stdout] --> src/storage.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut context = File::open(path); [INFO] [stdout] | ^^^^ use of undeclared type or module `File` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::Try`) [INFO] [stdout] --> src/storage.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 6 | let metadata = &context.metadata()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::read (line 215) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::Try`) [INFO] [stdout] --> src/storage.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 6 | storage.read(0, 100)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::write (line 172) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::Try`) [INFO] [stdout] --> src/storage.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 6 | storage.write(vec![0, 1, 2], 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::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::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/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 type `&'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 a method 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] [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 `"docker" "inspect" "809e05a73fe2b81c15c25936e988db4ff8112cf1af15142227f83e8e36c92ff8"` [INFO] running `"docker" "rm" "-f" "809e05a73fe2b81c15c25936e988db4ff8112cf1af15142227f83e8e36c92ff8"` [INFO] [stdout] 809e05a73fe2b81c15c25936e988db4ff8112cf1af15142227f83e8e36c92ff8