[INFO] fetching crate mold2d 0.0.2... [INFO] testing mold2d-0.0.2 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.2.1 [INFO] [stderr] Downloaded sdl2_ttf v0.9.1 [INFO] [stderr] Downloaded sdl2_image v0.3.0 [INFO] [stderr] Downloaded sdl2-sys v0.6.2 [INFO] [stderr] Downloaded sdl2 v0.9.1 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e51f60cce780e6681873dc94fe13a3c779a3901328a9e1d5654413be595d0e6 [INFO] running `Command { std: "docker" "start" "-a" "7e51f60cce780e6681873dc94fe13a3c779a3901328a9e1d5654413be595d0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e51f60cce780e6681873dc94fe13a3c779a3901328a9e1d5654413be595d0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e51f60cce780e6681873dc94fe13a3c779a3901328a9e1d5654413be595d0e6", kill_on_drop: false }` [INFO] [stdout] 7e51f60cce780e6681873dc94fe13a3c779a3901328a9e1d5654413be595d0e6 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14374ae942bd00dbc7d64ed7dda4f6d6d4a26ca7ab887f3c6a014eb03fab8f92 [INFO] running `Command { std: "docker" "start" "-a" "14374ae942bd00dbc7d64ed7dda4f6d6d4a26ca7ab887f3c6a014eb03fab8f92", 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 14.42s [INFO] running `Command { std: "docker" "inspect" "14374ae942bd00dbc7d64ed7dda4f6d6d4a26ca7ab887f3c6a014eb03fab8f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14374ae942bd00dbc7d64ed7dda4f6d6d4a26ca7ab887f3c6a014eb03fab8f92", kill_on_drop: false }` [INFO] [stdout] 14374ae942bd00dbc7d64ed7dda4f6d6d4a26ca7ab887f3c6a014eb03fab8f92 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae34748067e10d54673a114823806ba6128ef767a462f2bd0225698ee08e31fe [INFO] running `Command { std: "docker" "start" "-a" "ae34748067e10d54673a114823806ba6128ef767a462f2bd0225698ee08e31fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.mold2d.b2bc3582-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e.4rdf54lcejj4oozh.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libsdl2_ttf-9d2c424f695e760d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-3dd0e6cb11acb781.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-c19fb267742e8f83.rlib" "/opt/rustwide/target/debug/deps/libsdl2-0a16e4477ed624de.rlib" "/opt/rustwide/target/debug/deps/librand-d54953e4322f73ee.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-e2bb91537cff6eb6.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-ab15fe09f20f6bea.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.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/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mold2d-4171ed3348ecbf2e" "-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" "ae34748067e10d54673a114823806ba6128ef767a462f2bd0225698ee08e31fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae34748067e10d54673a114823806ba6128ef767a462f2bd0225698ee08e31fe", kill_on_drop: false }` [INFO] [stdout] ae34748067e10d54673a114823806ba6128ef767a462f2bd0225698ee08e31fe