PistonDevelopers / hematite

A simple Minecraft written in Rust with the Piston game engine
http://hematite.piston.rs/
MIT License
1.87k stars 105 forks source link

Unable to load world on mac #280

Closed jonathan-quarles closed 7 years ago

jonathan-quarles commented 7 years ago

I have copied my Minecraft world in the hematite folder, then I run this command Stevens-iMac:rust_spin_wheel-master stevenquarles$ cargo run --release "./New World". Here is the error message I get:

error[E0277]: the trait bound `Self: std::marker::Sized` is not satisfied
  --> /Users/stevenquarles/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-0.3.1/src/par_iter/internal.rs:25:5
   |
25 |     fn split_at(self, index: usize) -> (Self, Self);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Self` does not have a constant size known at compile-time
   |
   = help: the trait `std::marker::Sized` is not implemented for `Self`
   = help: consider adding a `where Self: std::marker::Sized` bound
   = note: tuple elements must have `Sized` type

error[E0277]: the trait bound `Self: std::marker::Sized` is not satisfied
  --> /Users/stevenquarles/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-0.3.1/src/par_iter/internal.rs:42:5
   |
42 |     fn split_at(self, index: usize) -> (Self, Self, Self::Reducer);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Self` does not have a constant size known at compile-time
   |
   = help: the trait `std::marker::Sized` is not implemented for `Self`
   = help: consider adding a `where Self: std::marker::Sized` bound
   = note: tuple elements must have `Sized` type

error: aborting due to previous error(s)

error: Could not compile `rayon`.
Build failed, waiting for other jobs to finish...
error: build failed