[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjbass%2Freal-time-strategy" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigjbass/real-time-strategy on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-7/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05c173566684cea6e0e8757dde4db5c51e6c3dd0629900046741f515974c4cd9 [INFO] running `Command { std: "docker" "start" "-a" "05c173566684cea6e0e8757dde4db5c51e6c3dd0629900046741f515974c4cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05c173566684cea6e0e8757dde4db5c51e6c3dd0629900046741f515974c4cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c173566684cea6e0e8757dde4db5c51e6c3dd0629900046741f515974c4cd9", kill_on_drop: false }` [INFO] [stdout] 05c173566684cea6e0e8757dde4db5c51e6c3dd0629900046741f515974c4cd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7ca6117e63abc2558985977c18193bc01175f65c79492734633f4ba18cd4e7 [INFO] running `Command { std: "docker" "start" "-a" "fc7ca6117e63abc2558985977c18193bc01175f65c79492734633f4ba18cd4e7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling libc v0.2.37 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ViewUnitsPresenter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 8.07s [INFO] running `Command { std: "docker" "inspect" "fc7ca6117e63abc2558985977c18193bc01175f65c79492734633f4ba18cd4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7ca6117e63abc2558985977c18193bc01175f65c79492734633f4ba18cd4e7", kill_on_drop: false }` [INFO] [stdout] fc7ca6117e63abc2558985977c18193bc01175f65c79492734633f4ba18cd4e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1686fe981486c48012f4a43307e94b2f2ec48256d12d8272637003aa7ada3fee [INFO] running `Command { std: "docker" "start" "-a" "1686fe981486c48012f4a43307e94b2f2ec48256d12d8272637003aa7ada3fee", kill_on_drop: false }` [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] --> game/use_cases/src/use_cases/view_units.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | unit_gateway: Arc> [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ViewUnitsPresenter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "1686fe981486c48012f4a43307e94b2f2ec48256d12d8272637003aa7ada3fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1686fe981486c48012f4a43307e94b2f2ec48256d12d8272637003aa7ada3fee", kill_on_drop: false }` [INFO] [stdout] 1686fe981486c48012f4a43307e94b2f2ec48256d12d8272637003aa7ada3fee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9443e8fd1f582662e8d688d1322a329f6a5a6b7c114c1f543c5d74786c97a326 [INFO] running `Command { std: "docker" "start" "-a" "9443e8fd1f582662e8d688d1322a329f6a5a6b7c114c1f543c5d74786c97a326", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> game/use_cases/src/use_cases/view_units.rs:14:29 [INFO] [stderr] | [INFO] [stderr] 14 | unit_gateway: Arc> [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ViewUnitsPresenter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: 5 warnings emitted [INFO] [stderr] [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/real_time_strategy-2afc809b14d89724) [INFO] [stdout] [INFO] [stderr] Running tests/spawning_units.rs (/opt/rustwide/target/debug/deps/spawning_units-c2cfec0ee524c6ee) [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 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" "9443e8fd1f582662e8d688d1322a329f6a5a6b7c114c1f543c5d74786c97a326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9443e8fd1f582662e8d688d1322a329f6a5a6b7c114c1f543c5d74786c97a326", kill_on_drop: false }` [INFO] [stdout] 9443e8fd1f582662e8d688d1322a329f6a5a6b7c114c1f543c5d74786c97a326