Can't build on latest (2aeb5930f 2017-08-25) nightly
vessd opened this issue · 1 comments
vessd commented
$ rustup run nightly-x86_64-unknown-linux-gnu cargo build
Compiling unqlite v1.3.0 (file:///home/sergey/projects/unqlite.rs-1.3.0)
error[E0308]: mismatched types
--> src/lib.rs:149:49
|
149 | .map(|_| UnQLite { engine: unsafe { Shared::new(db) } })
| ^^^^^^^^^^^^^^^ expected struct `std::ptr::Shared`, found enum `std::option::Option`
|
= note: expected type `std::ptr::Shared<_>`
found type `std::option::Option<std::ptr::Shared<_>>`
error[E0308]: mismatched types
--> src/kv_cursor.rs:220:34
|
220 | cursor: unsafe { Unique::new(cursor) },
| ^^^^^^^^^^^^^^^^^^^ expected struct `std::ptr::Unique`, found enum `std::option::Option`
|
= note: expected type `std::ptr::Unique<_>`
found type `std::option::Option<std::ptr::Unique<_>>`
error[E0308]: mismatched types
--> src/document/doc_store.rs:99:30
|
99 | native: unsafe { Shared::new(vm) },
| ^^^^^^^^^^^^^^^ expected struct `std::ptr::Shared`, found enum `std::option::Option`
|
= note: expected type `std::ptr::Shared<_>`
found type `std::option::Option<std::ptr::Shared<_>>`
error: aborting due to 3 previous errors
error: Could not compile `unqlite`.
zitsen commented
Published v1.3.1.
Thank you!