[INFO] cloning repository https://github.com/miroslavkrysl/battleships-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miroslavkrysl/battleships-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiroslavkrysl%2Fbattleships-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiroslavkrysl%2Fbattleships-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46ee91198b59996a85411ffbe1a5ebd1d4672f3c [INFO] checking miroslavkrysl/battleships-server against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiroslavkrysl%2Fbattleships-server" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miroslavkrysl/battleships-server on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miroslavkrysl/battleships-server [INFO] finished tweaking git repo https://github.com/miroslavkrysl/battleships-server [INFO] tweaked toml for git repo https://github.com/miroslavkrysl/battleships-server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/miroslavkrysl/battleships-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2e1bf374b6148efeb5dd00c32b7e9893fd13e28d9fffeb6a69279ec4f6fec92 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e2e1bf374b6148efeb5dd00c32b7e9893fd13e28d9fffeb6a69279ec4f6fec92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2e1bf374b6148efeb5dd00c32b7e9893fd13e28d9fffeb6a69279ec4f6fec92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e1bf374b6148efeb5dd00c32b7e9893fd13e28d9fffeb6a69279ec4f6fec92", kill_on_drop: false }` [INFO] [stdout] e2e1bf374b6148efeb5dd00c32b7e9893fd13e28d9fffeb6a69279ec4f6fec92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3de25fc7d6303718bb9db383841da7c4a583601528a4eb86c8304dbd90e70e48 [INFO] running `Command { std: "docker" "start" "-a" "3de25fc7d6303718bb9db383841da7c4a583601528a4eb86c8304dbd90e70e48", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.20 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking bssrv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/game/player.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 15 | impl Player { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 20 | fn set_session(&self, session: Option>) -> { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 23 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `}` [INFO] [stdout] --> src/game/game.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(player) = self.players [INFO] [stdout] | -- this `if` expression has a condition, but no block [INFO] [stdout] 47 | } [INFO] [stdout] | ^ expected `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `net` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod net; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `net`, create file "src/net.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `` [INFO] [stdout] --> src/proto/message.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl BsMessage [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/game/player.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 15 | impl Player { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 20 | fn set_session(&self, session: Option>) -> { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 23 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `}` [INFO] [stdout] --> src/game/game.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(player) = self.players [INFO] [stdout] | -- this `if` expression has a condition, but no block [INFO] [stdout] 47 | } [INFO] [stdout] | ^ expected `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `net` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod net; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `net`, create file "src/net.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `` [INFO] [stdout] --> src/proto/message.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl BsMessage [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/game/game.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | fn spam_spam_spam(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::game::Ship` [INFO] [stdout] --> src/game/battlefield.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::Ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ship` in `game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::game::Fleet`, `crate::game::Battlefield` [INFO] [stdout] --> src/game/player.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{Fleet, Battlefield}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ no `Battlefield` in `game` [INFO] [stdout] | | [INFO] [stdout] | no `Fleet` in `game` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{fleet, Battlefield}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{Fleet, battlefield}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::net::error` [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use super::net::error::Error as NetworkError; [INFO] [stdout] | ^^^^^ could not find `error` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/game/game.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | fn spam_spam_spam(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::game::Ship` [INFO] [stdout] --> src/game/battlefield.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::Ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ship` in `game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::game::Fleet`, `crate::game::Battlefield` [INFO] [stdout] --> src/game/player.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{Fleet, Battlefield}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ no `Battlefield` in `game` [INFO] [stdout] | | [INFO] [stdout] | no `Fleet` in `game` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{fleet, Battlefield}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{Fleet, battlefield}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::net::error` [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use super::net::error::Error as NetworkError; [INFO] [stdout] | ^^^^^ could not find `error` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_sunk` in this scope [INFO] [stdout] --> src/game/fleet.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | is_sunk() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChoosingLayout` in this scope [INFO] [stdout] --> src/game/game.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | impl ChoosingLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ChoosingLayout` in this scope [INFO] [stdout] --> src/game/game.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ChoosingLayout{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActualResponseState` in this scope [INFO] [stdout] --> src/game/game.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | state: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | trait ResponseState {} [INFO] [stdout] | ------------------- similarly named trait `ResponseState` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 | state: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_map::Entry` [INFO] [stdout] --> src/game/fleet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::btree_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/game/game.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, RwLock, Mutex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_sunk` in this scope [INFO] [stdout] --> src/game/fleet.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | is_sunk() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChoosingLayout` in this scope [INFO] [stdout] --> src/game/game.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | impl ChoosingLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ChoosingLayout` in this scope [INFO] [stdout] --> src/game/game.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ChoosingLayout{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActualResponseState` in this scope [INFO] [stdout] --> src/game/game.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | state: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | trait ResponseState {} [INFO] [stdout] | ------------------- similarly named trait `ResponseState` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 | state: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_map::Entry` [INFO] [stdout] --> src/game/fleet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::btree_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/game/game.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, RwLock, Mutex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Session` cannot be made into an object [INFO] [stdout] --> src/game/player.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 5 | trait Session{ [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] 6 | fn active() -> bool; [INFO] [stdout] | ------ ...because associated function `active` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 10 | session: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Session` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] help: consider turning `active` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn active() -> bool where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Session` cannot be made into an object [INFO] [stdout] --> src/game/player.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 5 | trait Session{ [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] 6 | fn active() -> bool; [INFO] [stdout] | ------ ...because associated function `active` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 10 | session: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Session` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] help: consider turning `active` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn active() -> bool where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 127 | impl HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `S` [INFO] [stdout] | [INFO] [stdout] 127 | impl HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 138 | impl HttpResponse [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 139 | where S: SendingState + ResponseState [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Session` cannot be made into an object [INFO] [stdout] --> src/game/player.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 5 | trait Session{ [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] 6 | fn active() -> bool; [INFO] [stdout] | ------ ...because associated function `active` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 16 | fn session(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Session` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] help: consider turning `active` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn active() -> bool where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 128 | fn bytes_so_far(&self) -> usize { /* ... */ } [INFO] [stdout] | ^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `S` [INFO] [stdout] | [INFO] [stdout] 127 | impl HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 141 | fn spam_spam_spam(&mut self); [INFO] [stdout] | ^^^^^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 139 | where S: SendingState + ResponseState [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0412, E0422, E0425, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bssrv` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 127 | impl HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `S` [INFO] [stdout] | [INFO] [stdout] 127 | impl HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 138 | impl HttpResponse [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 139 | where S: SendingState + ResponseState [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Session` cannot be made into an object [INFO] [stdout] --> src/game/player.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 5 | trait Session{ [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] 6 | fn active() -> bool; [INFO] [stdout] | ------ ...because associated function `active` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 16 | fn session(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Session` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] help: consider turning `active` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn active() -> bool where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 128 | fn bytes_so_far(&self) -> usize { /* ... */ } [INFO] [stdout] | ^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `S` [INFO] [stdout] | [INFO] [stdout] 127 | impl HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: ResponseState` is not satisfied [INFO] [stdout] --> src/game/game.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 86 | struct HttpResponse { [INFO] [stdout] | ------------- required by this bound in `HttpResponse` [INFO] [stdout] ... [INFO] [stdout] 141 | fn spam_spam_spam(&mut self); [INFO] [stdout] | ^^^^^^^^^ the trait `ResponseState` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 139 | where S: SendingState + ResponseState [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0412, E0422, E0425, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3de25fc7d6303718bb9db383841da7c4a583601528a4eb86c8304dbd90e70e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de25fc7d6303718bb9db383841da7c4a583601528a4eb86c8304dbd90e70e48", kill_on_drop: false }` [INFO] [stdout] 3de25fc7d6303718bb9db383841da7c4a583601528a4eb86c8304dbd90e70e48