[INFO] cloning repository https://github.com/little-dude/generals-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/little-dude/generals-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittle-dude%2Fgenerals-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittle-dude%2Fgenerals-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37e29c0f8928ec04adf428b746dd6d8f20b8c73e [INFO] testing little-dude/generals-rs against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittle-dude%2Fgenerals-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/little-dude/generals-rs on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/little-dude/generals-rs [INFO] finished tweaking git repo https://github.com/little-dude/generals-rs [INFO] tweaked toml for git repo https://github.com/little-dude/generals-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/little-dude/generals-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.6.0 [INFO] [stderr] Downloaded tokio-dns-unofficial v0.3.1 [INFO] [stderr] Downloaded tokio v0.1.17 [INFO] [stderr] Downloaded fera-unionfind v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", 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] 40e40f26a940ab8b650c9f8ccb882826092adec7bf8de5760b1eb247005bc6ac [INFO] running `Command { std: "docker" "start" "-a" "40e40f26a940ab8b650c9f8ccb882826092adec7bf8de5760b1eb247005bc6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40e40f26a940ab8b650c9f8ccb882826092adec7bf8de5760b1eb247005bc6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e40f26a940ab8b650c9f8ccb882826092adec7bf8de5760b1eb247005bc6ac", kill_on_drop: false }` [INFO] [stdout] 40e40f26a940ab8b650c9f8ccb882826092adec7bf8de5760b1eb247005bc6ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd228b7d26eb5105bfdcd01bf99b95c142dc986e6b5a90f835831eddbe0265d [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" "edd228b7d26eb5105bfdcd01bf99b95c142dc986e6b5a90f835831eddbe0265d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling fera-unionfind v0.1.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling actix-web v0.7.18 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-threadpool v0.1.12 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling tokio v0.1.17 [INFO] [stderr] Compiling tokio-dns-unofficial v0.3.1 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling tokio-tungstenite v0.6.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling v_escape v0.3.2 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling v_htmlescape v0.3.2 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling generals-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/common.rs:399:32 [INFO] [stdout] | [INFO] [stdout] 399 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/connection.rs:192:52 [INFO] [stdout] | [INFO] [stdout] 192 | ConnectionError::WebSocket(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/connection.rs:210:65 [INFO] [stdout] | [INFO] [stdout] 210 | write!(f, "Connection error (websocket): {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core/common.rs:406:44 [INFO] [stdout] | [INFO] [stdout] 406 | write!(f, "Invalid move: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(mut action) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | for (player, mut connection) in self [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | for (player, mut connection) in connections.iter_mut().filter(|(_, c)| !c.has_resigned()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | for (player, mut connection) in connections.iter_mut().filter(|(_, c)| !c.has_resigned()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "edd228b7d26eb5105bfdcd01bf99b95c142dc986e6b5a90f835831eddbe0265d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd228b7d26eb5105bfdcd01bf99b95c142dc986e6b5a90f835831eddbe0265d", kill_on_drop: false }` [INFO] [stdout] edd228b7d26eb5105bfdcd01bf99b95c142dc986e6b5a90f835831eddbe0265d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ba40565a9c5c953148feecc769195a88a9f025c2167dcbed7249fbb9044fdbe [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" "4ba40565a9c5c953148feecc769195a88a9f025c2167dcbed7249fbb9044fdbe", kill_on_drop: false }` [INFO] [stderr] Compiling generals-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/common.rs:399:32 [INFO] [stdout] | [INFO] [stdout] 399 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/connection.rs:192:52 [INFO] [stdout] | [INFO] [stdout] 192 | ConnectionError::WebSocket(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/connection.rs:210:65 [INFO] [stdout] | [INFO] [stdout] 210 | write!(f, "Connection error (websocket): {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core/common.rs:406:44 [INFO] [stdout] | [INFO] [stdout] 406 | write!(f, "Invalid move: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_city` found for struct `RefMut<'_, common::Tile>` in the current scope [INFO] [stdout] --> src/core/map_tests.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | tile.make_city(); [INFO] [stdout] | ^^^^^^^^^ method not found in `RefMut<'_, common::Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_city` found for struct `common::Tile` in the current scope [INFO] [stdout] --> src/core/common_tests.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | tile.make_city(); [INFO] [stdout] | ^^^^^^^^^ method not found in `common::Tile` [INFO] [stdout] | [INFO] [stdout] ::: src/core/common.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Tile { [INFO] [stdout] | --------------- method `make_city` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_city` found for struct `common::Tile` in the current scope [INFO] [stdout] --> src/core/common_tests.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | dst.make_city(); [INFO] [stdout] | ^^^^^^^^^ method not found in `common::Tile` [INFO] [stdout] | [INFO] [stdout] ::: src/core/common.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Tile { [INFO] [stdout] | --------------- method `make_city` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_city` found for struct `common::Tile` in the current scope [INFO] [stdout] --> src/core/common_tests.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | dst.make_city(); [INFO] [stdout] | ^^^^^^^^^ method not found in `common::Tile` [INFO] [stdout] | [INFO] [stdout] ::: src/core/common.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Tile { [INFO] [stdout] | --------------- method `make_city` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_city` found for struct `common::Tile` in the current scope [INFO] [stdout] --> src/core/common_tests.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | dst.make_city(); [INFO] [stdout] | ^^^^^^^^^ method not found in `common::Tile` [INFO] [stdout] | [INFO] [stdout] ::: src/core/common.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Tile { [INFO] [stdout] | --------------- method `make_city` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `make_city` found for struct `common::Tile` in the current scope [INFO] [stdout] --> src/core/common_tests.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | dst.make_city(); [INFO] [stdout] | ^^^^^^^^^ method not found in `common::Tile` [INFO] [stdout] | [INFO] [stdout] ::: src/core/common.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Tile { [INFO] [stdout] | --------------- method `make_city` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `generals-rs` due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ba40565a9c5c953148feecc769195a88a9f025c2167dcbed7249fbb9044fdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba40565a9c5c953148feecc769195a88a9f025c2167dcbed7249fbb9044fdbe", kill_on_drop: false }` [INFO] [stdout] 4ba40565a9c5c953148feecc769195a88a9f025c2167dcbed7249fbb9044fdbe