[INFO] fetching crate mold2d 0.0.2... [INFO] testing mold2d-0.0.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mold2d 0.0.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mold2d 0.0.2 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 crates.io crate mold2d 0.0.2 [INFO] finished tweaking crates.io crate mold2d 0.0.2 [INFO] tweaked toml for crates.io crate mold2d 0.0.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] ecf620d091bf3b53c7d1dfeb6c41e86a9b43c4bcbcf516e9084eaf72eaea9d48 [INFO] running `Command { std: "docker" "start" "-a" "ecf620d091bf3b53c7d1dfeb6c41e86a9b43c4bcbcf516e9084eaf72eaea9d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf620d091bf3b53c7d1dfeb6c41e86a9b43c4bcbcf516e9084eaf72eaea9d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf620d091bf3b53c7d1dfeb6c41e86a9b43c4bcbcf516e9084eaf72eaea9d48", kill_on_drop: false }` [INFO] [stdout] ecf620d091bf3b53c7d1dfeb6c41e86a9b43c4bcbcf516e9084eaf72eaea9d48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 20fe42aad9b038e3258202e2265027abc6792586e46589ffeee751f22b5ef4b2 [INFO] running `Command { std: "docker" "start" "-a" "20fe42aad9b038e3258202e2265027abc6792586e46589ffeee751f22b5ef4b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling sdl2-sys v0.6.2 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling bitflags v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.9.1 [INFO] [stderr] Compiling sdl2_ttf v0.9.1 [INFO] [stderr] Compiling sdl2_image v0.3.0 [INFO] [stderr] Compiling mold2d v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let sdl_context = try!(sdl2::init()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let video = try!(sdl_context.video()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut timer = try!(sdl_context.timer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let sdl_window = try!(video.window(window.title, window.width, window.height) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let sdl_renderer = try!(sdl_window.renderer().accelerated().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | ... Events::new(try!(sdl_context.event_pump()), ""), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let surface = try!(font.render(text, sdl2_ttf::blended(color))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let texture = try!(renderer.create_texture_from_surface(&surface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let font = try!(Font::from_file(Path::new(font_path), size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | let surface = try!(font.render(text, sdl2_ttf::blended(color))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let texture = try!(renderer.create_texture_from_surface(&surface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/level.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | for token in try!(line).chars() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex, ONCE_INIT, Once}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub type MessageHandler = Box>, [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 57 | | &mut ActorManager, [INFO] [stdout] 58 | | &mut Viewport, [INFO] [stdout] 59 | | &mut Context, [INFO] [stdout] 60 | | &Message)>; [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] 56 ~ pub type MessageHandler = Box>, [INFO] [stdout] 57 | &mut ActorManager, [INFO] [stdout] 58 | &mut Viewport, [INFO] [stdout] 59 | &mut Context, [INFO] [stdout] 60 ~ &Message)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | pub type MessageHandler = Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - pub type MessageHandler = Box>, [INFO] [stdout] 56 + pub type MessageHandler = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub actors: HashMap>>, [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] 11 - pub actors: HashMap>>, [INFO] [stdout] 11 + pub actors: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | pub type ActorFromToken = Box Box>>; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 ~ pub type ActorFromToken = Box Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | ... -> Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - -> Box>>; [INFO] [stdout] 7 + -> Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - ChangeView(Box), [INFO] [stdout] 67 + ChangeView(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn temp_remove(&mut self, id: i32) -> 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] 46 - pub fn temp_remove(&mut self, id: i32) -> Option>> { [INFO] [stdout] 46 + pub fn temp_remove(&mut self, id: i32) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] 52 + pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] 57 + pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop/mod.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | where F: Fn(&mut Context) -> Box [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - where F: Fn(&mut Context) -> Box [INFO] [stdout] 13 + where F: Fn(&mut Context) -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_frame_delay` [INFO] [stdout] --> src/sprite.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn set_frame_delay(&mut self, frame_delay: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_fps` [INFO] [stdout] --> src/sprite.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn set_fps(&mut self, fps: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "20fe42aad9b038e3258202e2265027abc6792586e46589ffeee751f22b5ef4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fe42aad9b038e3258202e2265027abc6792586e46589ffeee751f22b5ef4b2", kill_on_drop: false }` [INFO] [stdout] 20fe42aad9b038e3258202e2265027abc6792586e46589ffeee751f22b5ef4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] a2233eec9c9a89f0468a481f7106fb380c624250d99f9c7c8002f42ccf7f267d [INFO] running `Command { std: "docker" "start" "-a" "a2233eec9c9a89f0468a481f7106fb380c624250d99f9c7c8002f42ccf7f267d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let sdl_context = try!(sdl2::init()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mold2d v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let video = try!(sdl_context.video()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut timer = try!(sdl_context.timer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let sdl_window = try!(video.window(window.title, window.width, window.height) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let sdl_renderer = try!(sdl_window.renderer().accelerated().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | ... Events::new(try!(sdl_context.event_pump()), ""), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let surface = try!(font.render(text, sdl2_ttf::blended(color))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let texture = try!(renderer.create_texture_from_surface(&surface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let font = try!(Font::from_file(Path::new(font_path), size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | let surface = try!(font.render(text, sdl2_ttf::blended(color))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let texture = try!(renderer.create_texture_from_surface(&surface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/level.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | for token in try!(line).chars() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex, ONCE_INIT, Once}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub type MessageHandler = Box>, [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 57 | | &mut ActorManager, [INFO] [stdout] 58 | | &mut Viewport, [INFO] [stdout] 59 | | &mut Context, [INFO] [stdout] 60 | | &Message)>; [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] 56 ~ pub type MessageHandler = Box>, [INFO] [stdout] 57 | &mut ActorManager, [INFO] [stdout] 58 | &mut Viewport, [INFO] [stdout] 59 | &mut Context, [INFO] [stdout] 60 ~ &Message)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | pub type MessageHandler = Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - pub type MessageHandler = Box>, [INFO] [stdout] 56 + pub type MessageHandler = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub actors: HashMap>>, [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] 11 - pub actors: HashMap>>, [INFO] [stdout] 11 + pub actors: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | pub type ActorFromToken = Box Box>>; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 ~ pub type ActorFromToken = Box Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | ... -> Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - -> Box>>; [INFO] [stdout] 7 + -> Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - ChangeView(Box), [INFO] [stdout] 67 + ChangeView(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn temp_remove(&mut self, id: i32) -> 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] 46 - pub fn temp_remove(&mut self, id: i32) -> Option>> { [INFO] [stdout] 46 + pub fn temp_remove(&mut self, id: i32) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] 52 + pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] 57 + pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop/mod.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | where F: Fn(&mut Context) -> Box [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - where F: Fn(&mut Context) -> Box [INFO] [stdout] 13 + where F: Fn(&mut Context) -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_frame_delay` [INFO] [stdout] --> src/sprite.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn set_frame_delay(&mut self, frame_delay: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_fps` [INFO] [stdout] --> src/sprite.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn set_fps(&mut self, fps: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let sdl_context = try!(sdl2::init()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let video = try!(sdl_context.video()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut timer = try!(sdl_context.timer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let sdl_window = try!(video.window(window.title, window.width, window.height) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let sdl_renderer = try!(sdl_window.renderer().accelerated().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop/mod.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | ... Events::new(try!(sdl_context.event_pump()), ""), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let surface = try!(font.render(text, sdl2_ttf::blended(color))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let texture = try!(renderer.create_texture_from_surface(&surface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let font = try!(Font::from_file(Path::new(font_path), size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | let surface = try!(font.render(text, sdl2_ttf::blended(color))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/font.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let texture = try!(renderer.create_texture_from_surface(&surface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/level.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | for token in try!(line).chars() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex, ONCE_INIT, Once}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cache.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub type MessageHandler = Box>, [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 57 | | &mut ActorManager, [INFO] [stdout] 58 | | &mut Viewport, [INFO] [stdout] 59 | | &mut Context, [INFO] [stdout] 60 | | &Message)>; [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] 56 ~ pub type MessageHandler = Box>, [INFO] [stdout] 57 | &mut ActorManager, [INFO] [stdout] 58 | &mut Viewport, [INFO] [stdout] 59 | &mut Context, [INFO] [stdout] 60 ~ &Message)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | pub type MessageHandler = Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - pub type MessageHandler = Box>, [INFO] [stdout] 56 + pub type MessageHandler = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub actors: HashMap>>, [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] 11 - pub actors: HashMap>>, [INFO] [stdout] 11 + pub actors: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | pub type ActorFromToken = Box Box>>; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 ~ pub type ActorFromToken = Box Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | ... -> Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - -> Box>>; [INFO] [stdout] 7 + -> Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - ChangeView(Box), [INFO] [stdout] 67 + ChangeView(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn temp_remove(&mut self, id: i32) -> 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] 46 - pub fn temp_remove(&mut self, id: i32) -> Option>> { [INFO] [stdout] 46 + pub fn temp_remove(&mut self, id: i32) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] 52 + pub fn get_mut(&mut self, id: i32) -> Option<&mut Box>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor_manager.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] 57 + pub fn temp_reinsert(&mut self, id: i32, actor: Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop/mod.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | where F: Fn(&mut Context) -> Box [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - where F: Fn(&mut Context) -> Box [INFO] [stdout] 13 + where F: Fn(&mut Context) -> Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/raycast.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let side = shorten_ray(&mut segment, &rect); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_frame_delay` [INFO] [stdout] --> src/sprite.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn set_frame_delay(&mut self, frame_delay: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_fps` [INFO] [stdout] --> src/sprite.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn set_fps(&mut self, fps: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.mold2d.46e84704-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00.51golamsyfvjwv7l.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libsdl2_ttf-a603ed47c0398f6a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c76db72624818620.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-0aa169ffd0c3b4c1.rlib" "/opt/rustwide/target/debug/deps/libsdl2-c53010efb8fc0bb3.rlib" "/opt/rustwide/target/debug/deps/librand-3a4cee32181de93d.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-bc32cee219b9ba77.rlib" "/opt/rustwide/target/debug/deps/libbitflags-2ebdd66e800270e7.rlib" "/opt/rustwide/target/debug/deps/liblibc-efab166e83968231.rlib" "/opt/rustwide/target/debug/deps/libnum-daba9600991bf25e.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-656078d2a79a397f.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-70132453c4198453.rlib" "/opt/rustwide/target/debug/deps/librand-852037803bfa02a9.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-4a44f0cb1f636118.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-bdf045fabfc65aef.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-13a0a61122c89ff9.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-64bfb6aabf0b0609.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c8218129049a6c67.rlib" "/opt/rustwide/target/debug/deps/liblibc-44afddf82674132d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lc" "-lm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mold2d-48a14c67c6458c00" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mold2d` due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2233eec9c9a89f0468a481f7106fb380c624250d99f9c7c8002f42ccf7f267d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2233eec9c9a89f0468a481f7106fb380c624250d99f9c7c8002f42ccf7f267d", kill_on_drop: false }` [INFO] [stdout] a2233eec9c9a89f0468a481f7106fb380c624250d99f9c7c8002f42ccf7f267d