[INFO] cloning repository https://github.com/BenMatteson/CS410_Rust_Project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenMatteson/CS410_Rust_Project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMatteson%2FCS410_Rust_Project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMatteson%2FCS410_Rust_Project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4445635fd8eb9851286c680685f9e7e3c7dcdb86 [INFO] testing BenMatteson/CS410_Rust_Project against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMatteson%2FCS410_Rust_Project" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BenMatteson/CS410_Rust_Project on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BenMatteson/CS410_Rust_Project [INFO] finished tweaking git repo https://github.com/BenMatteson/CS410_Rust_Project [INFO] tweaked toml for git repo https://github.com/BenMatteson/CS410_Rust_Project written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/BenMatteson/CS410_Rust_Project already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f073e16c1aba5db19ffff7b42479c39b194a76c261a0a99887c112a6e04dfd0f [INFO] running `Command { std: "docker" "start" "-a" "f073e16c1aba5db19ffff7b42479c39b194a76c261a0a99887c112a6e04dfd0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f073e16c1aba5db19ffff7b42479c39b194a76c261a0a99887c112a6e04dfd0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f073e16c1aba5db19ffff7b42479c39b194a76c261a0a99887c112a6e04dfd0f", kill_on_drop: false }` [INFO] [stdout] f073e16c1aba5db19ffff7b42479c39b194a76c261a0a99887c112a6e04dfd0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24924dda73bc48258c64b823d9fc15cd445d19d7e47c9e72cea350c1bb3b6d48 [INFO] running `Command { std: "docker" "start" "-a" "24924dda73bc48258c64b823d9fc15cd445d19d7e47c9e72cea350c1bb3b6d48", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rawslice v0.1.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling odds v0.3.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.1 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling tempfile v3.0.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling gfx_core v0.8.2 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling piston-gfx_texture v0.32.0 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.51.0 [INFO] [stderr] Compiling gfx_device_gl v0.15.3 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.47.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling piston_window v0.80.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/entity/player.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | 8...16 => &EMPTY, [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 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] --> src/main.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | entities: Vec>, [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] 42 - entities: Vec>, [INFO] [stdout] 42 + entities: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | fn collide(entity1: &mut Entity, entity2: &mut Entity) { [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] 195 - fn collide(entity1: &mut Entity, entity2: &mut Entity) { [INFO] [stdout] 195 + fn collide(entity1: &mut dyn Entity, entity2: &mut Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | fn collide(entity1: &mut Entity, entity2: &mut Entity) { [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] 195 - fn collide(entity1: &mut Entity, entity2: &mut Entity) { [INFO] [stdout] 195 + fn collide(entity1: &mut Entity, entity2: &mut dyn Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [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] 201 - fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [INFO] [stdout] 201 + fn check_collision(entity1: &dyn Entity, entity2: &Entity) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:201:48 [INFO] [stdout] | [INFO] [stdout] 201 | fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [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] 201 - fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [INFO] [stdout] 201 + fn check_collision(entity1: &Entity, entity2: &dyn Entity) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/mod.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, args: &UpdateArgs) -> 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] 19 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 19 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/mod.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | fn collide(&mut self, other: &mut Entity) { [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 - fn collide(&mut self, other: &mut Entity) { [INFO] [stdout] 22 + fn collide(&mut self, other: &mut dyn Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/enemy.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | fn update(&mut self, args: &UpdateArgs) -> 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] 62 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 62 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/player.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn fire(&mut 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] 85 - fn fire(&mut self) -> Vec> { [INFO] [stdout] 85 + fn fire(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/player.rs:131:63 [INFO] [stdout] | [INFO] [stdout] 131 | fn update(&mut self, args: &UpdateArgs) -> 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] 131 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 131 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/projectile.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 52 | fn update(&mut self, args: &UpdateArgs) -> 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] 52 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 52 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/projectile.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | fn collide(&mut self, other: &mut Entity) { [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] 64 - fn collide(&mut self, other: &mut Entity) { [INFO] [stdout] 64 + fn collide(&mut self, other: &mut dyn Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/enemy.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | let mut shot: Vec> = Vec::new(); [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] 73 - let mut shot: Vec> = Vec::new(); [INFO] [stdout] 73 + let mut shot: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/player.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut volley: Vec> = Vec::new(); [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] 86 - let mut volley: Vec> = Vec::new(); [INFO] [stdout] 86 + let mut volley: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `odds::vec::VecExt` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use odds::vec::VecExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "24924dda73bc48258c64b823d9fc15cd445d19d7e47c9e72cea350c1bb3b6d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24924dda73bc48258c64b823d9fc15cd445d19d7e47c9e72cea350c1bb3b6d48", kill_on_drop: false }` [INFO] [stdout] 24924dda73bc48258c64b823d9fc15cd445d19d7e47c9e72cea350c1bb3b6d48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81057ead9f1ce320b96d66d9a06433fb31a7053486d74f2db35cc2d6d982f1e6 [INFO] running `Command { std: "docker" "start" "-a" "81057ead9f1ce320b96d66d9a06433fb31a7053486d74f2db35cc2d6d982f1e6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/entity/player.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | 8...16 => &EMPTY, [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 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] --> src/main.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | entities: Vec>, [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] 42 - entities: Vec>, [INFO] [stdout] 42 + entities: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | fn collide(entity1: &mut Entity, entity2: &mut Entity) { [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] 195 - fn collide(entity1: &mut Entity, entity2: &mut Entity) { [INFO] [stdout] 195 + fn collide(entity1: &mut dyn Entity, entity2: &mut Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | fn collide(entity1: &mut Entity, entity2: &mut Entity) { [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] 195 - fn collide(entity1: &mut Entity, entity2: &mut Entity) { [INFO] [stdout] 195 + fn collide(entity1: &mut Entity, entity2: &mut dyn Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [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] 201 - fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [INFO] [stdout] 201 + fn check_collision(entity1: &dyn Entity, entity2: &Entity) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:201:48 [INFO] [stdout] | [INFO] [stdout] 201 | fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [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] 201 - fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [INFO] [stdout] 201 + fn check_collision(entity1: &Entity, entity2: &dyn Entity) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/mod.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, args: &UpdateArgs) -> 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] 19 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 19 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/mod.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | fn collide(&mut self, other: &mut Entity) { [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 - fn collide(&mut self, other: &mut Entity) { [INFO] [stdout] 22 + fn collide(&mut self, other: &mut dyn Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/enemy.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | fn update(&mut self, args: &UpdateArgs) -> 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] 62 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 62 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/player.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn fire(&mut 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] 85 - fn fire(&mut self) -> Vec> { [INFO] [stdout] 85 + fn fire(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/player.rs:131:63 [INFO] [stdout] | [INFO] [stdout] 131 | fn update(&mut self, args: &UpdateArgs) -> 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] 131 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 131 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/projectile.rs:52:63 [INFO] [stdout] | [INFO] [stdout] 52 | fn update(&mut self, args: &UpdateArgs) -> 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] 52 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] 52 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/projectile.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | fn collide(&mut self, other: &mut Entity) { [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] 64 - fn collide(&mut self, other: &mut Entity) { [INFO] [stdout] 64 + fn collide(&mut self, other: &mut dyn Entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/enemy.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | let mut shot: Vec> = Vec::new(); [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] 73 - let mut shot: Vec> = Vec::new(); [INFO] [stdout] 73 + let mut shot: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/player.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut volley: Vec> = Vec::new(); [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] 86 - let mut volley: Vec> = Vec::new(); [INFO] [stdout] 86 + let mut volley: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `odds::vec::VecExt` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use odds::vec::VecExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.29s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/game-4328e810ddc85315) [INFO] running `Command { std: "docker" "inspect" "81057ead9f1ce320b96d66d9a06433fb31a7053486d74f2db35cc2d6d982f1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81057ead9f1ce320b96d66d9a06433fb31a7053486d74f2db35cc2d6d982f1e6", kill_on_drop: false }` [INFO] [stdout] 81057ead9f1ce320b96d66d9a06433fb31a7053486d74f2db35cc2d6d982f1e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a98b3e2b40f7dc3c10baa70e75b4a8139c8f163d4a22e27c260b33f7a4a294c6 [INFO] running `Command { std: "docker" "start" "-a" "a98b3e2b40f7dc3c10baa70e75b4a8139c8f163d4a22e27c260b33f7a4a294c6", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/entity/player.rs:124:14 [INFO] [stderr] | [INFO] [stderr] 124 | 8...16 => &EMPTY, [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | entities: Vec>, [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] 42 - entities: Vec>, [INFO] [stderr] 42 + entities: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:195:26 [INFO] [stderr] | [INFO] [stderr] 195 | fn collide(entity1: &mut Entity, entity2: &mut Entity) { [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] 195 - fn collide(entity1: &mut Entity, entity2: &mut Entity) { [INFO] [stderr] 195 + fn collide(entity1: &mut dyn Entity, entity2: &mut Entity) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:195:48 [INFO] [stderr] | [INFO] [stderr] 195 | fn collide(entity1: &mut Entity, entity2: &mut Entity) { [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] 195 - fn collide(entity1: &mut Entity, entity2: &mut Entity) { [INFO] [stderr] 195 + fn collide(entity1: &mut Entity, entity2: &mut dyn Entity) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:201:30 [INFO] [stderr] | [INFO] [stderr] 201 | fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [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] 201 - fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [INFO] [stderr] 201 + fn check_collision(entity1: &dyn Entity, entity2: &Entity) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:201:48 [INFO] [stderr] | [INFO] [stderr] 201 | fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [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] 201 - fn check_collision(entity1: &Entity, entity2: &Entity) -> bool { [INFO] [stderr] 201 + fn check_collision(entity1: &Entity, entity2: &dyn Entity) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/mod.rs:19:63 [INFO] [stderr] | [INFO] [stderr] 19 | fn update(&mut self, args: &UpdateArgs) -> Option>> { [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] 19 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] 19 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/mod.rs:22:39 [INFO] [stderr] | [INFO] [stderr] 22 | fn collide(&mut self, other: &mut Entity) { [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 - fn collide(&mut self, other: &mut Entity) { [INFO] [stderr] 22 + fn collide(&mut self, other: &mut dyn Entity) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/enemy.rs:62:63 [INFO] [stderr] | [INFO] [stderr] 62 | fn update(&mut self, args: &UpdateArgs) -> Option>> { [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] 62 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] 62 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/player.rs:85:35 [INFO] [stderr] | [INFO] [stderr] 85 | fn fire(&mut self) -> Vec> { [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] 85 - fn fire(&mut self) -> Vec> { [INFO] [stderr] 85 + fn fire(&mut self) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/player.rs:131:63 [INFO] [stderr] | [INFO] [stderr] 131 | fn update(&mut self, args: &UpdateArgs) -> Option>> { [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] 131 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] 131 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/projectile.rs:52:63 [INFO] [stderr] | [INFO] [stderr] 52 | fn update(&mut self, args: &UpdateArgs) -> Option>> { [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] 52 - fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] 52 + fn update(&mut self, args: &UpdateArgs) -> Option>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/projectile.rs:64:39 [INFO] [stderr] | [INFO] [stderr] 64 | fn collide(&mut self, other: &mut Entity) { [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] 64 - fn collide(&mut self, other: &mut Entity) { [INFO] [stderr] 64 + fn collide(&mut self, other: &mut dyn Entity) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/enemy.rs:73:35 [INFO] [stderr] | [INFO] [stderr] 73 | let mut shot: Vec> = Vec::new(); [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] 73 - let mut shot: Vec> = Vec::new(); [INFO] [stderr] 73 + let mut shot: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/player.rs:86:33 [INFO] [stderr] | [INFO] [stderr] 86 | let mut volley: Vec> = Vec::new(); [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] 86 - let mut volley: Vec> = Vec::new(); [INFO] [stderr] 86 + let mut volley: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `odds::vec::VecExt` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use odds::vec::VecExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `game` (bin "game" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/game-4328e810ddc85315) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test entity::test_applied_to ... ok [INFO] [stdout] test test_check_collision ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a98b3e2b40f7dc3c10baa70e75b4a8139c8f163d4a22e27c260b33f7a4a294c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98b3e2b40f7dc3c10baa70e75b4a8139c8f163d4a22e27c260b33f7a4a294c6", kill_on_drop: false }` [INFO] [stdout] a98b3e2b40f7dc3c10baa70e75b4a8139c8f163d4a22e27c260b33f7a4a294c6