[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/0aba3ae3d34e416dbef94bd10a8b9f3b5536c110 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunDoge%2Farcade-rs-study" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SunDoge/arcade-rs-study on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2_ttf v0.25.1 [INFO] [stderr] Downloaded sdl2_image v0.25.0 [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25f20e348e729efe98509b2dc7af7424154fe80d1830857a0d00ddc004312920 [INFO] running `Command { std: "docker" "start" "-a" "25f20e348e729efe98509b2dc7af7424154fe80d1830857a0d00ddc004312920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25f20e348e729efe98509b2dc7af7424154fe80d1830857a0d00ddc004312920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f20e348e729efe98509b2dc7af7424154fe80d1830857a0d00ddc004312920", kill_on_drop: false }` [INFO] [stdout] 25f20e348e729efe98509b2dc7af7424154fe80d1830857a0d00ddc004312920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2394ec663d3e820966fbf7887bce5acda0720e978bc83c904298f2c9ed163040 [INFO] running `Command { std: "docker" "start" "-a" "2394ec663d3e820966fbf7887bce5acda0720e978bc83c904298f2c9ed163040", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 lazy_static v0.2.2 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking bitflags v0.7.0 [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_image v0.25.0 [INFO] [stderr] Checking sdl2_ttf v0.25.1 [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: 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: method `overlaps` is never used [INFO] [stdout] --> src/phi/data.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn overlaps(&self, other: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `render`, and `rect` are never used [INFO] [stdout] --> src/views/game.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 380 | impl RectBullet { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 381 | fn update(mut self, phi: &mut Phi, dt: f64) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn render(&self, phi: &mut Phi) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | fn rect(&self) -> Rectangle { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 252 | let _ = phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 394 | let _ = phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 417 | let _ = phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 467 | let _ = phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 510 | let _ = phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/main_menu.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / phi.renderer.fill_rect(Rectangle { [INFO] [stdout] 116 | | w: box_w + border_width * 2.0, [INFO] [stdout] 117 | | h: box_h + border_width * 2.0 + margin_h * 2.0, [INFO] [stdout] 118 | | x: (win_w - box_w) / 2.0 - border_width, [INFO] [stdout] 119 | | y: (win_h - box_h) / 2.0 - margin_h - border_width, [INFO] [stdout] 120 | | }.to_sdl().unwrap()); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = phi.renderer.fill_rect(Rectangle { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/main_menu.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / phi.renderer.fill_rect(Rectangle { [INFO] [stdout] 125 | | w: box_w, [INFO] [stdout] 126 | | h: box_h + margin_h * 2.0, [INFO] [stdout] 127 | | x: (win_w - box_w) / 2.0, [INFO] [stdout] 128 | | y: (win_h - box_h) / 2.0 - margin_h, [INFO] [stdout] 129 | | }.to_sdl().unwrap()); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = phi.renderer.fill_rect(Rectangle { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps` is never used [INFO] [stdout] --> src/phi/data.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn overlaps(&self, other: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `render`, and `rect` are never used [INFO] [stdout] --> src/views/game.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 380 | impl RectBullet { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 381 | fn update(mut self, phi: &mut Phi, dt: f64) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn render(&self, phi: &mut Phi) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | fn rect(&self) -> Rectangle { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 252 | let _ = phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 394 | let _ = phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 417 | let _ = phi.renderer.fill_rect(self.rect.to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 467 | let _ = phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/game.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 510 | let _ = phi.renderer.fill_rect(self.rect().to_sdl().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/main_menu.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / phi.renderer.fill_rect(Rectangle { [INFO] [stdout] 116 | | w: box_w + border_width * 2.0, [INFO] [stdout] 117 | | h: box_h + border_width * 2.0 + margin_h * 2.0, [INFO] [stdout] 118 | | x: (win_w - box_w) / 2.0 - border_width, [INFO] [stdout] 119 | | y: (win_h - box_h) / 2.0 - margin_h - border_width, [INFO] [stdout] 120 | | }.to_sdl().unwrap()); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = phi.renderer.fill_rect(Rectangle { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/views/main_menu.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / phi.renderer.fill_rect(Rectangle { [INFO] [stdout] 125 | | w: box_w, [INFO] [stdout] 126 | | h: box_h + margin_h * 2.0, [INFO] [stdout] 127 | | x: (win_w - box_w) / 2.0, [INFO] [stdout] 128 | | y: (win_h - box_h) / 2.0 - margin_h, [INFO] [stdout] 129 | | }.to_sdl().unwrap()); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = phi.renderer.fill_rect(Rectangle { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.6.0, 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 1` [INFO] running `Command { std: "docker" "inspect" "2394ec663d3e820966fbf7887bce5acda0720e978bc83c904298f2c9ed163040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2394ec663d3e820966fbf7887bce5acda0720e978bc83c904298f2c9ed163040", kill_on_drop: false }` [INFO] [stdout] 2394ec663d3e820966fbf7887bce5acda0720e978bc83c904298f2c9ed163040