JellyBrick / MPP-Server

Unofficial server for the http://multiplayerpiano.com written in Rust
Apache License 2.0
2 stars 1 forks source link

Is this server finished? #1

Open ar065 opened 4 years ago

ar065 commented 4 years ago

Whenever trying to compile and run it, you get the following error:

error[E0277]: the trait bound `server::MppServer: actix::Actor` is not satisfied
  --> src/session/ws_session.rs:18:22
   |
18 |     pub(crate) addr: Addr<server::MppServer>,
   |                      ^^^^^^^^^^^^^^^^^^^^^^^ the trait `actix::Actor` is not implemented for `server::MppServer`
   | 
  ::: /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0/src/address/mod.rs:72:20
   |
72 | pub struct Addr<A: Actor> {
   |                    ----- required by this bound in `actix::Addr`

error[E0277]: the trait bound `server::MppServer: actix::Actor` is not satisfied
  --> src/main.rs:45:10
   |
45 |     srv: web::Data<Addr<server::MppServer>>,
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `actix::Actor` is not implemented for `server::MppServer`
   | 
  ::: /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0/src/address/mod.rs:72:20
   |
72 | pub struct Addr<A: Actor> {
   |                    ----- required by this bound in `actix::Addr`

error: aborting due to 2 previous errors; 4 warnings emitted

For more information about this error, try `rustc --explain E0277`.
error: could not compile `mpp-server`.

image

JellyBrick commented 4 years ago

It still developing

JellyBrick commented 3 years ago

https://github.com/JellyBrick/MPP-backend-D