[INFO] cloning repository https://github.com/KayDevs/rust-sdl2-android [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KayDevs/rust-sdl2-android" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayDevs%2Frust-sdl2-android", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayDevs%2Frust-sdl2-android'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ab743a1b6977408b7963a41113e94a55f527b14 [INFO] building KayDevs/rust-sdl2-android against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayDevs%2Frust-sdl2-android" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KayDevs/rust-sdl2-android on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KayDevs/rust-sdl2-android [INFO] finished tweaking git repo https://github.com/KayDevs/rust-sdl2-android [INFO] tweaked toml for git repo https://github.com/KayDevs/rust-sdl2-android written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KayDevs/rust-sdl2-android 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `sdl_main` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93dc16771c0b2973b5e66be30a985b84cbf89ba34e413c5aa6d48bc2c951ba84 [INFO] running `Command { std: "docker" "start" "-a" "93dc16771c0b2973b5e66be30a985b84cbf89ba34e413c5aa6d48bc2c951ba84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93dc16771c0b2973b5e66be30a985b84cbf89ba34e413c5aa6d48bc2c951ba84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93dc16771c0b2973b5e66be30a985b84cbf89ba34e413c5aa6d48bc2c951ba84", kill_on_drop: false }` [INFO] [stdout] 93dc16771c0b2973b5e66be30a985b84cbf89ba34e413c5aa6d48bc2c951ba84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa980fe5e1cc6664c55a178a64da7430f2668da950befa311cc3a1a2cdc64cb9 [INFO] running `Command { std: "docker" "start" "-a" "fa980fe5e1cc6664c55a178a64da7430f2668da950befa311cc3a1a2cdc64cb9", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `sdl_main` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling sdl2test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/entity.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | fn tick(&mut self, &GameState); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/hitbox.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_collision(&mut self, CollisionEvent, other: HitBox); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: CollisionEvent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hitbox` [INFO] [stdout] --> src/murph.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hitbox; [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/sdl_main.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let mut entities: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | let mut entities: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_main.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let mut renders: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | let mut renders: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_main.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let mut collides: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let mut collides: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ce` [INFO] [stdout] --> src/murph.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_collision(&mut self, ce: CollisionEvent, other: HitBox) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ce` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/murph.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | fn collision(&self, other: HitBox) -> CollisionEvent { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gs` [INFO] [stdout] --> src/brick.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn tick(&mut self, gs: &GameState) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `impact` are never read [INFO] [stdout] --> src/hitbox.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CollisionEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub direction: (f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | //how strong the hit is [INFO] [stdout] 18 | pub impact: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "fa980fe5e1cc6664c55a178a64da7430f2668da950befa311cc3a1a2cdc64cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa980fe5e1cc6664c55a178a64da7430f2668da950befa311cc3a1a2cdc64cb9", kill_on_drop: false }` [INFO] [stdout] fa980fe5e1cc6664c55a178a64da7430f2668da950befa311cc3a1a2cdc64cb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c6da72610fc4b5524679e705385b4189cc6f506e651aa9ba366ddd2cb4dd56 [INFO] running `Command { std: "docker" "start" "-a" "e0c6da72610fc4b5524679e705385b4189cc6f506e651aa9ba366ddd2cb4dd56", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `sdl_main` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/entity.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | fn tick(&mut self, &GameState); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/hitbox.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_collision(&mut self, CollisionEvent, other: HitBox); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: CollisionEvent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hitbox` [INFO] [stdout] --> src/murph.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hitbox; [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/sdl_main.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let mut entities: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | let mut entities: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_main.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let mut renders: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | let mut renders: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_main.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let mut collides: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let mut collides: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ce` [INFO] [stdout] --> src/murph.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_collision(&mut self, ce: CollisionEvent, other: HitBox) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ce` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/murph.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | fn collision(&self, other: HitBox) -> CollisionEvent { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gs` [INFO] [stdout] --> src/brick.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn tick(&mut self, gs: &GameState) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sdl2test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `direction` and `impact` are never read [INFO] [stdout] --> src/hitbox.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CollisionEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub direction: (f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | //how strong the hit is [INFO] [stdout] 18 | pub impact: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/entity.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | fn tick(&mut self, &GameState); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/hitbox.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_collision(&mut self, CollisionEvent, other: HitBox); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: CollisionEvent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hitbox` [INFO] [stdout] --> src/murph.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hitbox; [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/sdl_main.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let mut entities: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | let mut entities: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_main.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let mut renders: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | let mut renders: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_main.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let mut collides: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let mut collides: Vec>> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ce` [INFO] [stdout] --> src/murph.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_collision(&mut self, ce: CollisionEvent, other: HitBox) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ce` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/murph.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | fn collision(&self, other: HitBox) -> CollisionEvent { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gs` [INFO] [stdout] --> src/brick.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn tick(&mut self, gs: &GameState) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `impact` are never read [INFO] [stdout] --> src/hitbox.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CollisionEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub direction: (f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | //how strong the hit is [INFO] [stdout] 18 | pub impact: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e0c6da72610fc4b5524679e705385b4189cc6f506e651aa9ba366ddd2cb4dd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c6da72610fc4b5524679e705385b4189cc6f506e651aa9ba366ddd2cb4dd56", kill_on_drop: false }` [INFO] [stdout] e0c6da72610fc4b5524679e705385b4189cc6f506e651aa9ba366ddd2cb4dd56