[INFO] fetching crate mold2d 0.0.2...
[INFO] testing mold2d-0.0.2 against 1.55.0 for beta-1.56-1
[INFO] extracting crate mold2d 0.0.2 into /workspace/builds/worker-95/source
[INFO] validating manifest of crates.io crate mold2d 0.0.2 on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-95/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-sys v0.6.2
[INFO] [stderr]   Downloaded sdl2_image v0.3.0
[INFO] [stderr]   Downloaded sdl2 v0.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 984e3cffaaf99aac9cf180fcc1cbfc800d44614d4c7bae45babb763a619898a0
[INFO] running `Command { std: "docker" "start" "-a" "984e3cffaaf99aac9cf180fcc1cbfc800d44614d4c7bae45babb763a619898a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "984e3cffaaf99aac9cf180fcc1cbfc800d44614d4c7bae45babb763a619898a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "984e3cffaaf99aac9cf180fcc1cbfc800d44614d4c7bae45babb763a619898a0", kill_on_drop: false }`
[INFO] [stdout] 984e3cffaaf99aac9cf180fcc1cbfc800d44614d4c7bae45babb763a619898a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87d854b0582759ade273f32ed5862e493f5e956eb2844e62f575935aef28bc1d
[INFO] running `Command { std: "docker" "start" "-a" "87d854b0582759ade273f32ed5862e493f5e956eb2844e62f575935aef28bc1d", kill_on_drop: false }`
[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-traits v0.2.14
[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-complex v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.1.44
[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_image v0.3.0
[INFO] [stderr]    Compiling sdl2_ttf v0.9.1
[INFO] [stderr]    Compiling mold2d v0.0.2 (/opt/rustwide/workdir)
[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<Type, Message> = Box<Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |  ______________________________________________^
[INFO] [stdout] 7 | |                                                 -> Box<Actor<Type, 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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout] 7 |                                                 -> Box<Actor<Type, Message>>>;
[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<Actor<Type, Message>>>;
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<i32, Box<Actor<Type, Message>>>,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<View>
[INFO] [stdout]    |                                      ^^^^ help: use `dyn`: `dyn View`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |                                                 &mut ActorManager<Type, Message>,
[INFO] [stdout] 58 | |                                                 &mut Viewport,
[INFO] [stdout] 59 | |                                                 &mut Context,
[INFO] [stdout] 60 | |                                                 &Message)>;
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout] 57 |                                                 &mut ActorManager<Type, Message>,
[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<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<View>),
[INFO] [stdout]    |                    ^^^^ help: use `dyn`: `dyn View`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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: 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 10.94s
[INFO] running `Command { std: "docker" "inspect" "87d854b0582759ade273f32ed5862e493f5e956eb2844e62f575935aef28bc1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87d854b0582759ade273f32ed5862e493f5e956eb2844e62f575935aef28bc1d", kill_on_drop: false }`
[INFO] [stdout] 87d854b0582759ade273f32ed5862e493f5e956eb2844e62f575935aef28bc1d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd6b247d1edc2a605fdc5e8a888d19e0cd0754bddcc3f1f210b388f7a697a21f
[INFO] running `Command { std: "docker" "start" "-a" "fd6b247d1edc2a605fdc5e8a888d19e0cd0754bddcc3f1f210b388f7a697a21f", kill_on_drop: false }`
[INFO] [stderr]    Compiling mold2d v0.0.2 (/opt/rustwide/workdir)
[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<Type, Message> = Box<Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |  ______________________________________________^
[INFO] [stdout] 7 | |                                                 -> Box<Actor<Type, 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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout] 7 |                                                 -> Box<Actor<Type, Message>>>;
[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<Actor<Type, Message>>>;
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<i32, Box<Actor<Type, Message>>>,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<View>
[INFO] [stdout]    |                                      ^^^^ help: use `dyn`: `dyn View`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |                                                 &mut ActorManager<Type, Message>,
[INFO] [stdout] 58 | |                                                 &mut Viewport,
[INFO] [stdout] 59 | |                                                 &mut Context,
[INFO] [stdout] 60 | |                                                 &Message)>;
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout] 57 |                                                 &mut ActorManager<Type, Message>,
[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<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<View>),
[INFO] [stdout]    |                    ^^^^ help: use `dyn`: `dyn View`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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: 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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 |   pub type ActorFromToken<Type, Message> = Box<Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |  ______________________________________________^
[INFO] [stdout] 7 | |                                                 -> Box<Actor<Type, 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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout] 7 |                                                 -> Box<Actor<Type, Message>>>;
[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<Actor<Type, Message>>>;
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<i32, Box<Actor<Type, Message>>>,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<View>
[INFO] [stdout]    |                                      ^^^^ help: use `dyn`: `dyn View`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |                                                 &mut ActorManager<Type, Message>,
[INFO] [stdout] 58 | |                                                 &mut Viewport,
[INFO] [stdout] 59 | |                                                 &mut Context,
[INFO] [stdout] 60 | |                                                 &Message)>;
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout] 57 |                                                 &mut ActorManager<Type, Message>,
[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<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Actor<Type, Message>`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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<View>),
[INFO] [stdout]    |                    ^^^^ help: use `dyn`: `dyn View`
[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 issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[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: 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-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.mold2d.af2f01d9-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6.2quoc09ewcwp67ei.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ae0b9de85e81d76f.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-dd17e7b765638f54.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e55ce254123a1c62.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c91921c83bf98d74.rlib" "/opt/rustwide/target/debug/deps/libsdl2_ttf-de2606644c58a6dd.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6f757e815b49f6f3.rlib" "/opt/rustwide/target/debug/deps/libsdl2_image-4d26c4e9e48f6d42.rlib" "/opt/rustwide/target/debug/deps/libsdl2-ae211631ec97af41.rlib" "/opt/rustwide/target/debug/deps/librand-e923541b005b113c.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-4cd2551298774511.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c42b8999d463809c.rlib" "/opt/rustwide/target/debug/deps/liblibc-8d368ba110d76753.rlib" "/opt/rustwide/target/debug/deps/libnum-07357f9dfb2e98ce.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-acc48155899090b4.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-08914681578e1654.rlib" "/opt/rustwide/target/debug/deps/librand-b503f64fe767ccd3.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-16d1c858e21fd796.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-d502c4cc34a0f1bf.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-25b3d39e048407a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cc97572375c3091b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7b6445d372d84407.rlib" "/opt/rustwide/target/debug/deps/liblibc-7085dace614ae946.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mold2d-7b2bef3c5d0cfed6" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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" "fd6b247d1edc2a605fdc5e8a888d19e0cd0754bddcc3f1f210b388f7a697a21f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd6b247d1edc2a605fdc5e8a888d19e0cd0754bddcc3f1f210b388f7a697a21f", kill_on_drop: false }`
[INFO] [stdout] fd6b247d1edc2a605fdc5e8a888d19e0cd0754bddcc3f1f210b388f7a697a21f
