squirrel-labs / ratatosk

Rask is a platformer game built with WASM and Rust
https://rask.rocks
MIT License
15 stars 1 forks source link

Ratatosk #47 failed #17

Closed TrueDoctor closed 5 years ago

TrueDoctor commented 5 years ago

Build 'Ratatosk' is failing!

Last 50 lines of build output:

[...truncated 15.51 KB...]
warning: trait objects without an explicit `dyn` are deprecated
  --> src/lobby.rs:27:44
   |
27 |     pub fn add_group(&mut self, group: Box<Group>) {
   |                                            ^^^^^ help: use `dyn`: `dyn Group`

warning: trait objects without an explicit `dyn` are deprecated
  --> src/lobby.rs:65:65
   |
65 |     groups: std::collections::hash_map::Values<'a, GroupId, Box<Group>>,
   |                                                                 ^^^^^ help: use `dyn`: `dyn Group`

warning: trait objects without an explicit `dyn` are deprecated
  --> src/lobby.rs:69:25
   |
69 |     type Item = &'a Box<Group>;
   |                         ^^^^^ help: use `dyn`: `dyn Group`

warning: method is never used: `new`
  --> src/webhogg_group.rs:47:5
   |
47 |     pub fn new(id: GroupId, name: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: #[warn(dead_code)] on by default

    Finished dev [unoptimized + debuginfo] target(s) in 40.17s
     Running target/debug/deps/game_server-1549b2c933109589

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

+ cargo fmt -- --check
Diff in /home/runner/workspace/Ratatosk/game_server/src/backend_connection.rs at line 85:
                     group_name: "Scribble".to_string(),
                     user_id: self.max_uid - 1,
                 })
-            },
+            }
             reqwest::StatusCode::NOT_FOUND => Err(BackendError::InvalidToken),
             status if status.is_client_error() => Err(BackendError::InvalidTokenFormat),
-            _ => Err(BackendError::BadResponse(response))
+            _ => Err(BackendError::BadResponse(response)),
         }
     }
 }
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful

Changes since last successful build:

View full output

TrueDoctor commented 5 years ago

Build was fixed!