[INFO] fetching crate mold2d 0.0.2...
[INFO] testing mold2d-0.0.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate mold2d 0.0.2 into /workspace/builds/worker-4-tc1/source
[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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate mold2d 0.0.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 26 packages to latest compatible versions
[INFO] [stderr]       Adding sdl2 v0.9.1 (available: v0.38.0)
[INFO] [stderr]       Adding sdl2_image v0.3.0 (available: v0.25.0)
[INFO] [stderr]       Adding sdl2_ttf v0.9.1 (available: v0.25.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitflags v0.3.3
[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 bitflags v0.2.1
[INFO] [stderr]   Downloaded libc v0.1.12
[INFO] [stderr]   Downloaded sdl2 v0.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9239c08f9b24011eae5b20d95574d313bb989e3a54bb660d1b98224dea8e0611
[INFO] running `Command { std: "docker" "start" "-a" "9239c08f9b24011eae5b20d95574d313bb989e3a54bb660d1b98224dea8e0611", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9239c08f9b24011eae5b20d95574d313bb989e3a54bb660d1b98224dea8e0611", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9239c08f9b24011eae5b20d95574d313bb989e3a54bb660d1b98224dea8e0611", kill_on_drop: false }`
[INFO] [stdout] 9239c08f9b24011eae5b20d95574d313bb989e3a54bb660d1b98224dea8e0611
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1dd810a7c2be55fbfffd366f37def47aaa05e6dbeecc9bf229e0904048c2c1e3
[INFO] running `Command { std: "docker" "start" "-a" "1dd810a7c2be55fbfffd366f37def47aaa05e6dbeecc9bf229e0904048c2c1e3", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num-bigint v0.1.45
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling num-complex v0.1.44
[INFO] [stderr]    Compiling num-rational v0.1.43
[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 rand v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num v0.1.43
[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 `Once::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 `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 17 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 42 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 42 +     static ONCE: Once = Once::new();
[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<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]   = 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[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]   |                              ^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |                                                 -> Box<dyn 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:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<dyn Actor<Type, Message>>>,
[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<View>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<dyn View>),
[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<Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<dyn 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:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<dyn 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:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<dyn Actor<Type, Message>>) {
[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<View>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<dyn View>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, 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]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<dyn Actor<Type, Message>>,
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_frame_delay` and `set_fps` are never used
[INFO] [stdout]    --> src/sprite.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl AnimatedSprite {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn set_frame_delay(&mut self, frame_delay: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn set_fps(&mut self, fps: f64) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/events/keyboard_mappings.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let action = token.clone().to_owned();
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.32s
[INFO] running `Command { std: "docker" "inspect" "1dd810a7c2be55fbfffd366f37def47aaa05e6dbeecc9bf229e0904048c2c1e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1dd810a7c2be55fbfffd366f37def47aaa05e6dbeecc9bf229e0904048c2c1e3", kill_on_drop: false }`
[INFO] [stdout] 1dd810a7c2be55fbfffd366f37def47aaa05e6dbeecc9bf229e0904048c2c1e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64d7c45af17567f7eebe070b067eeaaa17c9ca2622630a4c67dc092fb79a2ed0
[INFO] running `Command { std: "docker" "start" "-a" "64d7c45af17567f7eebe070b067eeaaa17c9ca2622630a4c67dc092fb79a2ed0", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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 `Once::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 `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 17 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 42 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 42 +     static ONCE: Once = Once::new();
[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<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]   = 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[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]   |                              ^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |                                                 -> Box<dyn 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:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<dyn Actor<Type, Message>>>,
[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<View>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<dyn View>),
[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<Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<dyn 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:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<dyn 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:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<dyn Actor<Type, Message>>) {
[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<View>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<dyn View>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, 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]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<dyn Actor<Type, Message>>,
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_frame_delay` and `set_fps` are never used
[INFO] [stdout]    --> src/sprite.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl AnimatedSprite {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn set_frame_delay(&mut self, frame_delay: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn set_fps(&mut self, fps: f64) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/events/keyboard_mappings.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let action = token.clone().to_owned();
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mold2d v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs: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 `Once::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 `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 17 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 42 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 42 +     static ONCE: Once = Once::new();
[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<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]   = 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[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]   |                              ^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |                                                 -> Box<dyn 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:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<dyn Actor<Type, Message>>>,
[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<View>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<dyn View>),
[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<Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<dyn 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:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<dyn 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:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<Actor<Type, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<dyn Actor<Type, Message>>) {
[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<View>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<dyn View>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, 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]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<dyn Actor<Type, Message>>,
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_frame_delay` and `set_fps` are never used
[INFO] [stdout]    --> src/sprite.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl AnimatedSprite {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn set_frame_delay(&mut self, frame_delay: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn set_fps(&mut self, fps: f64) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/events/keyboard_mappings.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let action = token.clone().to_owned();
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcpdQ95t/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libsdl2_ttf-2ae30a50d613542b,libbitflags-488ec14e55c1750a,libsdl2_image-0c51c4916a865406,libsdl2-c562dcecc6ef682d,librand-ac6709a0664bd130,libsdl2_sys-a34349c51d405000,libbitflags-2fa2dc27b08124d3,liblibc-4cf835816fce3144,libnum-c2bd4454f8f6844d,libnum_rational-404571bfb451e259,libnum_bigint-b68ae883f0eb7790,librand-f765a919687808fc,libnum_complex-5876b86e28882f0e,librustc_serialize-1ab3403c1596faf4,libnum_iter-739ff038a55c8c6a,libnum_integer-495a495718461c33,libnum_traits-e05972f153d0dad0,liblibc-e2775a15e5abc6fd}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lc" "-lm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcpdQ95t/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mold2d-b2efa9231b1713b5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_ttf
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mold2d` (lib test) due to 1 previous error; 28 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "64d7c45af17567f7eebe070b067eeaaa17c9ca2622630a4c67dc092fb79a2ed0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64d7c45af17567f7eebe070b067eeaaa17c9ca2622630a4c67dc092fb79a2ed0", kill_on_drop: false }`
[INFO] [stdout] 64d7c45af17567f7eebe070b067eeaaa17c9ca2622630a4c67dc092fb79a2ed0
