[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] checking fwcd/RustyGUI/f766bdd2ad820ec834d81af79df021cd07ada160 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwcd%2FRustyGUI" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fwcd/RustyGUI on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] [stderr] Downloaded c_vec v1.3.1 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8c3e32bd9c93cc2319345c46533c2c59ae41403c49221634f27af3263daaed3 [INFO] running `Command { std: "docker" "start" "-a" "d8c3e32bd9c93cc2319345c46533c2c59ae41403c49221634f27af3263daaed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8c3e32bd9c93cc2319345c46533c2c59ae41403c49221634f27af3263daaed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c3e32bd9c93cc2319345c46533c2c59ae41403c49221634f27af3263daaed3", kill_on_drop: false }` [INFO] [stdout] d8c3e32bd9c93cc2319345c46533c2c59ae41403c49221634f27af3263daaed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e09a4281ec5ef17574ef67911989ebc5293390593159f76d224c4d8ee3bfa81 [INFO] running `Command { std: "docker" "start" "-a" "8e09a4281ec5ef17574ef67911989ebc5293390593159f76d224c4d8ee3bfa81", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking c_vec v1.3.1 [INFO] [stderr] Compiling rustygui v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking 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)]` 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: 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)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gui/widgets/button.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | action: Option) + '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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | action: Option) + '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, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | layout: Box, [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, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | widget: Shared, [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>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | dragged: Option>, [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> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | this: Option> [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 + '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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | listeners: Vec + '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:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | action: Option) + '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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | action: Option) + '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, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | layout: Box, [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 [INFO] [stdout] help: if this is an object-safe 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/layouted_widget.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | widget: Shared, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | widget: Shared, [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>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | dragged: Option>, [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> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | this: Option> [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 + '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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | listeners: Vec + 'a>> [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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)) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | fn for_each_child(&mut self, _each: &mut dyn FnMut(RefMut)) {} [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)) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | fn for_each_child(&mut self, _each: &mut FnMut(RefMut)) {} [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)) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | fn for_each_child(&mut self, _each: &mut dyn FnMut(RefMut)) {} [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> { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 | fn this(&self) -> Option> { 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:83:56 [INFO] [stdout] | [INFO] [stdout] 83 | fn for_each_child(&mut self, _each: &mut FnMut(RefMut)) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | fn for_each_child(&mut self, _each: &mut FnMut(RefMut)) {} [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) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn set_this(&mut self, this: WeakShared) { 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/widget.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | fn this(&self) -> Option> { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 | fn this(&self) -> Option> { 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) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn set_this(&mut self, this: WeakShared) { 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/layouts/layout.rs:6:96 [INFO] [stdout] | [INFO] [stdout] 6 | fn arrange(&self, widgets: &mut Vec, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | fn arrange(&self, widgets: &mut Vec, 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/box_layout.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | fn arrange(&self, widgets: &mut Vec, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn arrange(&self, widgets: &mut Vec, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | fn arrange(&self, widgets: &mut Vec, 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/box_layout.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | fn arrange(&self, widgets: &mut Vec, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn arrange(&self, widgets: &mut Vec, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn arrange(&self, widgets: &mut Vec, 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:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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:31:96 [INFO] [stdout] | [INFO] [stdout] 31 | fn arrange(&self, widgets: &mut Vec, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn arrange(&self, widgets: &mut Vec, 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:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn height_of(widget: &RefMut, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn height_of(widget: &RefMut, 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:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | fn height_of(widget: &RefMut, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn height_of(widget: &RefMut, 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/layouts/border_layout.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn width_of(widget: &RefMut, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn height_of(widget: &RefMut, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn height_of(widget: &RefMut, 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/widgets/button.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | fn cloned_action(&self) -> Option) + '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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cloned_action(&self) -> Option) + '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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn for_each_child(&mut self, each: &mut dyn FnMut(RefMut)) { [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)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn for_each_child(&mut self, each: &mut FnMut(RefMut)) { [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>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add(&mut self, listener: Box>) { [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) + '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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cloned_action(&self) -> Option) + '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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn for_each_child(&mut self, each: &mut dyn FnMut(RefMut)) { [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)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn for_each_child(&mut self, each: &mut FnMut(RefMut)) { [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>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add(&mut self, listener: Box>) { [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | fn for_each_child(&mut self, each: &mut dyn FnMut(RefMut)) { [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 [INFO] [stdout] help: if this is an object-safe 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/container.rs:151:55 [INFO] [stdout] | [INFO] [stdout] 151 | fn for_each_child(&mut self, each: &mut FnMut(RefMut)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | fn for_each_child(&mut self, each: &mut FnMut(RefMut)) { [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 [INFO] [stdout] help: if this is an object-safe 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/container.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn set_layout(&mut self, layout: Box) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn set_layout(&mut self, layout: Box) { 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/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 [INFO] [stdout] help: if this is an object-safe 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/container.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_shared(&mut self, child: Shared) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_shared(&mut self, child: Shared) { [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 [INFO] [stdout] help: if this is an object-safe 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:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_shared(&mut self, child: Shared, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_shared(&mut self, child: Shared, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn insert_with_id(&mut self, child: Shared, 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | fn for_each_child(&mut self, each: &mut dyn FnMut(RefMut)) { [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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn of(widget: Shared, 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/container.rs:151:55 [INFO] [stdout] | [INFO] [stdout] 151 | fn for_each_child(&mut self, each: &mut FnMut(RefMut)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | fn for_each_child(&mut self, each: &mut FnMut(RefMut)) { [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 { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn widget(&self) -> Shared { 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 { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn borrow(&self) -> Ref { 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/container.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn set_layout(&mut self, layout: Box) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn set_layout(&mut self, layout: Box) { 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/layouted_widget.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn borrow_mut(&self) -> RefMut { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn borrow_mut(&self) -> RefMut { 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/container.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_shared(&mut self, child: Shared) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_shared(&mut self, child: Shared) { [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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_shared(&mut self, child: Shared, 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn insert_with_id(&mut self, child: Shared, 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/gui.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dragged(&self) -> Option> { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dragged(&self) -> Option> { 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) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_dragged(&mut self, dragged: WeakShared) { 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn of(widget: Shared, 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/base.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn this(&self) -> Option> { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn this(&self) -> Option> { 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) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_this(&mut self, this: WeakShared) { 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/layouted_widget.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn widget(&self) -> Shared { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn widget(&self) -> Shared { 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 { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn borrow(&self) -> Ref { 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 { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn borrow_mut(&self) -> RefMut { 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/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 [INFO] [stdout] help: if this is an object-safe 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/gui.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dragged(&self) -> Option> { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dragged(&self) -> Option> { 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) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_dragged(&mut self, dragged: WeakShared) { 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 [INFO] [stdout] help: if this is an object-safe 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> { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn this(&self) -> Option> { 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) { 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_this(&mut self, this: WeakShared) { 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/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 [INFO] [stdout] help: if this is an object-safe 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:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let mut top: Option> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | let mut top: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | let mut left: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | let mut right: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let mut bottom: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | let mut center: Option> = 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:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let mut top: Option> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | let mut top: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | let mut left: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | let mut right: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let mut bottom: Option> = 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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | let mut center: Option> = 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(mut self, f: F) -> Option 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` [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 = shared_ref.clone() as Shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | let widget_ref: Shared = shared_ref.clone() as Shared; [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 = shared_ref.clone() as Shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | let widget_ref: Shared = shared_ref.clone() as Shared; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::reduce::Reduce` [INFO] [stdout] --> src/gui/widgets/container.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use utils::reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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(mut self, f: F) -> Option 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` [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 = shared_ref.clone() as Shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | let widget_ref: Shared = shared_ref.clone() as Shared; [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 = shared_ref.clone() as Shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | let widget_ref: Shared = shared_ref.clone() as Shared; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::reduce::Reduce` [INFO] [stdout] --> src/gui/widgets/container.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use utils::reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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)]` 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] 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 68 warnings emitted [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 4 previous errors; 68 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to 3 previous errors; 68 warnings emitted [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 test) due to 4 previous errors; 68 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8e09a4281ec5ef17574ef67911989ebc5293390593159f76d224c4d8ee3bfa81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e09a4281ec5ef17574ef67911989ebc5293390593159f76d224c4d8ee3bfa81", kill_on_drop: false }` [INFO] [stdout] 8e09a4281ec5ef17574ef67911989ebc5293390593159f76d224c4d8ee3bfa81