[INFO] cloning repository https://github.com/gala377/rust-game-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gala377/rust-game-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgala377%2Frust-game-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgala377%2Frust-game-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4ee2e41a1ec3a34c4332ddf35185b8027584771 [INFO] testing gala377/rust-game-server against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgala377%2Frust-game-server" "/workspace/builds/worker-52/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-52/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gala377/rust-game-server on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gala377/rust-game-server [INFO] finished tweaking git repo https://github.com/gala377/rust-game-server [INFO] tweaked toml for git repo https://github.com/gala377/rust-game-server written to /workspace/builds/worker-52/source/Cargo.toml [INFO] crate git repo https://github.com/gala377/rust-game-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb5b7f36ac216a102df61e6ed10d1ec2c40ba5dc6b53cfddaf5b2ad2d5e91422 [INFO] running `Command { std: "docker" "start" "-a" "fb5b7f36ac216a102df61e6ed10d1ec2c40ba5dc6b53cfddaf5b2ad2d5e91422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5b7f36ac216a102df61e6ed10d1ec2c40ba5dc6b53cfddaf5b2ad2d5e91422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5b7f36ac216a102df61e6ed10d1ec2c40ba5dc6b53cfddaf5b2ad2d5e91422", kill_on_drop: false }` [INFO] [stdout] fb5b7f36ac216a102df61e6ed10d1ec2c40ba5dc6b53cfddaf5b2ad2d5e91422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b843add8736cb81e1a739c5ae5bd21778cbcec37d194a625986f2db87eaa0d [INFO] running `Command { std: "docker" "start" "-a" "d0b843add8736cb81e1a739c5ae5bd21778cbcec37d194a625986f2db87eaa0d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling fast_from_derive v0.1.0 (/opt/rustwide/workdir/fast_from_derive) [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling game_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub type ConfigResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub type ConfigResult = Result>; [INFO] [stdout] 11 + pub type ConfigResult = Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers/file.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read(file_name: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn read(file_name: &str) -> Result> { [INFO] [stdout] 10 + pub fn read(file_name: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.52s [INFO] running `Command { std: "docker" "inspect" "d0b843add8736cb81e1a739c5ae5bd21778cbcec37d194a625986f2db87eaa0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b843add8736cb81e1a739c5ae5bd21778cbcec37d194a625986f2db87eaa0d", kill_on_drop: false }` [INFO] [stdout] d0b843add8736cb81e1a739c5ae5bd21778cbcec37d194a625986f2db87eaa0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 877c022fe3c43d89f15700efd6c5ceadf3eb91898634c6385c385cc8dd69f82e [INFO] running `Command { std: "docker" "start" "-a" "877c022fe3c43d89f15700efd6c5ceadf3eb91898634c6385c385cc8dd69f82e", kill_on_drop: false }` [INFO] [stderr] Compiling game_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub type ConfigResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub type ConfigResult = Result>; [INFO] [stdout] 11 + pub type ConfigResult = Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers/file.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read(file_name: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn read(file_name: &str) -> Result> { [INFO] [stdout] 10 + pub fn read(file_name: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_match_debug` [INFO] [stdout] --> src/game/mod.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | macro_rules! assert_match_debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/game/mod.rs:501:62 [INFO] [stdout] | [INFO] [stdout] 501 | assert_match!(units, Err(GameError::NonExistingUnit(6...8))); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/mod.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 507 | assert_match!(g.get_unit(0), Err(GameError::NonExistingUnit(0))) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_match` [INFO] [stdout] = note: this warning originates in the macro `assert_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/mod.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 555 | assert_match!(g.attack_position(0, (11, 10)), Err(_)) [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_match` [INFO] [stdout] = note: this warning originates in the macro `assert_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub type ConfigResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub type ConfigResult = Result>; [INFO] [stdout] 11 + pub type ConfigResult = Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers/file.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read(file_name: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn read(file_name: &str) -> Result> { [INFO] [stdout] 10 + pub fn read(file_name: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers/file.rs:20:87 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_temp_with_content(content: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - pub fn create_temp_with_content(content: &str) -> Result> { [INFO] [stdout] 20 + pub fn create_temp_with_content(content: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "877c022fe3c43d89f15700efd6c5ceadf3eb91898634c6385c385cc8dd69f82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877c022fe3c43d89f15700efd6c5ceadf3eb91898634c6385c385cc8dd69f82e", kill_on_drop: false }` [INFO] [stdout] 877c022fe3c43d89f15700efd6c5ceadf3eb91898634c6385c385cc8dd69f82e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f7e342f5bdb90189aa37f83746517b0dc2aee12091e43903f84fa40e4407ae4 [INFO] running `Command { std: "docker" "start" "-a" "3f7e342f5bdb90189aa37f83746517b0dc2aee12091e43903f84fa40e4407ae4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config/mod.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | pub type ConfigResult = Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - pub type ConfigResult = Result>; [INFO] [stderr] 11 + pub type ConfigResult = Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/helpers/file.rs:10:52 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn read(file_name: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - pub fn read(file_name: &str) -> Result> { [INFO] [stderr] 10 + pub fn read(file_name: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `assert_match_debug` [INFO] [stderr] --> src/game/mod.rs:327:18 [INFO] [stderr] | [INFO] [stderr] 327 | macro_rules! assert_match_debug { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/game/mod.rs:501:62 [INFO] [stderr] | [INFO] [stderr] 501 | assert_match!(units, Err(GameError::NonExistingUnit(6...8))); [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/game/mod.rs:322:15 [INFO] [stderr] | [INFO] [stderr] 322 | }); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 507 | assert_match!(g.get_unit(0), Err(GameError::NonExistingUnit(0))) [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_match` [INFO] [stderr] = note: this warning originates in the macro `assert_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/game/mod.rs:322:15 [INFO] [stderr] | [INFO] [stderr] 322 | }); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 555 | assert_match!(g.attack_position(0, (11, 10)), Err(_)) [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_match` [INFO] [stderr] = note: this warning originates in the macro `assert_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/helpers/file.rs:20:87 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn create_temp_with_content(content: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 - pub fn create_temp_with_content(content: &str) -> Result> { [INFO] [stderr] 20 + pub fn create_temp_with_content(content: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `game_server` (lib) generated 2 warnings [INFO] [stderr] warning: `game_server` (lib test) generated 7 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/glib-ba7bb64647100040) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test game::tests::add_new_unit_outside_the_board ... ok [INFO] [stdout] test game::tests::attack_position_outside_boundaries ... ok [INFO] [stdout] test config::tests::server_config_to_string_trait_is_implemented_right ... ok [INFO] [stdout] test game::tests::add_new_unit_for_the_first_player ... ok [INFO] [stdout] test game::tests::battle_non_existing_unit_first ... ok [INFO] [stdout] test game::tests::battle_non_existing_unit_second ... ok [INFO] [stdout] test config::tests::server_config_constructs_properly ... ok [INFO] [stdout] test game::tests::add_new_unit_for_the_last_player ... ok [INFO] [stdout] test game::tests::attack_position_inside_boundaries ... ok [INFO] [stdout] test game::tests::attacking_units_are_considered_as_the_one_to_move ... ok [INFO] [stdout] test game::tests::attack_position_outside_unit_range ... ok [INFO] [stdout] test config::tests::creating_config_empty_file_returns_an_error ... ok [INFO] [stdout] test config::tests::creating_server_config_empty_file_returns_an_error ... ok [INFO] [stdout] test game::tests::add_multiple_units ... ok [INFO] [stdout] test game::tests::battle_units ... ok [INFO] [stdout] test game::tests::battle_units_outside_their_reach ... ok [INFO] [stdout] test game::tests::empty_heap_when_no_units_should_move ... ok [INFO] [stdout] test game::tests::check_unit_data_after_addition ... ok [INFO] [stdout] test game::tests::game_struct_creation ... ok [INFO] [stdout] test game::tests::get_noexisting_unit ... ok [INFO] [stdout] test game::tests::get_few_noexisting_units ... ok [INFO] [stdout] test game::tests::move_unit_outside_boundaries ... ok [INFO] [stdout] test game::tests::field_empty_returns_true_for_empty_field ... ok [INFO] [stdout] test config::tests::server_config_is_read_properly ... ok [INFO] [stdout] test config::tests::config_is_read_properly ... ok [INFO] [stdout] test game::tests::field_empty_returns_false_for_occupied_space ... ok [INFO] [stdout] test game::tests::move_unit_outside_unit_range ... ok [INFO] [stdout] test game::tests::get_units_with_one_being_noexisting ... ok [INFO] [stdout] test game::tests::moving_units_are_considered_as_the_one_to_move ... ok [INFO] [stdout] test game::tests::resolve_returns_none_after_reaching_destination ... ok [INFO] [stdout] test game::tests::resolve_stops_unit_after_reaching_destination ... ok [INFO] [stdout] test game::tests::resolve_unit_moves_units_the_proper_way_diagonaly ... ok [INFO] [stdout] test game::tests::move_unit_inside_boundaries ... ok [INFO] [stdout] test game::tests::resolve_unit_moves_units_the_proper_way_in_straight_line_on_x ... ok [INFO] [stdout] test game::tests::resolve_unit_moves_units_the_proper_way_in_straight_line_on_y ... ok [INFO] [stdout] test game::tests::resolve_unit_returns_proper_new_moving_wrapper ... ok [INFO] [stdout] test game::tests::test_get_unit ... ok [INFO] [stdout] test helpers::file::tests::non_existing_file_returns_error ... ok [INFO] [stdout] test game::tests::test_get_units ... ok [INFO] [stdout] test helpers::file::tests::read_content_is_proper ... ok [INFO] [stdout] test game::tests::add_new_unit_for_non_existing_player - should panic ... ok [INFO] [stdout] test game::tests::add_new_unit_after_the_last_player - should panic ... ok [INFO] [stdout] test game::tests::game_struct_creation_with_0_x_board - should panic ... ok [INFO] [stdout] test game::tests::game_struct_creation_with_1_player - should panic ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/server-60e335f90d8c3d85) [INFO] [stdout] test game::tests::game_struct_creation_with_0_player - should panic ... ok [INFO] [stdout] test game::tests::game_struct_creation_with_0_y_board - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Doc-tests glib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f7e342f5bdb90189aa37f83746517b0dc2aee12091e43903f84fa40e4407ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7e342f5bdb90189aa37f83746517b0dc2aee12091e43903f84fa40e4407ae4", kill_on_drop: false }` [INFO] [stdout] 3f7e342f5bdb90189aa37f83746517b0dc2aee12091e43903f84fa40e4407ae4