[INFO] cloning repository https://github.com/craigjbass/real-time-strategy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craigjbass/real-time-strategy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjbass%2Freal-time-strategy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjbass%2Freal-time-strategy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd16907bd8d168fd2e7ab2b4a590930d7100a3eb [INFO] testing craigjbass/real-time-strategy against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjbass%2Freal-time-strategy" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigjbass/real-time-strategy 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/craigjbass/real-time-strategy [INFO] finished tweaking git repo https://github.com/craigjbass/real-time-strategy [INFO] tweaked toml for git repo https://github.com/craigjbass/real-time-strategy written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/craigjbass/real-time-strategy 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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] f9a7f3d3bd22eeb30ee61b827359e58e15e5c92b5bee9c5ac8b5ec32d188caae [INFO] running `Command { std: "docker" "start" "-a" "f9a7f3d3bd22eeb30ee61b827359e58e15e5c92b5bee9c5ac8b5ec32d188caae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9a7f3d3bd22eeb30ee61b827359e58e15e5c92b5bee9c5ac8b5ec32d188caae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a7f3d3bd22eeb30ee61b827359e58e15e5c92b5bee9c5ac8b5ec32d188caae", kill_on_drop: false }` [INFO] [stdout] f9a7f3d3bd22eeb30ee61b827359e58e15e5c92b5bee9c5ac8b5ec32d188caae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] 317755b84741c571fe19e4c62dff4d5e4d33ca06fefb170db39deae8771f1eba [INFO] running `Command { std: "docker" "start" "-a" "317755b84741c571fe19e4c62dff4d5e4d33ca06fefb170db39deae8771f1eba", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling game_use_cases v0.1.0 (/opt/rustwide/workdir/game/use_cases) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/view_units.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | unit_gateway: Arc> [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - unit_gateway: Arc> [INFO] [stdout] 14 + unit_gateway: Arc> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/view_units.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] 18 + pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/view_units.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn execute(self, presenter: &mut ViewUnitsPresenter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn execute(self, presenter: &mut ViewUnitsPresenter) { [INFO] [stdout] 22 + pub fn execute(self, presenter: &mut dyn ViewUnitsPresenter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/spawn_unit.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] 7 + pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stdout] warning: unused variable: `unit_gateway` [INFO] [stdout] --> game/use_cases/src/use_cases/spawn_unit.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_gateway` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling real_time_strategy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `Command { std: "docker" "inspect" "317755b84741c571fe19e4c62dff4d5e4d33ca06fefb170db39deae8771f1eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317755b84741c571fe19e4c62dff4d5e4d33ca06fefb170db39deae8771f1eba", kill_on_drop: false }` [INFO] [stdout] 317755b84741c571fe19e4c62dff4d5e4d33ca06fefb170db39deae8771f1eba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] c2e69d80d3f7c4d08e71412096d837f73e3d6bee97a8d564cd7f8bfa7afc15a4 [INFO] running `Command { std: "docker" "start" "-a" "c2e69d80d3f7c4d08e71412096d837f73e3d6bee97a8d564cd7f8bfa7afc15a4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/view_units.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | unit_gateway: Arc> [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - unit_gateway: Arc> [INFO] [stdout] 14 + unit_gateway: Arc> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/view_units.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] 18 + pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/view_units.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn execute(self, presenter: &mut ViewUnitsPresenter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn execute(self, presenter: &mut ViewUnitsPresenter) { [INFO] [stdout] 22 + pub fn execute(self, presenter: &mut dyn ViewUnitsPresenter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/use_cases/src/use_cases/spawn_unit.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] 7 + pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_gateway` [INFO] [stdout] --> game/use_cases/src/use_cases/spawn_unit.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_gateway` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling real_time_strategy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/spawning_units.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let unit_gateway: Arc> = Arc::new(Mutex::new(Placeholder {})); [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - let unit_gateway: Arc> = Arc::new(Mutex::new(Placeholder {})); [INFO] [stdout] 32 + let unit_gateway: Arc> = Arc::new(Mutex::new(Placeholder {})); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 29.10s [INFO] running `Command { std: "docker" "inspect" "c2e69d80d3f7c4d08e71412096d837f73e3d6bee97a8d564cd7f8bfa7afc15a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e69d80d3f7c4d08e71412096d837f73e3d6bee97a8d564cd7f8bfa7afc15a4", kill_on_drop: false }` [INFO] [stdout] c2e69d80d3f7c4d08e71412096d837f73e3d6bee97a8d564cd7f8bfa7afc15a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] 53da5355c03e63a7aa0c5c4c72bc0c185c31617875c23404e215646e63efa283 [INFO] running `Command { std: "docker" "start" "-a" "53da5355c03e63a7aa0c5c4c72bc0c185c31617875c23404e215646e63efa283", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> game/use_cases/src/use_cases/view_units.rs:14:29 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 14 | unit_gateway: Arc> [INFO] [stdout] [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - unit_gateway: Arc> [INFO] [stderr] 14 + unit_gateway: Arc> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> game/use_cases/src/use_cases/view_units.rs:18:40 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] 18 + pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> game/use_cases/src/use_cases/view_units.rs:22:42 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn execute(self, presenter: &mut ViewUnitsPresenter) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - pub fn execute(self, presenter: &mut ViewUnitsPresenter) { [INFO] [stderr] 22 + pub fn execute(self, presenter: &mut dyn ViewUnitsPresenter) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> game/use_cases/src/use_cases/spawn_unit.rs:7:40 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] 7 + pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unit_gateway` [INFO] [stderr] --> game/use_cases/src/use_cases/spawn_unit.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn new(unit_gateway: Arc>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_gateway` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `game_use_cases` (lib) generated 5 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/spawning_units.rs:32:33 [INFO] [stderr] | [INFO] [stderr] 32 | let unit_gateway: Arc> = Arc::new(Mutex::new(Placeholder {})); [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - let unit_gateway: Arc> = Arc::new(Mutex::new(Placeholder {})); [INFO] [stderr] 32 + let unit_gateway: Arc> = Arc::new(Mutex::new(Placeholder {})); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `real_time_strategy` (test "spawning_units") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/real_time_strategy-57e03b4e946e5b8b) [INFO] [stderr] Running tests/spawning_units.rs (/opt/rustwide/target/debug/deps/spawning_units-155550fa8dcd4662) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test spawning_units ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53da5355c03e63a7aa0c5c4c72bc0c185c31617875c23404e215646e63efa283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53da5355c03e63a7aa0c5c4c72bc0c185c31617875c23404e215646e63efa283", kill_on_drop: false }` [INFO] [stdout] 53da5355c03e63a7aa0c5c4c72bc0c185c31617875c23404e215646e63efa283