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

Compilation on Windows fails #5

Closed
Swader opened this issue Apr 16, 2020 · 1 comment
Closed

Compilation on Windows fails #5

Swader opened this issue Apr 16, 2020 · 1 comment

Comments

@Swader
Copy link

Swader commented Apr 16, 2020

   Compiling parity-db v0.1.0
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> C:\Users\Swader\.cargo\registry\src\github.com-1ecc6299db9ec823\parity-db-0.1.0\src\table.rs:18:14
   |
18 | use std::os::unix::fs::FileExt;
   |              ^^^^ could not find `unix` in `os`

error[E0599]: no method named `read_exact_at` found for struct `std::fs::File` in the current scope
   --> C:\Users\Swader\.cargo\registry\src\github.com-1ecc6299db9ec823\parity-db-0.1.0\src\table.rs:124:8
    |
124 |         file.read_exact_at(&mut header, 0)?;
    |              ^^^^^^^^^^^^^ method not found in `std::fs::File`

error[E0599]: no method named `read_exact_at` found for struct `std::fs::File` in the current scope
   --> C:\Users\Swader\.cargo\registry\src\github.com-1ecc6299db9ec823\parity-db-0.1.0\src\table.rs:148:16
    |
148 |         Ok(self.file.read_exact_at(buf, offset)?)
    |                      ^^^^^^^^^^^^^ method not found in `std::fs::File`

error[E0599]: no method named `write_all_at` found for struct `std::fs::File` in the current scope
   --> C:\Users\Swader\.cargo\registry\src\github.com-1ecc6299db9ec823\parity-db-0.1.0\src\table.rs:152:16
    |
152 |         Ok(self.file.write_all_at(buf, offset)?)
    |                      ^^^^^^^^^^^^ method not found in `std::fs::File`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
error: could not compile `parity-db`.
warning: build failed, waiting for other jobs to finish...
error: build failed
@arkpar
Copy link
Member

arkpar commented Apr 16, 2020

Fixed in 0.1.1

@arkpar arkpar closed this as completed Apr 16, 2020
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