[INFO] fetching crate iui 0.3.0... [INFO] testing iui-0.3.0 against beta-2021-09-08 for beta-1.56-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-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ui-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31301ac0e7361d0213901c9374a1c9cd2a8b924975efdd8a2b4fdb7f0ab0ce5f [INFO] running `Command { std: "docker" "start" "-a" "31301ac0e7361d0213901c9374a1c9cd2a8b924975efdd8a2b4fdb7f0ab0ce5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31301ac0e7361d0213901c9374a1c9cd2a8b924975efdd8a2b4fdb7f0ab0ce5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31301ac0e7361d0213901c9374a1c9cd2a8b924975efdd8a2b4fdb7f0ab0ce5f", kill_on_drop: false }` [INFO] [stdout] 31301ac0e7361d0213901c9374a1c9cd2a8b924975efdd8a2b4fdb7f0ab0ce5f [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12873a2d32ba077ea3dbfcfbe47ca3738d57fade7fc980d3316d8a1653491de [INFO] running `Command { std: "docker" "start" "-a" "d12873a2d32ba077ea3dbfcfbe47ca3738d57fade7fc980d3316d8a1653491de", kill_on_drop: false }` [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling ui-sys v0.1.3 [INFO] [stderr] Compiling iui v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:167:56 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi_tools.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | callback: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.99s [INFO] running `Command { std: "docker" "inspect" "d12873a2d32ba077ea3dbfcfbe47ca3738d57fade7fc980d3316d8a1653491de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12873a2d32ba077ea3dbfcfbe47ca3738d57fade7fc980d3316d8a1653491de", kill_on_drop: false }` [INFO] [stdout] d12873a2d32ba077ea3dbfcfbe47ca3738d57fade7fc980d3316d8a1653491de [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2329d652e537f8cc12e69c4d9a099772294e41d375629e50575571527b073a6e [INFO] running `Command { std: "docker" "start" "-a" "2329d652e537f8cc12e69c4d9a099772294e41d375629e50575571527b073a6e", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:167:56 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi_tools.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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/ui.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | callback: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/files.rs:35:129 [INFO] [stdout] | [INFO] [stdout] 35 | ... Err(why) => { window.modal_err(&ui, "I/O Error", &format!("Could not open file {}: {}", path.display(), why.description())); return; } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/files.rs:39:133 [INFO] [stdout] | [INFO] [stdout] 39 | ... Err(why) => { window.modal_err(&ui, "I/O Error", &format!("Could not write to file {}: {}", path.display(), why.description())); re... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/basic.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/window.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:167:56 [INFO] [stdout] | [INFO] [stdout] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:283:40 [INFO] [stdout] | [INFO] [stdout] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls/entry.rs:291:56 [INFO] [stdout] | [INFO] [stdout] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi_tools.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menus.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | callback: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ffi_tools.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "2329d652e537f8cc12e69c4d9a099772294e41d375629e50575571527b073a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2329d652e537f8cc12e69c4d9a099772294e41d375629e50575571527b073a6e", kill_on_drop: false }` [INFO] [stdout] 2329d652e537f8cc12e69c4d9a099772294e41d375629e50575571527b073a6e [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f12f3d5c62a47dacedc383fe60223fa600fd5708cd028bc19b3f0c97e2029ea [INFO] running `Command { std: "docker" "start" "-a" "9f12f3d5c62a47dacedc383fe60223fa600fd5708cd028bc19b3f0c97e2029ea", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:54:35 [INFO] [stderr] | [INFO] [stderr] 54 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:58:40 [INFO] [stderr] | [INFO] [stderr] 58 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/basic.rs:66:56 [INFO] [stderr] | [INFO] [stderr] 66 | mem::transmute::<*mut c_void, &mut Box>(data)(&mut button) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Button)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:92:35 [INFO] [stderr] | [INFO] [stderr] 92 | let mut data: Box bool>> = Box::new(Box::new(|window| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | &mut *data as *mut Box bool> as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/window.rs:107:55 [INFO] [stderr] | [INFO] [stderr] 107 | mem::transmute::<*mut c_void, Box bool>>>(data)( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Window) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:67:35 [INFO] [stderr] | [INFO] [stderr] 67 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:71:40 [INFO] [stderr] | [INFO] [stderr] 71 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:79:56 [INFO] [stderr] | [INFO] [stderr] 79 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:96:35 [INFO] [stderr] | [INFO] [stderr] 96 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:108:56 [INFO] [stderr] | [INFO] [stderr] 108 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:153:35 [INFO] [stderr] | [INFO] [stderr] 153 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:157:40 [INFO] [stderr] | [INFO] [stderr] 157 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:167:56 [INFO] [stderr] | [INFO] [stderr] 167 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:189:35 [INFO] [stderr] | [INFO] [stderr] 189 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:193:40 [INFO] [stderr] | [INFO] [stderr] 193 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:203:56 [INFO] [stderr] | [INFO] [stderr] 203 | mem::transmute::<*mut c_void, &mut Box>(data)(string); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:236:35 [INFO] [stderr] | [INFO] [stderr] 236 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:240:40 [INFO] [stderr] | [INFO] [stderr] 240 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:249:56 [INFO] [stderr] | [INFO] [stderr] 249 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i64)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:279:35 [INFO] [stderr] | [INFO] [stderr] 279 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:283:40 [INFO] [stderr] | [INFO] [stderr] 283 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls/entry.rs:291:56 [INFO] [stderr] | [INFO] [stderr] 291 | mem::transmute::<*mut c_void, &mut Box>(data)(val); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi_tools.rs:38:52 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe { mem::transmute::<*mut c_void, Box>>(data)() } [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/menus.rs:70:56 [INFO] [stderr] | [INFO] [stderr] 70 | mem::transmute::<*mut c_void, &mut Box>(data)( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&MenuItem, &Window)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:138:35 [INFO] [stderr] | [INFO] [stderr] 138 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:141:40 [INFO] [stderr] | [INFO] [stderr] 141 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:150:35 [INFO] [stderr] | [INFO] [stderr] 150 | let mut data: Box> = Box::new(Box::new(callback)); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:153:40 [INFO] [stderr] | [INFO] [stderr] 153 | &mut *data as *mut Box as *mut c_void, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ui.rs:170:26 [INFO] [stderr] | [INFO] [stderr] 170 | callback: Option>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ffi_tools.rs:4:47 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ffi_tools.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: `iui` (lib) generated 36 warnings [INFO] [stderr] warning: `iui` (lib test) generated 36 warnings (36 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 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iui-508b6a6b3a8475c0) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests iui [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ui.rs - ui::UI::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/rustdoctestz4dBVm/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/rustdoctestM7mSRB/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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9f12f3d5c62a47dacedc383fe60223fa600fd5708cd028bc19b3f0c97e2029ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f12f3d5c62a47dacedc383fe60223fa600fd5708cd028bc19b3f0c97e2029ea", kill_on_drop: false }` [INFO] [stdout] 9f12f3d5c62a47dacedc383fe60223fa600fd5708cd028bc19b3f0c97e2029ea