[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] checking craigjbass/real-time-strategy against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjbass%2Freal-time-strategy" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigjbass/real-time-strategy on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-10/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53a9afa7985e35c9a5a6ce83b803ef7d02915c2542a0436153b774d4c107ddf2 [INFO] running `Command { std: "docker" "start" "-a" "53a9afa7985e35c9a5a6ce83b803ef7d02915c2542a0436153b774d4c107ddf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a9afa7985e35c9a5a6ce83b803ef7d02915c2542a0436153b774d4c107ddf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a9afa7985e35c9a5a6ce83b803ef7d02915c2542a0436153b774d4c107ddf2", kill_on_drop: false }` [INFO] [stdout] 53a9afa7985e35c9a5a6ce83b803ef7d02915c2542a0436153b774d4c107ddf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2666fc3271972917bda722acbae3487737f5114fc67c2a93f5988379e842ef74 [INFO] running `Command { std: "docker" "start" "-a" "2666fc3271972917bda722acbae3487737f5114fc67c2a93f5988379e842ef74", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking game_use_cases v0.1.0 (/opt/rustwide/workdir/game/use_cases) [INFO] [stderr] Compiling sdl2-sys v0.31.0 [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 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] --> 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 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] --> 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 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] --> 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 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: 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] Checking rand v0.4.2 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn UnitGateway` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "2666fc3271972917bda722acbae3487737f5114fc67c2a93f5988379e842ef74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2666fc3271972917bda722acbae3487737f5114fc67c2a93f5988379e842ef74", kill_on_drop: false }` [INFO] [stdout] 2666fc3271972917bda722acbae3487737f5114fc67c2a93f5988379e842ef74