[INFO] fetching crate rustty-oxide 0.1.0... [INFO] testing rustty-oxide-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rustty-oxide 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate rustty-oxide 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustty-oxide 0.1.0 [INFO] finished tweaking crates.io crate rustty-oxide 0.1.0 [INFO] tweaked toml for crates.io crate rustty-oxide 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 046bd8170c764c673a34077e44958108f3583ea8d2ab6d3ae6429ac05cc31272 [INFO] running `Command { std: "docker" "start" "-a" "046bd8170c764c673a34077e44958108f3583ea8d2ab6d3ae6429ac05cc31272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "046bd8170c764c673a34077e44958108f3583ea8d2ab6d3ae6429ac05cc31272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "046bd8170c764c673a34077e44958108f3583ea8d2ab6d3ae6429ac05cc31272", kill_on_drop: false }` [INFO] [stdout] 046bd8170c764c673a34077e44958108f3583ea8d2ab6d3ae6429ac05cc31272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ae9376cc289021f50aaafe617d212ea9328595cbc9d0e62ce7f0e6ee0a878a6 [INFO] running `Command { std: "docker" "start" "-a" "9ae9376cc289021f50aaafe617d212ea9328595cbc9d0e62ce7f0e6ee0a878a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling gag v0.1.10 [INFO] [stderr] Compiling rustty v0.1.12 [INFO] [stderr] Compiling rustty-oxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | buttons: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - buttons: Vec>, [INFO] [stdout] 40 + buttons: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | layouts: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - layouts: Vec>, [INFO] [stdout] 41 + layouts: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | widgets: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - widgets: Vec> [INFO] [stdout] 45 + widgets: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | widgets: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - widgets: Vec> [INFO] [stdout] 45 + widgets: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/label.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 216 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/label.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 227 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 203 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 207 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stdbutton.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 87 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stdbutton.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 91 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/checkbutton.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 110 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/checkbutton.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 114 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_vec(widgets: Vec>, inner_margin: usize) -> HorizontalLayout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn from_vec(widgets: Vec>, inner_margin: usize) -> HorizontalLayout { [INFO] [stdout] 67 + pub fn from_vec(widgets: Vec>, inner_margin: usize) -> HorizontalLayout { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 82 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 86 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_vec(widgets: Vec>, inner_margin: usize) -> VerticalLayout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn from_vec(widgets: Vec>, inner_margin: usize) -> VerticalLayout { [INFO] [stdout] 67 + pub fn from_vec(widgets: Vec>, inner_margin: usize) -> VerticalLayout { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 82 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 86 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 119 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 123 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/alignable.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | fn halign(&mut self, parent: &HasSize, halign: HorizontalAlign, margin: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn halign(&mut self, parent: &HasSize, halign: HorizontalAlign, margin: usize) { [INFO] [stdout] 5 + fn halign(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, margin: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/alignable.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | fn valign(&mut self, parent: &HasSize, valign: VerticalAlign, margin: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn valign(&mut self, parent: &HasSize, valign: VerticalAlign, margin: usize) { [INFO] [stdout] 17 + fn valign(&mut self, parent: &dyn HasSize, valign: VerticalAlign, margin: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/alignable.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | fn align(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn align(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 29 + fn align(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/widget.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw(&mut self, parent: &mut CellAccessor); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn draw(&mut self, parent: &mut CellAccessor); [INFO] [stdout] 10 + fn draw(&mut self, parent: &mut dyn CellAccessor); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/widget.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 13 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/frame.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn draw_into(&self, cells: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn draw_into(&self, cells: &mut CellAccessor) { [INFO] [stdout] 30 + pub fn draw_into(&self, cells: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/label.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | line = line.trim_right().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/label.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | line = line.trim_right().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "9ae9376cc289021f50aaafe617d212ea9328595cbc9d0e62ce7f0e6ee0a878a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae9376cc289021f50aaafe617d212ea9328595cbc9d0e62ce7f0e6ee0a878a6", kill_on_drop: false }` [INFO] [stdout] 9ae9376cc289021f50aaafe617d212ea9328595cbc9d0e62ce7f0e6ee0a878a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 961efb4ff1a041943340cc335f1ee054b1a8f31559b379cb23980e9ba5afb876 [INFO] running `Command { std: "docker" "start" "-a" "961efb4ff1a041943340cc335f1ee054b1a8f31559b379cb23980e9ba5afb876", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | buttons: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - buttons: Vec>, [INFO] [stdout] 40 + buttons: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | layouts: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - layouts: Vec>, [INFO] [stdout] 41 + layouts: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | widgets: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - widgets: Vec> [INFO] [stdout] 45 + widgets: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | widgets: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - widgets: Vec> [INFO] [stdout] 45 + widgets: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/label.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 216 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/label.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 227 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 203 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 207 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stdbutton.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 87 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stdbutton.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 91 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/checkbutton.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 110 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/checkbutton.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 114 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_vec(widgets: Vec>, inner_margin: usize) -> HorizontalLayout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn from_vec(widgets: Vec>, inner_margin: usize) -> HorizontalLayout { [INFO] [stdout] 67 + pub fn from_vec(widgets: Vec>, inner_margin: usize) -> HorizontalLayout { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 82 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 86 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_vec(widgets: Vec>, inner_margin: usize) -> VerticalLayout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn from_vec(widgets: Vec>, inner_margin: usize) -> VerticalLayout { [INFO] [stdout] 67 + pub fn from_vec(widgets: Vec>, inner_margin: usize) -> VerticalLayout { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 82 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 86 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - fn draw(&mut self, parent: &mut CellAccessor) { [INFO] [stdout] 119 + fn draw(&mut self, parent: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 123 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/alignable.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | fn halign(&mut self, parent: &HasSize, halign: HorizontalAlign, margin: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn halign(&mut self, parent: &HasSize, halign: HorizontalAlign, margin: usize) { [INFO] [stdout] 5 + fn halign(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, margin: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/alignable.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | fn valign(&mut self, parent: &HasSize, valign: VerticalAlign, margin: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn valign(&mut self, parent: &HasSize, valign: VerticalAlign, margin: usize) { [INFO] [stdout] 17 + fn valign(&mut self, parent: &dyn HasSize, valign: VerticalAlign, margin: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/alignable.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | fn align(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn align(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 29 + fn align(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/widget.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw(&mut self, parent: &mut CellAccessor); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn draw(&mut self, parent: &mut CellAccessor); [INFO] [stdout] 10 + fn draw(&mut self, parent: &mut dyn CellAccessor); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/widget.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn pack(&mut self, parent: &HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] 13 + fn pack(&mut self, parent: &dyn HasSize, halign: HorizontalAlign, valign: VerticalAlign, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/frame.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn draw_into(&self, cells: &mut CellAccessor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn draw_into(&self, cells: &mut CellAccessor) { [INFO] [stdout] 30 + pub fn draw_into(&self, cells: &mut dyn CellAccessor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/label.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | line = line.trim_right().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/label.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | line = line.trim_right().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustty-oxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `oxide` [INFO] [stdout] --> examples/button_layout.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Label` [INFO] [stdout] --> examples/button_layout.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let mut label1 = Label::new(45, 2); [INFO] [stdout] | ^^^^^ use of undeclared type `Label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | label1.align_text(HorizontalAlign::Middle, VerticalAlign::Top, (0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | label1.align_text(HorizontalAlign::Middle, VerticalAlign::Top, (0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | label1.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Top, (0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:41:52 [INFO] [stdout] | [INFO] [stdout] 41 | label1.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Top, (0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let b1 = StdButton::new("Quit", 'q', ButtonResult::Ok); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | let b1 = StdButton::new("Quit", 'q', ButtonResult::Ok); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let b2 = StdButton::new("Foo!", 'f', ButtonResult::Custom(1)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | let b2 = StdButton::new("Foo!", 'f', ButtonResult::Custom(1)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | let b3 = StdButton::new("Bar!", 'a', ButtonResult::Custom(2)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | let b3 = StdButton::new("Bar!", 'a', ButtonResult::Custom(2)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let b4 = StdButton::new("Juu!", 'j', ButtonResult::Custom(3)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let b4 = StdButton::new("Juu!", 'j', ButtonResult::Custom(3)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | let b5 = StdButton::new("Tuu!", 't', ButtonResult::Custom(4)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | let b5 = StdButton::new("Tuu!", 't', ButtonResult::Custom(4)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let b6 = StdButton::new("Boo!", 'b', ButtonResult::Custom(5)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | let b6 = StdButton::new("Boo!", 'b', ButtonResult::Custom(5)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | hlayout1.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Bottom, (0, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | hlayout1.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Bottom, (0, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | hlayout2.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Bottom, (0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | hlayout2.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Bottom, (0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Label` [INFO] [stdout] --> examples/button_layout.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut label = Label::from_str("Vertical layout"); [INFO] [stdout] | ^^^^^ use of undeclared type `Label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | label.pack(&vdlg, HorizontalAlign::Middle, VerticalAlign::Top, (0,1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | label.pack(&vdlg, HorizontalAlign::Middle, VerticalAlign::Top, (0,1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | let b1 = StdButton::new("Yhh!", 'y', ButtonResult::Custom(1)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let b1 = StdButton::new("Yhh!", 'y', ButtonResult::Custom(1)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | let b2 = StdButton::new("Vpp!", 'v', ButtonResult::Custom(2)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let b2 = StdButton::new("Vpp!", 'v', ButtonResult::Custom(2)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdButton` [INFO] [stdout] --> examples/button_layout.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | let b3 = StdButton::new("Wgg!", 'w', ButtonResult::Custom(3)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StdButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | let b3 = StdButton::new("Wgg!", 'w', ButtonResult::Custom(3)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalLayout` [INFO] [stdout] --> examples/button_layout.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vlayout = VerticalLayout::from_vec(boxify(vec![b1, b2, b3]), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VerticalLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | vlayout.pack(&vdlg, HorizontalAlign::Middle, VerticalAlign::Bottom, (0, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | vlayout.pack(&vdlg, HorizontalAlign::Middle, VerticalAlign::Bottom, (0, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | maindlg.pack(&term, HorizontalAlign::Middle, VerticalAlign::Middle, (0,0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | buttons: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - buttons: Vec>, [INFO] [stdout] 40 + buttons: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | maindlg.pack(&term, HorizontalAlign::Middle, VerticalAlign::Middle, (0,0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | vdlg.pack(&term, HorizontalAlign::Left, VerticalAlign::Middle, (0,0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | layouts: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - layouts: Vec>, [INFO] [stdout] 41 + layouts: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | vdlg.pack(&term, HorizontalAlign::Left, VerticalAlign::Middle, (0,0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlayout.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | widgets: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - widgets: Vec> [INFO] [stdout] 45 + widgets: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | Some(ButtonResult::Ok) => break 'main, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vlayout.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | widgets: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - widgets: Vec> [INFO] [stdout] 45 + widgets: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | Some(ButtonResult::Custom(i)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Label` [INFO] [stdout] --> examples/button_layout.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | let mut result = Label::from_str(msg); [INFO] [stdout] | ^^^^^ use of undeclared type `Label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | result.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Middle, (0,1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:110:68 [INFO] [stdout] | [INFO] [stdout] 110 | result.pack(&maindlg, HorizontalAlign::Middle, VerticalAlign::Middle, (0,1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonResult` [INFO] [stdout] --> examples/button_layout.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | Some(ButtonResult::Custom(i)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ButtonResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Label` [INFO] [stdout] --> examples/button_layout.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | let mut result = Label::from_str(msg); [INFO] [stdout] | ^^^^^ use of undeclared type `Label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HorizontalAlign` [INFO] [stdout] --> examples/button_layout.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | result.pack(&vdlg, HorizontalAlign::Middle, VerticalAlign::Middle, (0,1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HorizontalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VerticalAlign` [INFO] [stdout] --> examples/button_layout.rs:126:65 [INFO] [stdout] | [INFO] [stdout] 126 | result.pack(&vdlg, HorizontalAlign::Middle, VerticalAlign::Middle, (0,1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VerticalAlign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StdButton` in this scope [INFO] [stdout] --> examples/button_layout.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn boxify(vec: Vec) -> Vec> { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Button` in this scope [INFO] [stdout] --> examples/button_layout.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | fn boxify(vec: Vec) -> Vec> { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `