Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on latest (2aeb5930f 2017-08-25) nightly #5

Closed
vessd opened this issue Aug 26, 2017 · 1 comment
Closed

Can't build on latest (2aeb5930f 2017-08-25) nightly #5

vessd opened this issue Aug 26, 2017 · 1 comment
Assignees

Comments

@vessd
Copy link

vessd commented Aug 26, 2017

$ 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 zitsen self-assigned this Aug 28, 2017
@zitsen zitsen closed this as completed in 1ce8155 Aug 28, 2017
@zitsen
Copy link
Owner

zitsen commented Aug 28, 2017

Published v1.3.1.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants