[INFO] cloning repository https://github.com/fwcd/RustyGUI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fwcd/RustyGUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f766bdd2ad820ec834d81af79df021cd07ada160
[INFO] testing fwcd/RustyGUI against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fwcd/RustyGUI
[INFO] finished tweaking git repo https://github.com/fwcd/RustyGUI
[INFO] tweaked toml for git repo https://github.com/fwcd/RustyGUI written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fwcd/RustyGUI on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fwcd/RustyGUI already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustygui` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1
[INFO] running `Command { std: "docker" "start" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustygui` (manifest) generated 1 warning
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling c_vec v1.3.1
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling rustygui v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling simple_logger v0.5.0
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling sdl2 v0.31.0
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]  --> src/utils/math.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 |     if value <= 0 { 0u32 } else { (value as u32) }
[INFO] [stdout]   |                                   ^            ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 2 -     if value <= 0 { 0u32 } else { (value as u32) }
[INFO] [stdout] 2 +     if value <= 0 { 0u32 } else { value as u32 }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32`
[INFO] [stdout]   --> src/gui/widgets/slider.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |             old_value: f32::INFINITY,
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/button.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 |     action: Option<Shared<Fn(&mut Button<'a>) + 'a>>,
[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] 16 |     action: Option<Shared<dyn Fn(&mut Button<'a>) + 'a>>,
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/container.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |     layout: Box<Layout>,
[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] 21 |     layout: Box<dyn Layout>,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui/widgets/layouted_widget.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     widget: Shared<Widget>,
[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 |     widget: Shared<dyn Widget>,
[INFO] [stdout]   |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/gui.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |     dragged: Option<WeakShared<Widget>>,
[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] 20 |     dragged: Option<WeakShared<dyn Widget>>,
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/base.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     this: Option<WeakShared<Widget>>
[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 |     this: Option<WeakShared<dyn Widget>>
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/utils/listener.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     listeners: Vec<Box<Listener<E> + 'a>>
[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] 8 |     listeners: Vec<Box<dyn Listener<E> + 'a>>
[INFO] [stdout]   |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/box_layout.rs:26:96
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn arrange(&self, widgets: &mut Vec<LayoutedWidget>, parent_bounds: &WidgetBounds, graphics: &Graphics) {
[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] 26 |     fn arrange(&self, widgets: &mut Vec<LayoutedWidget>, parent_bounds: &WidgetBounds, graphics: &dyn Graphics) {
[INFO] [stdout]    |                                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui/widgets/layouts/layout.rs:6:96
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn arrange(&self, widgets: &mut Vec<LayoutedWidget>, parent_bounds: &WidgetBounds, graphics: &Graphics);
[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] 6 |     fn arrange(&self, widgets: &mut Vec<LayoutedWidget>, parent_bounds: &WidgetBounds, graphics: &dyn Graphics);
[INFO] [stdout]   |                                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:31:96
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn arrange(&self, widgets: &mut Vec<LayoutedWidget>, parent_bounds: &WidgetBounds, graphics: &Graphics) {
[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] 31 |     fn arrange(&self, widgets: &mut Vec<LayoutedWidget>, parent_bounds: &WidgetBounds, graphics: &dyn Graphics) {
[INFO] [stdout]    |                                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget_gui_app.rs:34:38
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn render(&mut self, graphics: &mut Graphics) { self.gui.borrow_mut().render(graphics) }
[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] 34 |     fn render(&mut self, graphics: &mut dyn Graphics) { self.gui.borrow_mut().render(graphics) }
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/core/gui_application.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn render(&mut self, _graphics: &mut Graphics) {}
[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 |     fn render(&mut self, _graphics: &mut dyn Graphics) {}
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn render(&mut self, graphics: &mut Graphics, theme: &Theme);
[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] 20 |     fn render(&mut self, graphics: &mut dyn Graphics, theme: &Theme);
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn preferred_size(&self, graphics: &Graphics) -> Size;
[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] 22 |     fn preferred_size(&self, graphics: &dyn Graphics) -> Size;
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:26:40
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn preferred_bounds(&self, graphics: &Graphics) -> WidgetBounds {
[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] 26 |     fn preferred_bounds(&self, graphics: &dyn Graphics) -> WidgetBounds {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:50:48
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn update_layout_deeply(&mut self, graphics: &Graphics) {
[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] 50 |     fn update_layout_deeply(&mut self, graphics: &dyn Graphics) {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:57:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn update_layout(&mut self, graphics: &Graphics) {
[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 |     fn update_layout(&mut self, graphics: &dyn Graphics) {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:67:54
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn internal_on_update_layout(&mut self, _graphics: &Graphics) {}
[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 |     fn internal_on_update_layout(&mut self, _graphics: &dyn Graphics) {}
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:69:51
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn update_layout_if_needed(&mut self, graphics: &Graphics) {
[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] 69 |     fn update_layout_if_needed(&mut self, graphics: &dyn Graphics) {
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn for_each_child(&mut self, _each: &mut FnMut(RefMut<Widget>)) {}
[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] 83 |     fn for_each_child(&mut self, _each: &mut dyn FnMut(RefMut<Widget>)) {}
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/widget.rs:83:56
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn for_each_child(&mut self, _each: &mut FnMut(RefMut<Widget>)) {}
[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] 83 |     fn for_each_child(&mut self, _each: &mut FnMut(RefMut<dyn Widget>)) {}
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/widget.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn this(&self) -> Option<WeakShared<Widget>> { self.base().this() }
[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] 127 |     fn this(&self) -> Option<WeakShared<dyn Widget>> { self.base().this() }
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/widget.rs:129:42
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn set_this(&mut self, this: WeakShared<Widget>) { self.base_mut().set_this(this) }
[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] 129 |     fn set_this(&mut self, this: WeakShared<dyn Widget>) { self.base_mut().set_this(this) }
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/button.rs:58:43
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn cloned_action(&self) -> Option<Shared<Fn(&mut Button<'a>) + 'a>> {
[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] 58 |     fn cloned_action(&self) -> Option<Shared<dyn Fn(&mut Button<'a>) + 'a>> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/button.rs:64:38
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn render(&mut self, graphics: &mut Graphics, theme: &Theme) {
[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] 64 |     fn render(&mut self, graphics: &mut dyn Graphics, theme: &Theme) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/button.rs:82:38
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn preferred_size(&self, graphics: &Graphics) -> Size {
[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] 82 |     fn preferred_size(&self, graphics: &dyn Graphics) -> Size {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/button.rs:102:42
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn for_each_child(&mut self, each: &mut FnMut(RefMut<Widget>)) {
[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] 102 |     fn for_each_child(&mut self, each: &mut dyn FnMut(RefMut<Widget>)) {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/button.rs:102:55
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn for_each_child(&mut self, each: &mut FnMut(RefMut<Widget>)) {
[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] 102 |     fn for_each_child(&mut self, each: &mut FnMut(RefMut<dyn Widget>)) {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils/listener.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn add(&mut self, listener: Box<Listener<E>>) {
[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] 16 |     pub fn add(&mut self, listener: Box<dyn Listener<E>>) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/slider.rs:83:38
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn render(&mut self, graphics: &mut Graphics, theme: &Theme) {
[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] 83 |     fn render(&mut self, graphics: &mut dyn Graphics, theme: &Theme) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/slider.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn preferred_size(&self, _graphics: &Graphics) -> Size { self.preferred_size }
[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] 103 |     fn preferred_size(&self, _graphics: &dyn Graphics) -> Size { self.preferred_size }
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/label.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn render(&mut self, graphics: &mut Graphics, theme: &Theme) {
[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] 33 |     fn render(&mut self, graphics: &mut dyn Graphics, theme: &Theme) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/label.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn preferred_size(&self, graphics: &Graphics) -> Size {
[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] 38 |     fn preferred_size(&self, graphics: &dyn Graphics) -> Size {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/empty.rs:16:39
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn render(&mut self, _graphics: &mut Graphics, _theme: &Theme) {}
[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] 16 |     fn render(&mut self, _graphics: &mut dyn Graphics, _theme: &Theme) {}
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/empty.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn preferred_size(&self, _graphics: &Graphics) -> Size { Size::of(0, 0) }
[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] 18 |     fn preferred_size(&self, _graphics: &dyn Graphics) -> Size { Size::of(0, 0) }
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/container.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn render(&mut self, graphics: &mut Graphics, theme: &Theme) {
[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] 125 |     fn render(&mut self, graphics: &mut dyn Graphics, theme: &Theme) {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/container.rs:138:38
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn preferred_size(&self, graphics: &Graphics) -> Size {
[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] 138 |     fn preferred_size(&self, graphics: &dyn Graphics) -> Size {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/container.rs:146:53
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn internal_on_update_layout(&mut self, graphics: &Graphics) {
[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] 146 |     fn internal_on_update_layout(&mut self, graphics: &dyn Graphics) {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/container.rs:151:42
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn for_each_child(&mut self, each: &mut FnMut(RefMut<Widget>)) {
[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] 151 |     fn for_each_child(&mut self, each: &mut dyn FnMut(RefMut<Widget>)) {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/container.rs:151:55
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn for_each_child(&mut self, each: &mut FnMut(RefMut<Widget>)) {
[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] 151 |     fn for_each_child(&mut self, each: &mut FnMut(RefMut<dyn Widget>)) {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/sdl2/mainloop.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run_gui_app(app: &mut GUIApplication) {
[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] 14 | pub fn run_gui_app(app: &mut dyn GUIApplication) {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:21:30
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn width_of(widget: &RefMut<Widget>, max_width: u32, graphics: &Graphics) -> u32 {
[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] 21 |     fn width_of(widget: &RefMut<dyn Widget>, max_width: u32, graphics: &Graphics) -> u32 {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:21:66
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn width_of(widget: &RefMut<Widget>, max_width: u32, graphics: &Graphics) -> u32 {
[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] 21 |     fn width_of(widget: &RefMut<Widget>, max_width: u32, graphics: &dyn Graphics) -> u32 {
[INFO] [stdout]    |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn height_of(widget: &RefMut<Widget>, max_height: u32, graphics: &Graphics) -> u32 {
[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] 25 |     fn height_of(widget: &RefMut<dyn Widget>, max_height: u32, graphics: &Graphics) -> u32 {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:25:68
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn height_of(widget: &RefMut<Widget>, max_height: u32, graphics: &Graphics) -> u32 {
[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] 25 |     fn height_of(widget: &RefMut<Widget>, max_height: u32, graphics: &dyn Graphics) -> u32 {
[INFO] [stdout]    |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/container.rs:43:43
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn set_layout(&mut self, layout: Box<Layout>) { self.layout = layout }
[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] 43 |     pub fn set_layout(&mut self, layout: Box<dyn Layout>) { self.layout = layout }
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/container.rs:65:45
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn add_shared(&mut self, child: Shared<Widget>) {
[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] 65 |     pub fn add_shared(&mut self, child: Shared<dyn Widget>) {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/container.rs:69:48
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn insert_shared(&mut self, child: Shared<Widget>, layout_hint: &str) {
[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] 69 |     pub fn insert_shared(&mut self, child: Shared<dyn Widget>, layout_hint: &str) {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/container.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn insert_with_id(&mut self, child: Shared<Widget>, layout_hint: &str, id: i32) {
[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] 75 |     pub fn insert_with_id(&mut self, child: Shared<dyn Widget>, layout_hint: &str, id: i32) {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gui/widgets/container.rs:108:46
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn compute_preferred_size(&self, graphics: &Graphics) -> Size {
[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] 108 |     fn compute_preferred_size(&self, graphics: &dyn Graphics) -> Size {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouted_widget.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn of(widget: Shared<Widget>, layout_hint: &str, id: i32) -> Self {
[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 |     pub fn of(widget: Shared<dyn Widget>, layout_hint: &str, id: i32) -> Self {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouted_widget.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn widget(&self) -> Shared<Widget> { self.widget.clone() }
[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] 21 |     pub fn widget(&self) -> Shared<dyn Widget> { self.widget.clone() }
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouted_widget.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn borrow(&self) -> Ref<Widget> { self.widget.borrow() }
[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] 23 |     pub fn borrow(&self) -> Ref<dyn Widget> { self.widget.borrow() }
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouted_widget.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn borrow_mut(&self) -> RefMut<Widget> { self.widget.borrow_mut() }
[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] 25 |     pub fn borrow_mut(&self) -> RefMut<dyn Widget> { self.widget.borrow_mut() }
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/gui.rs:65:45
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn dragged(&self) -> Option<WeakShared<Widget>> { self.dragged.as_ref().map(|it| it.clone()) }
[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] 65 |     pub fn dragged(&self) -> Option<WeakShared<dyn Widget>> { self.dragged.as_ref().map(|it| it.clone()) }
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/gui.rs:67:52
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn set_dragged(&mut self, dragged: WeakShared<Widget>) { self.dragged = Some(dragged) }
[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 |     pub fn set_dragged(&mut self, dragged: WeakShared<dyn Widget>) { self.dragged = Some(dragged) }
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/gui.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn render(&mut self, graphics: &mut Graphics) {
[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] 69 |     pub fn render(&mut self, graphics: &mut dyn Graphics) {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/base.rs:55:42
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn this(&self) -> Option<WeakShared<Widget>> { self.this.as_ref().map(|it| it.clone()) }
[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] 55 |     pub fn this(&self) -> Option<WeakShared<dyn Widget>> { self.this.as_ref().map(|it| it.clone()) }
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/base.rs:57:46
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn set_this(&mut self, this: WeakShared<Widget>) { self.this = Some(this) }
[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 set_this(&mut self, this: WeakShared<dyn Widget>) { self.this = Some(this) }
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut top: Option<RefMut<Widget>> = None;
[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] 32 |         let mut top: Option<RefMut<dyn Widget>> = None;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:33:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut left: Option<RefMut<Widget>> = None;
[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] 33 |         let mut left: Option<RefMut<dyn Widget>> = None;
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut right: Option<RefMut<Widget>> = None;
[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] 34 |         let mut right: Option<RefMut<dyn Widget>> = None;
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:35:33
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut bottom: Option<RefMut<Widget>> = None;
[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] 35 |         let mut bottom: Option<RefMut<dyn Widget>> = None;
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/gui/widgets/layouts/border_layout.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut center: Option<RefMut<Widget>> = None;
[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] 36 |         let mut center: Option<RefMut<dyn Widget>> = None;
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/gui/widgets/container.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |             .reduce(|a, b| a.merge(b))
[INFO] [stdout]     |              ^^^^^^ multiple `reduce` found
[INFO] [stdout]     |
[INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I`
[INFO] [stdout]    --> src/utils/reduce.rs:17:2
[INFO] [stdout]     |
[INFO] [stdout]  17 |     fn reduce<F>(mut self, f: F) -> Option<T> where Self: Sized, F: FnMut(T, T) -> T {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map<I, F>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]     |
[INFO] [stdout] 109 ~         Reduce::reduce(self.childs.iter()
[INFO] [stdout] 110 ~             .map(|child| child.borrow().preferred_bounds(graphics).rect()), |a, b| a.merge(b))
[INFO] [stdout]     |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]     |
[INFO] [stdout] 109 ~         Iterator::reduce(self.childs.iter()
[INFO] [stdout] 110 ~             .map(|child| child.borrow().preferred_bounds(graphics).rect()), |a, b| a.merge(b))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui/widgets/widget_utils.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let widget_ref: Shared<Widget> = shared_ref.clone() as Shared<Widget>;
[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] 8 |         let widget_ref: Shared<dyn Widget> = shared_ref.clone() as Shared<Widget>;
[INFO] [stdout]   |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui/widgets/widget_utils.rs:8:65
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let widget_ref: Shared<Widget> = shared_ref.clone() as Shared<Widget>;
[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] 8 |         let widget_ref: Shared<Widget> = shared_ref.clone() as Shared<dyn Widget>;
[INFO] [stdout]   |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/gui/widgets/container.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let mut child_widget = child.widget();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `texture_creator` does not live long enough
[INFO] [stdout]   --> src/gui/sdl2/sdl2_graphics.rs:93:68
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl <'g> Graphics for SDL2Graphics<'g> {
[INFO] [stdout]    |       -- lifetime `'g` defined here
[INFO] [stdout] ...
[INFO] [stdout] 92 |         let texture_creator = self.canvas.texture_creator();
[INFO] [stdout]    |             --------------- binding `texture_creator` declared here
[INFO] [stdout] 93 |         let texture = Self::string_to_texture(&self.ttf, self.font_path, &texture_creator, text, params, self.canvas.draw_color());
[INFO] [stdout]    |                       ---------------------------------------------------^^^^^^^^^^^^^^^^-----------------------------------------
[INFO] [stdout]    |                       |                                                  |
[INFO] [stdout]    |                       |                                                  borrowed value does not live long enough
[INFO] [stdout]    |                       argument requires that `texture_creator` is borrowed for `'g`
[INFO] [stdout] 94 |         Self::texture_size(&texture)
[INFO] [stdout] 95 |     }
[INFO] [stdout]    |     - `texture_creator` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `texture_creator` does not live long enough
[INFO] [stdout]    --> src/gui/sdl2/sdl2_graphics.rs:109:68
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl <'g> Graphics for SDL2Graphics<'g> {
[INFO] [stdout]     |       -- lifetime `'g` defined here
[INFO] [stdout] ...
[INFO] [stdout] 108 |         let texture_creator = self.canvas.texture_creator();
[INFO] [stdout]     |             --------------- binding `texture_creator` declared here
[INFO] [stdout] 109 |         let texture = Self::string_to_texture(&self.ttf, self.font_path, &texture_creator, text, params, sdl2_color_of(params.color().unwrap_or(APIColor::black())));
[INFO] [stdout]     |                       ---------------------------------------------------^^^^^^^^^^^^^^^^---------------------------------------------------------------------------
[INFO] [stdout]     |                       |                                                  |
[INFO] [stdout]     |                       |                                                  borrowed value does not live long enough
[INFO] [stdout]     |                       argument requires that `texture_creator` is borrowed for `'g`
[INFO] [stdout] ...
[INFO] [stdout] 114 |     }
[INFO] [stdout]     |     - `texture_creator` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0034, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0034`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustygui` (lib) due to 3 previous errors; 68 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1", kill_on_drop: false }`
[INFO] [stdout] 9dc04725cc66484647b02903bde0a270f2f25ada94333fe7f3cccb44ad9a37c1
