[INFO] fetching crate iui 0.3.0... [INFO] testing iui-0.3.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate iui 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate iui 0.3.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate iui 0.3.0 [INFO] finished tweaking crates.io crate iui 0.3.0 [INFO] tweaked toml for crates.io crate iui 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ui-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f11bf5015c3dc7d1ca64449a6da8c44216bd952fbbefe00d478b7d0e724d8d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e4f11bf5015c3dc7d1ca64449a6da8c44216bd952fbbefe00d478b7d0e724d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f11bf5015c3dc7d1ca64449a6da8c44216bd952fbbefe00d478b7d0e724d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f11bf5015c3dc7d1ca64449a6da8c44216bd952fbbefe00d478b7d0e724d8d", kill_on_drop: false }` [INFO] [stdout] e4f11bf5015c3dc7d1ca64449a6da8c44216bd952fbbefe00d478b7d0e724d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b94f7d129d428d352390193de9c98fc3fe75b6bc2ee8a8746e314a228dc5e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95b94f7d129d428d352390193de9c98fc3fe75b6bc2ee8a8746e314a228dc5e8", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling ui-sys v0.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling iui v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:167:56 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi_tools.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | callback: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/draw/transform.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut matrix = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.62s [INFO] running `Command { std: "docker" "inspect" "95b94f7d129d428d352390193de9c98fc3fe75b6bc2ee8a8746e314a228dc5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b94f7d129d428d352390193de9c98fc3fe75b6bc2ee8a8746e314a228dc5e8", kill_on_drop: false }` [INFO] [stdout] 95b94f7d129d428d352390193de9c98fc3fe75b6bc2ee8a8746e314a228dc5e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 65c848053e8b0b581f431ef48924dea44bea24788646e4ca233377b0466b9e9a [INFO] running `Command { std: "docker" "start" "-a" "65c848053e8b0b581f431ef48924dea44bea24788646e4ca233377b0466b9e9a", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:167:56 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iui v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi_tools.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | callback: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/draw/transform.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut matrix = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/files.rs:35:129 [INFO] [stdout] | [INFO] [stdout] 35 | ... Err(why) => { window.modal_err(&ui, "I/O Error", &format!("Could not open file {}: {}", path.display(), why.description())); return; } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/files.rs:39:133 [INFO] [stdout] | [INFO] [stdout] 39 | ... Err(why) => { window.modal_err(&ui, "I/O Error", &format!("Could not write to file {}: {}", path.display(), why.description())); re... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:167:56 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi_tools.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | callback: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/draw/transform.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut matrix = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.08s [INFO] running `Command { std: "docker" "inspect" "65c848053e8b0b581f431ef48924dea44bea24788646e4ca233377b0466b9e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c848053e8b0b581f431ef48924dea44bea24788646e4ca233377b0466b9e9a", kill_on_drop: false }` [INFO] [stdout] 65c848053e8b0b581f431ef48924dea44bea24788646e4ca233377b0466b9e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c9e25fcc8ae995b43e11fc541f9baeb842cde0ff4a58c88e92a081b61ba171e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9e25fcc8ae995b43e11fc541f9baeb842cde0ff4a58c88e92a081b61ba171e3", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:54:35 [INFO] [stderr] | [INFO] [stderr] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:58:40 [INFO] [stderr] | [INFO] [stderr] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:66:56 [INFO] [stderr] | [INFO] [stderr] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:92:35 [INFO] [stderr] | [INFO] [stderr] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:107:55 [INFO] [stderr] | [INFO] [stderr] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:67:35 [INFO] [stderr] | [INFO] [stderr] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:71:40 [INFO] [stderr] | [INFO] [stderr] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:79:56 [INFO] [stderr] | [INFO] [stderr] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:96:35 [INFO] [stderr] | [INFO] [stderr] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:108:56 [INFO] [stderr] | [INFO] [stderr] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:153:35 [INFO] [stderr] | [INFO] [stderr] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:157:40 [INFO] [stderr] | [INFO] [stderr] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:167:56 [INFO] [stderr] | [INFO] [stderr] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:189:35 [INFO] [stderr] | [INFO] [stderr] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:193:40 [INFO] [stderr] | [INFO] [stderr] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:203:56 [INFO] [stderr] | [INFO] [stderr] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:236:35 [INFO] [stderr] | [INFO] [stderr] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:240:40 [INFO] [stderr] | [INFO] [stderr] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:249:56 [INFO] [stderr] | [INFO] [stderr] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:279:35 [INFO] [stderr] | [INFO] [stderr] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:283:40 [INFO] [stderr] | [INFO] [stderr] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:291:56 [INFO] [stderr] | [INFO] [stderr] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi_tools.rs:38:52 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:70:56 [INFO] [stderr] | [INFO] [stderr] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:138:35 [INFO] [stderr] | [INFO] [stderr] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:141:40 [INFO] [stderr] | [INFO] [stderr] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:150:35 [INFO] [stderr] | [INFO] [stderr] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:153:40 [INFO] [stderr] | [INFO] [stderr] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:170:26 [INFO] [stderr] | [INFO] [stderr] 170 | callback: Option>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/draw/transform.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | let mut matrix = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ffi_tools.rs:4:47 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ffi_tools.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: 36 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:54:35 [INFO] [stderr] | [INFO] [stderr] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:58:40 [INFO] [stderr] | [INFO] [stderr] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:66:56 [INFO] [stderr] | [INFO] [stderr] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:92:35 [INFO] [stderr] | [INFO] [stderr] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:107:55 [INFO] [stderr] | [INFO] [stderr] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:67:35 [INFO] [stderr] | [INFO] [stderr] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:71:40 [INFO] [stderr] | [INFO] [stderr] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:79:56 [INFO] [stderr] | [INFO] [stderr] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:96:35 [INFO] [stderr] | [INFO] [stderr] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:108:56 [INFO] [stderr] | [INFO] [stderr] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:153:35 [INFO] [stderr] | [INFO] [stderr] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:157:40 [INFO] [stderr] | [INFO] [stderr] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:167:56 [INFO] [stderr] | [INFO] [stderr] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:189:35 [INFO] [stderr] | [INFO] [stderr] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:193:40 [INFO] [stderr] | [INFO] [stderr] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:203:56 [INFO] [stderr] | [INFO] [stderr] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:236:35 [INFO] [stderr] | [INFO] [stderr] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:240:40 [INFO] [stderr] | [INFO] [stderr] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:249:56 [INFO] [stderr] | [INFO] [stderr] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:279:35 [INFO] [stderr] | [INFO] [stderr] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:283:40 [INFO] [stderr] | [INFO] [stderr] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:291:56 [INFO] [stderr] | [INFO] [stderr] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi_tools.rs:38:52 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:70:56 [INFO] [stderr] | [INFO] [stderr] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:138:35 [INFO] [stderr] | [INFO] [stderr] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:141:40 [INFO] [stderr] | [INFO] [stderr] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:150:35 [INFO] [stderr] | [INFO] [stderr] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:153:40 [INFO] [stderr] | [INFO] [stderr] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:170:26 [INFO] [stderr] | [INFO] [stderr] 170 | callback: Option>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/draw/transform.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | let mut matrix = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ffi_tools.rs:4:47 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ffi_tools.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: 36 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> examples/files.rs:35:129 [INFO] [stderr] | [INFO] [stderr] 35 | ... Err(why) => { window.modal_err(&ui, "I/O Error", &format!("Could not open file {}: {}", path.display(), why.description())); return; } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> examples/files.rs:39:133 [INFO] [stderr] | [INFO] [stderr] 39 | ... Err(why) => { window.modal_err(&ui, "I/O Error", &format!("Could not write to file {}: {}", path.display(), why.description())); re... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iui-8426ece1706a995d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests iui [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ui.rs - ui::UI::queue_main (line 127) ... FAILED [INFO] [stdout] test src/ui.rs - ui::UI::init (line 52) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ui.rs - ui::UI::queue_main (line 127) stdout ---- [INFO] [stdout] Test executable failed (exit code 127). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] /tmp/rustdoctestJfynYd/rust_out: error while loading shared libraries: libui.so.0: cannot open shared object file: No such file or directory [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/ui.rs - ui::UI::init (line 52) stdout ---- [INFO] [stdout] Test executable failed (exit code 127). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] /tmp/rustdoctest3OpVFh/rust_out: error while loading shared libraries: libui.so.0: cannot open shared object file: No such file or directory [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ui.rs - ui::UI::init (line 52) [INFO] [stdout] src/ui.rs - ui::UI::queue_main (line 127) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c9e25fcc8ae995b43e11fc541f9baeb842cde0ff4a58c88e92a081b61ba171e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e25fcc8ae995b43e11fc541f9baeb842cde0ff4a58c88e92a081b61ba171e3", kill_on_drop: false }` [INFO] [stdout] c9e25fcc8ae995b43e11fc541f9baeb842cde0ff4a58c88e92a081b61ba171e3