[INFO] fetching crate iui 0.3.0... [INFO] testing iui-0.3.0 against beta-2022-04-10 for beta-1.61-1 [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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] b4e47deab70c59f4dbd0c30fbf0584d0d4f5c01fafbc75d8bdd4e588898e823d [INFO] running `Command { std: "docker" "start" "-a" "b4e47deab70c59f4dbd0c30fbf0584d0d4f5c01fafbc75d8bdd4e588898e823d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4e47deab70c59f4dbd0c30fbf0584d0d4f5c01fafbc75d8bdd4e588898e823d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e47deab70c59f4dbd0c30fbf0584d0d4f5c01fafbc75d8bdd4e588898e823d", kill_on_drop: false }` [INFO] [stdout] b4e47deab70c59f4dbd0c30fbf0584d0d4f5c01fafbc75d8bdd4e588898e823d [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 5d6c045fde8b8821fb7d67f6afc898d023c8d8a201fca51f10d4d5f44064b0a9 [INFO] running `Command { std: "docker" "start" "-a" "5d6c045fde8b8821fb7d67f6afc898d023c8d8a201fca51f10d4d5f44064b0a9", kill_on_drop: false }` [INFO] [stderr] Compiling ui-sys v0.1.3 [INFO] [stderr] Compiling iui v0.3.0 (/opt/rustwide/workdir) [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] = 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: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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/draw/transform.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let mut matrix = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - callback: Option>, [INFO] [stdout] 170 + callback: Option>, [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 54 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 58 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] 66 + mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] 92 + let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] 99 + &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] 107 + mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 67 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 71 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 79 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 96 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 100 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 108 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 153 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 157 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] 167 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 189 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 193 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] 203 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 236 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 240 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 249 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 279 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 283 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 291 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] 38 + unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 51 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 55 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] 70 + mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 138 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 141 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 150 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 153 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/ui.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | token: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UI` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.83s [INFO] running `Command { std: "docker" "inspect" "5d6c045fde8b8821fb7d67f6afc898d023c8d8a201fca51f10d4d5f44064b0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6c045fde8b8821fb7d67f6afc898d023c8d8a201fca51f10d4d5f44064b0a9", kill_on_drop: false }` [INFO] [stdout] 5d6c045fde8b8821fb7d67f6afc898d023c8d8a201fca51f10d4d5f44064b0a9 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] d93b8ebea61975971362841bdefa6e5472b2d8448f386349027d72254ec8e607 [INFO] running `Command { std: "docker" "start" "-a" "d93b8ebea61975971362841bdefa6e5472b2d8448f386349027d72254ec8e607", kill_on_drop: false }` [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] = 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: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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/draw/transform.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let mut matrix = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - callback: Option>, [INFO] [stdout] 170 + callback: Option>, [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 54 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 58 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] 66 + mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] 92 + let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] 99 + &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] 107 + mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 67 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 71 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 79 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 96 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 100 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 108 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 153 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 157 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] 167 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 189 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 193 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] 203 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 236 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 240 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 249 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 279 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 283 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 291 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] 38 + unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 51 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 55 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] 70 + mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 138 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 141 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 150 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 153 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/ui.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | token: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UI` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 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: 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] = 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: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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/draw/transform.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let mut matrix = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - callback: Option>, [INFO] [stdout] 170 + callback: Option>, [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 54 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 58 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] 66 + mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] 92 + let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] 99 + &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] 107 + mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 67 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 71 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 79 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 96 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 100 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 108 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 153 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 157 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] 167 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 189 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 193 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] 203 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 236 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 240 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 249 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 279 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 283 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] 291 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] 38 + unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 51 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 55 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] 70 + mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 138 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 141 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] 150 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - &mut *data as *mut Box as *mut c_void, [INFO] [stdout] 153 + &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/ui.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | token: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UI` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.29s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/iui-c637ea91c0e49ae1) [INFO] running `Command { std: "docker" "inspect" "d93b8ebea61975971362841bdefa6e5472b2d8448f386349027d72254ec8e607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93b8ebea61975971362841bdefa6e5472b2d8448f386349027d72254ec8e607", kill_on_drop: false }` [INFO] [stdout] d93b8ebea61975971362841bdefa6e5472b2d8448f386349027d72254ec8e607 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e19c4d168eee477f20cc3c28209cd2183491faa4829ab6e450e541f17fc896b1 [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" "e19c4d168eee477f20cc3c28209cd2183491faa4829ab6e450e541f17fc896b1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = 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: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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/draw/transform.rs:22:35 [INFO] [stderr] | [INFO] [stderr] 22 | let mut matrix = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 170 - callback: Option>, [INFO] [stderr] 170 + callback: Option>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 54 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 58 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stderr] 66 + mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stderr] 92 + let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - &mut *data as *mut Box bool> as *mut c_void, [INFO] [stderr] 99 + &mut *data as *mut Box bool> as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 107 - mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stderr] 107 + mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 67 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 71 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 79 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] 79 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 96 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 100 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 108 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] 108 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 153 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 153 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 157 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 157 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 167 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] 167 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 189 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 189 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 193 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 193 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 203 - mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] 203 + mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 236 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 236 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 240 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 240 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 249 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] 249 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | [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] | ^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 279 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 279 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 283 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 283 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 291 - mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] 291 + mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stderr] 38 + unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 51 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 55 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 - mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stderr] 70 + mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stderr] | [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 138 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 141 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 141 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 150 - let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] 150 + let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | [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] | ^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 153 - &mut *data as *mut Box as *mut c_void, [INFO] [stderr] 153 + &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token` [INFO] [stderr] --> src/ui.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | token: Rc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `UI` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `iui` (lib) generated 37 warnings [INFO] [stderr] warning: `iui` (lib test) generated 37 warnings (37 duplicates) [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: `iui` (example "files") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iui-c637ea91c0e49ae1) [INFO] [stdout] [INFO] [stderr] Doc-tests iui [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ui.rs - ui::UI::init (line 52) ... FAILED [INFO] [stdout] test src/ui.rs - ui::UI::queue_main (line 127) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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/rustdoctestPEkmhn/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::queue_main (line 127) stdout ---- [INFO] [stdout] Test executable failed (exit code 127). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] /tmp/rustdoctestUIBYRz/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 1.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e19c4d168eee477f20cc3c28209cd2183491faa4829ab6e450e541f17fc896b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19c4d168eee477f20cc3c28209cd2183491faa4829ab6e450e541f17fc896b1", kill_on_drop: false }` [INFO] [stdout] e19c4d168eee477f20cc3c28209cd2183491faa4829ab6e450e541f17fc896b1