[INFO] cloning repository https://github.com/SunDoge/arcade-rs-study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SunDoge/arcade-rs-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunDoge%2Farcade-rs-study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunDoge%2Farcade-rs-study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0aba3ae3d34e416dbef94bd10a8b9f3b5536c110 [INFO] checking SunDoge/arcade-rs-study against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunDoge%2Farcade-rs-study" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SunDoge/arcade-rs-study on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SunDoge/arcade-rs-study [INFO] finished tweaking git repo https://github.com/SunDoge/arcade-rs-study [INFO] tweaked toml for git repo https://github.com/SunDoge/arcade-rs-study written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SunDoge/arcade-rs-study already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking SunDoge/arcade-rs-study against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunDoge%2Farcade-rs-study" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SunDoge/arcade-rs-study on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SunDoge/arcade-rs-study [INFO] finished tweaking git repo https://github.com/SunDoge/arcade-rs-study [INFO] tweaked toml for git repo https://github.com/SunDoge/arcade-rs-study written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SunDoge/arcade-rs-study already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking SunDoge/arcade-rs-study against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunDoge%2Farcade-rs-study" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SunDoge/arcade-rs-study on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SunDoge/arcade-rs-study [INFO] finished tweaking git repo https://github.com/SunDoge/arcade-rs-study [INFO] tweaked toml for git repo https://github.com/SunDoge/arcade-rs-study written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SunDoge/arcade-rs-study already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.19 [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] [stderr] Downloaded sdl2_image v0.25.0 [INFO] [stderr] Downloaded sdl2_ttf v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 082a28ca599b69af1472beec56fef9ba0539664a2e2b4cb9d408afb8cf810cad [INFO] running `Command { std: "docker" "start" "-a" "082a28ca599b69af1472beec56fef9ba0539664a2e2b4cb9d408afb8cf810cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "082a28ca599b69af1472beec56fef9ba0539664a2e2b4cb9d408afb8cf810cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082a28ca599b69af1472beec56fef9ba0539664a2e2b4cb9d408afb8cf810cad", kill_on_drop: false }` [INFO] [stdout] 082a28ca599b69af1472beec56fef9ba0539664a2e2b4cb9d408afb8cf810cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04827f799d24eeb802c30ec89018350aef6defbeb9f82b17a6777af024a6acf3 [INFO] running `Command { std: "docker" "start" "-a" "04827f799d24eeb802c30ec89018350aef6defbeb9f82b17a6777af024a6acf3", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking libc v0.2.19 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking sdl2 v0.25.0 [INFO] [stderr] Checking sdl2_ttf v0.25.1 [INFO] [stderr] Checking sdl2_image v0.25.0 [INFO] [stderr] Checking arcade-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::render::Renderer` [INFO] [stdout] --> src/views/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Renderer` [INFO] [stdout] --> src/views/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | ChangeView(Box), [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | ChangeView(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | ChangeView(Box), [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | ChangeView(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | bullets: Vec>, [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] 115 | bullets: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | bullets: Vec>, [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] 115 | bullets: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/main_menu.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | func: Box ViewAction>, [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] 23 | func: Box ViewAction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/main_menu.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | func: Box ViewAction>, [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] 23 | func: Box ViewAction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | where F: Fn(&mut Phi) -> Box { [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] 89 | where F: Fn(&mut Phi) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/phi/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | where F: Fn(&mut Phi) -> Box { [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] 89 | where F: Fn(&mut Phi) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:369:71 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [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] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:369:71 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [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] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | fn spawn_bullets(&self) -> Vec> { [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] 45 | fn spawn_bullets(&self) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | fn spawn_bullets(&self) -> Vec> { [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] 45 | fn spawn_bullets(&self) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:404:74 [INFO] [stdout] | [INFO] [stdout] 404 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [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] 404 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:404:74 [INFO] [stdout] | [INFO] [stdout] 404 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [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] 404 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:447:74 [INFO] [stdout] | [INFO] [stdout] 447 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [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] 447 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:447:74 [INFO] [stdout] | [INFO] [stdout] 447 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [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] 447 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:491:74 [INFO] [stdout] | [INFO] [stdout] 491 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [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] 491 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/game.rs:491:74 [INFO] [stdout] | [INFO] [stdout] 491 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [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] 491 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/main_menu.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(phi: &mut Phi, label: &'static str, func: Box ViewAction>) -> Action { [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] 31 | fn new(phi: &mut Phi, label: &'static str, func: Box ViewAction>) -> Action { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/views/main_menu.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(phi: &mut Phi, label: &'static str, func: Box ViewAction>) -> Action { [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] 31 | fn new(phi: &mut Phi, label: &'static str, func: Box ViewAction>) -> Action { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | bullets: Vec>, [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | fn spawn_bullets(&self) -> Vec> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:404:74 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] ... [INFO] [stdout] 404 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:447:74 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] ... [INFO] [stdout] 447 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:491:74 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] ... [INFO] [stdout] 491 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | bullets: Vec>, [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:369:71 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | | [INFO] [stdout] | help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | fn spawn_bullets(&self) -> Vec> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:404:74 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] ... [INFO] [stdout] 404 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:447:74 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] ... [INFO] [stdout] 447 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:491:74 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] ... [INFO] [stdout] 491 | fn update(mut self: Box, phi: &mut Phi, dt: f64) -> Option> { [INFO] [stdout] | ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Bullet` cannot be made into an object [INFO] [stdout] --> src/views/game.rs:369:71 [INFO] [stdout] | [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | --------- ^^^^^^ `Bullet` cannot be made into an object [INFO] [stdout] | | [INFO] [stdout] | help: consider changing method `update`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/views/game.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 368 | trait Bullet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 369 | fn update(self: Box, phi: &mut Phi, dt: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ ...because method `update`'s `self` parameter cannot be dispatched on [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Bullet` for this new enum and using it instead: [INFO] [stdout] views::game::RectBullet [INFO] [stdout] views::game::SineBullet [INFO] [stdout] views::game::DivergentBullet [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arcade-rs` (bin "arcade-rs") due to 7 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `arcade-rs` (bin "arcade-rs" test) due to 7 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04827f799d24eeb802c30ec89018350aef6defbeb9f82b17a6777af024a6acf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04827f799d24eeb802c30ec89018350aef6defbeb9f82b17a6777af024a6acf3", kill_on_drop: false }` [INFO] [stdout] 04827f799d24eeb802c30ec89018350aef6defbeb9f82b17a6777af024a6acf3