[INFO] crate native-windows-gui 0.2.1 is already in cache [INFO] extracting crate native-windows-gui 0.2.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/native-windows-gui/0.2.1 [INFO] extracting crate native-windows-gui 0.2.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/native-windows-gui/0.2.1 [INFO] validating manifest of native-windows-gui-0.2.1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of native-windows-gui-0.2.1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing native-windows-gui-0.2.1 [INFO] finished frobbing native-windows-gui-0.2.1 [INFO] frobbed toml for native-windows-gui-0.2.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/native-windows-gui/0.2.1/Cargo.toml [INFO] started frobbing native-windows-gui-0.2.1 [INFO] finished frobbing native-windows-gui-0.2.1 [INFO] frobbed toml for native-windows-gui-0.2.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/native-windows-gui/0.2.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking native-windows-gui-0.2.1 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/native-windows-gui/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 4b9c713d6ee83ac7b0ad823f071ed36b9abd3966cb33f6021d2cb94a58dafbc1 [INFO] running `"docker" "start" "-a" "4b9c713d6ee83ac7b0ad823f071ed36b9abd3966cb33f6021d2cb94a58dafbc1"` [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling ole32-sys v0.2.0 [INFO] [stderr] Compiling comctl32-sys v0.2.0 [INFO] [stderr] Compiling native-windows-gui v0.2.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `nwg::Event`, `nwg::Ui`, `nwg::fatal_message`, `nwg::dispatch_events` [INFO] [stderr] --> examples/multithreading.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use nwg::{Event, Ui, fatal_message, dispatch_events}; [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `dispatch_events` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `fatal_message` in the root [INFO] [stderr] | | no `Ui` in the root [INFO] [stderr] | no `Event` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_template!` in this scope [INFO] [stderr] --> examples/multithreading.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | nwg_template!( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_template!` in this scope [INFO] [stderr] --> examples/multithreading.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | nwg_template!( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `setup_test_window` in this scope [INFO] [stderr] --> examples/multithreading.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | if let Err(e) = setup_test_window(&app) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `setup_sleep_window` in this scope [INFO] [stderr] --> examples/multithreading.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | if let Err(e) = setup_sleep_window(&app2) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/multithreading.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] extern crate native_windows_gui as nwg; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> examples/multithreading.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] error[E0432]: unresolved imports `nwg::Event`, `nwg::Ui`, `nwg::simple_message`, `nwg::fatal_message`, `nwg::dispatch_events` [INFO] [stderr] --> examples/dynamics.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | use nwg::{Event, Ui, simple_message, fatal_message, dispatch_events}; [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `dispatch_events` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `fatal_message` in the root [INFO] [stderr] | | | no `simple_message` in the root [INFO] [stderr] | | no `Ui` in the root [INFO] [stderr] | no `Event` in the root [INFO] [stderr] [INFO] [stderr] warning: unused import: `MultiThreadingId::*` [INFO] [stderr] --> examples/multithreading.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use MultiThreadingId::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `nwg::constants` [INFO] [stderr] --> examples/dynamics.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | use nwg::constants::HTextAlign; [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_template!` in this scope [INFO] [stderr] --> examples/dynamics.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | nwg_template!( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `nwg::Ui`, `nwg::Error`, `nwg::Event`, `nwg::simple_message`, `nwg::fatal_message`, `nwg::dispatch_events` [INFO] [stderr] --> examples/no_templating.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use nwg::{Ui, Error, Event, simple_message, fatal_message, dispatch_events}; [INFO] [stderr] | ^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `dispatch_events` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `fatal_message` in the root [INFO] [stderr] | | | | no `simple_message` in the root [INFO] [stderr] | | | no `Event` in the root [INFO] [stderr] | | no `Error` in the root [INFO] [stderr] | no `Ui` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `nwg::Event`, `nwg::Ui`, `nwg::simple_message`, `nwg::fatal_message`, `nwg::dispatch_events` [INFO] [stderr] --> examples/templating.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use nwg::{Event, Ui, simple_message, fatal_message, dispatch_events}; [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `dispatch_events` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `fatal_message` in the root [INFO] [stderr] | | | no `simple_message` in the root [INFO] [stderr] | | no `Ui` in the root [INFO] [stderr] | no `Event` in the root [INFO] [stderr] error[E0425]: cannot find function `setup_ui` in this scope [INFO] [stderr] --> examples/dynamics.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | if let Err(e) = setup_ui(&app) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] error[E0432]: unresolved import `nwg::custom` [INFO] [stderr] --> examples/custom.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | use nwg::custom::{Control, ControlT, AnyHandle, SysclassParams, build_sysclass, WindowParams, build_window}; [INFO] [stderr] | ^^^^^^ could not find `custom` in `nwg` [INFO] [stderr] error[E0432]: unresolved imports `nwg::Ui`, `nwg::Event`, `nwg::EventArgs`, `nwg::dispatch_events`, `nwg::exit` [INFO] [stderr] --> examples/showcase.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use nwg::{Ui, Event, EventArgs, dispatch_events, exit as nwg_exit}; [INFO] [stderr] | ^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `exit` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `dispatch_events` in the root [INFO] [stderr] | | | no `EventArgs` in the root [INFO] [stderr] | | no `Event` in the root [INFO] [stderr] | no `Ui` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `nwg::constants` [INFO] [stderr] --> examples/showcase.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | use nwg::constants::{FONT_WEIGHT_BLACK, FONT_DECO_ITALIC, CheckState, FileDialogAction, HTextAlign, PickerDate}; [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_template!` in this scope [INFO] [stderr] --> examples/showcase.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | nwg_template!( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `nwg::Event`, `nwg::EventArgs`, `nwg::Ui`, `nwg::fatal_message`, `nwg::dispatch_events` [INFO] [stderr] --> examples/canvas.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use nwg::{Event, EventArgs, Ui, fatal_message, dispatch_events}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `dispatch_events` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `fatal_message` in the root [INFO] [stderr] | | | no `Ui` in the root [INFO] [stderr] | | no `EventArgs` in the root [INFO] [stderr] | no `Event` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `nwg::constants` [INFO] [stderr] --> examples/canvas.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use nwg::constants as nwgc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `constants` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_template!` in this scope [INFO] [stderr] --> examples/canvas.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | nwg_template!( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_get_mut!` in this scope [INFO] [stderr] --> examples/canvas.rs:75:22 [INFO] [stderr] | [INFO] [stderr] 75 | let mut canvas = nwg_get_mut!(app; (Canvas, nwg::Canvas)); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_template!` in this scope [INFO] [stderr] --> examples/templating.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | nwg_template!( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/dynamics.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] extern crate native_windows_gui as nwg; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `UiId::*` [INFO] [stderr] --> examples/dynamics.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | use UiId::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `nwg::Error`, `nwg::Event`, `nwg::Ui`, `nwg::simple_message`, `nwg::fatal_message`, `nwg::dispatch_events` [INFO] [stderr] --> examples/custom.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | use nwg::{Error, Event, Ui, simple_message, fatal_message, dispatch_events}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `dispatch_events` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `fatal_message` in the root [INFO] [stderr] | | | | no `simple_message` in the root [INFO] [stderr] | | | no `Ui` in the root [INFO] [stderr] | | no `Event` in the root [INFO] [stderr] | no `Error` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::HWND`, `winapi::UINT`, `winapi::WPARAM`, `winapi::LPARAM`, `winapi::LRESULT` [INFO] [stderr] --> examples/custom.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::{HWND, UINT, WPARAM, LPARAM, LRESULT}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ no `LRESULT` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `LPARAM` in the root [INFO] [stderr] | | | no `WPARAM` in the root [INFO] [stderr] | | no `UINT` in the root [INFO] [stderr] | no `HWND` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::WS_HSCROLL`, `winapi::WS_VISIBLE`, `winapi::WS_VSCROLL`, `winapi::WS_OVERLAPPEDWINDOW` [INFO] [stderr] --> examples/custom.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | use winapi::{WS_HSCROLL, WS_VISIBLE, WS_VSCROLL, WS_OVERLAPPEDWINDOW}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `WS_OVERLAPPEDWINDOW` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `WS_VSCROLL` in the root [INFO] [stderr] | | no `WS_VISIBLE` in the root [INFO] [stderr] | no `WS_HSCROLL` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::DestroyWindow` [INFO] [stderr] --> examples/custom.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | use user32::DestroyWindow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `DestroyWindow` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::WM_CREATE`, `winapi::WM_CLOSE` [INFO] [stderr] --> examples/custom.rs:112:18 [INFO] [stderr] | [INFO] [stderr] 112 | use winapi::{WM_CREATE, WM_CLOSE}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ no `WM_CLOSE` in the root [INFO] [stderr] | | [INFO] [stderr] | no `WM_CREATE` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::DefWindowProcW`, `user32::PostQuitMessage`, `user32::ShowWindow` [INFO] [stderr] --> examples/custom.rs:113:18 [INFO] [stderr] | [INFO] [stderr] 113 | use user32::{DefWindowProcW, PostQuitMessage, ShowWindow}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `ShowWindow` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `PostQuitMessage` in the root [INFO] [stderr] | no `DefWindowProcW` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find macro `nwg_button!` in this scope [INFO] [stderr] --> examples/custom.rs:144:34 [INFO] [stderr] | [INFO] [stderr] 144 | app.pack_control(&"AButton", nwg_button!(parent="MyCustomWindow"; text="Test"; position=(10,10); size=(480, 480)) ); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `constants` in `nwg` [INFO] [stderr] --> examples/no_templating.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | weight: nwg::constants::FONT_WEIGHT_NORMAL, [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `constants` in `nwg` [INFO] [stderr] --> examples/no_templating.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | decoration: nwg::constants::FONT_DECO_NORMAL, [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `constants` in `nwg` [INFO] [stderr] --> examples/no_templating.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | weight: nwg::constants::FONT_WEIGHT_NORMAL, [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `constants` in `nwg` [INFO] [stderr] --> examples/no_templating.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | decoration: nwg::constants::FONT_DECO_NORMAL, [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] error[E0425]: cannot find function `setup_ui` in this scope [INFO] [stderr] --> examples/showcase.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | if let Err(e) = setup_ui(&app) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `constants` in `nwg` [INFO] [stderr] --> examples/no_templating.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | align: nwg::constants::HTextAlign::Left, [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] error[E0425]: cannot find function `exit` in crate `nwg` [INFO] [stderr] --> examples/custom.rs:149:14 [INFO] [stderr] | [INFO] [stderr] 149 | nwg::exit(); [INFO] [stderr] | ^^^^ not found in `nwg` [INFO] [stderr] error[E0425]: cannot find function `setup_ui` in this scope [INFO] [stderr] error[E0425]: cannot find function `setup_ui` in this scope [INFO] [stderr] --> examples/canvas.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | if let Err(e) = setup_ui(&app) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] --> examples/templating.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | if let Err(e) = setup_ui(&app) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/canvas.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] extern crate native_windows_gui as nwg; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 17 | use std::process::exit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/custom.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[macro_use] extern crate native_windows_gui as nwg; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/showcase.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] extern crate native_windows_gui as nwg; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/templating.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] extern crate native_windows_gui as nwg; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppId::*` [INFO] [stderr] --> examples/templating.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use AppId::*; // Shortcut [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] error[E0432]: unresolved import `nwg::constants` [INFO] [stderr] --> tests/all.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | use nwg::constants::*; [INFO] [stderr] | ^^^^^^^^^ could not find `constants` in `nwg` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FontT` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:31:19 [INFO] [stderr] | [INFO] [stderr] 31 | let f1 = nwg::FontT { [INFO] [stderr] | ^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FontT` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | let f2 = nwg::FontT { [INFO] [stderr] | ^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WindowT` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | let window = nwg::WindowT { [INFO] [stderr] | ^^^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LabelT` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:53:22 [INFO] [stderr] | [INFO] [stderr] 53 | let label = nwg::LabelT { [INFO] [stderr] | ^^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TextInputT` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | let tedit = nwg::TextInputT::<_, &'static str, _> { [INFO] [stderr] | ^^^^^^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ButtonT` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | let hellbtn = nwg::ButtonT { [INFO] [stderr] | ^^^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextInput` in crate `nwg` [INFO] [stderr] --> examples/no_templating.rs:90:46 [INFO] [stderr] | [INFO] [stderr] 90 | if let Ok(your_name) = ui.get::(&NameInput) { [INFO] [stderr] | ^^^^^^^^^ not found in `nwg` [INFO] [stderr] [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ui` [INFO] [stderr] --> tests/all.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | fn setup_ui() -> Ui { Ui::new().unwrap() } [INFO] [stderr] | ^^ use of undeclared type or module `Ui` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ui` [INFO] [stderr] --> tests/all.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | match Ui::::new() { [INFO] [stderr] | ^^ use of undeclared type or module `Ui` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:101:47 [INFO] [stderr] | [INFO] [stderr] 101 | assert!(r.is_err() && r.err().unwrap() == Error::KeyExists, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:119:51 [INFO] [stderr] | [INFO] [stderr] 119 | assert!(y.is_err() && y.err().unwrap() == Error::KeyNotFound); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:120:51 [INFO] [stderr] | [INFO] [stderr] 120 | assert!(z.is_err() && z.err().unwrap() == Error::BadType); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:136:53 [INFO] [stderr] | [INFO] [stderr] 136 | assert!(x2.is_err() && x2.err().unwrap() == Error::BorrowError); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:137:53 [INFO] [stderr] | [INFO] [stderr] 137 | assert!(x3.is_err() && x3.err().unwrap() == Error::BorrowError); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:160:47 [INFO] [stderr] | [INFO] [stderr] 160 | assert!(r.is_err() && r.err().unwrap() == Error::KeyExists, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:178:47 [INFO] [stderr] | [INFO] [stderr] 178 | assert!(r.is_err() && r.err().unwrap() == Error::KeyExists, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:194:27 [INFO] [stderr] | [INFO] [stderr] 194 | ui.bind(&1001, &5000, Event::Destroyed, move |_, _, _, _|{ unsafe{ *(&mut *x) += 1; } } ); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:195:27 [INFO] [stderr] | [INFO] [stderr] 195 | ui.bind(&1005, &5000, Event::Destroyed, move |_, _, _, _|{ unsafe{ *(&mut *x) += 1; } } ); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:220:51 [INFO] [stderr] | [INFO] [stderr] 220 | assert!(r.is_err() && r.err().unwrap() == Error::ControlInUse, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:226:51 [INFO] [stderr] | [INFO] [stderr] 226 | assert!(r.is_err() && r.err().unwrap() == Error::ResourceInUse, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:241:27 [INFO] [stderr] | [INFO] [stderr] 241 | ui.bind(&1001, &5000, Event::Destroyed, |ui, id, _, _|{ [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:243:31 [INFO] [stderr] | [INFO] [stderr] 243 | ui.bind(&1001, &5001, Event::Destroyed, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:245:51 [INFO] [stderr] | [INFO] [stderr] 245 | assert!(r.is_err() && r.err().unwrap() == Error::ControlInUse, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:250:51 [INFO] [stderr] | [INFO] [stderr] 250 | assert!(r.is_err() && r.err().unwrap() == Error::ControlInUse, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:254:31 [INFO] [stderr] | [INFO] [stderr] 254 | ui.bind(&1002, &5001, Event::KeyDown, |_, _, _, _|{ } ); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:262:27 [INFO] [stderr] | [INFO] [stderr] 262 | ui.bind(&1000, &5000, Event::Destroyed, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:264:47 [INFO] [stderr] | [INFO] [stderr] 264 | assert!(r.is_err() && r.err().unwrap() == Error::ControlRequired, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:267:27 [INFO] [stderr] | [INFO] [stderr] 267 | ui.bind(&1005, &5000, Event::Destroyed, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:269:47 [INFO] [stderr] | [INFO] [stderr] 269 | assert!(r.is_err() && r.err().unwrap() == Error::KeyNotFound, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:272:27 [INFO] [stderr] | [INFO] [stderr] 272 | ui.bind(&1003, &5000, Event::MouseUp, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:274:47 [INFO] [stderr] | [INFO] [stderr] 274 | assert!(r.is_err() && r.err().unwrap() == Error::EventNotSupported(Event::MouseUp), "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:274:72 [INFO] [stderr] | [INFO] [stderr] 274 | assert!(r.is_err() && r.err().unwrap() == Error::EventNotSupported(Event::MouseUp), "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:277:27 [INFO] [stderr] | [INFO] [stderr] 277 | ui.bind(&1001, &5000, Event::Destroyed, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:279:47 [INFO] [stderr] | [INFO] [stderr] 279 | assert!(r.is_err() && r.err().unwrap() == Error::KeyExists, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:294:27 [INFO] [stderr] | [INFO] [stderr] 294 | ui.bind(&1000, &5000, Event::Destroyed, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:297:29 [INFO] [stderr] | [INFO] [stderr] 297 | ui.unbind(&1000, &5000, Event::Destroyed); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:301:27 [INFO] [stderr] | [INFO] [stderr] 301 | ui.bind(&1000, &5000, Event::Destroyed, |_, _, _, _|{}); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:305:29 [INFO] [stderr] | [INFO] [stderr] 305 | ui.unbind(&1001, &5000, Event::Destroyed); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:307:47 [INFO] [stderr] | [INFO] [stderr] 307 | assert!(r.is_err() && r.err().unwrap() == Error::ControlRequired, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:310:29 [INFO] [stderr] | [INFO] [stderr] 310 | ui.unbind(&1005, &5000, Event::Destroyed); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:312:47 [INFO] [stderr] | [INFO] [stderr] 312 | assert!(r.is_err() && r.err().unwrap() == Error::KeyNotFound, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:315:29 [INFO] [stderr] | [INFO] [stderr] 315 | ui.unbind(&1002, &5000, Event::MouseUp); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:317:47 [INFO] [stderr] | [INFO] [stderr] 317 | assert!(r.is_err() && r.err().unwrap() == Error::EventNotSupported(Event::MouseUp), "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:317:72 [INFO] [stderr] | [INFO] [stderr] 317 | assert!(r.is_err() && r.err().unwrap() == Error::EventNotSupported(Event::MouseUp), "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:320:29 [INFO] [stderr] | [INFO] [stderr] 320 | ui.unbind(&1000, &5001, Event::Destroyed); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:322:47 [INFO] [stderr] | [INFO] [stderr] 322 | assert!(r.is_err() && r.err().unwrap() == Error::KeyNotFound, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:324:27 [INFO] [stderr] | [INFO] [stderr] 324 | ui.bind(&1000, &5001, Event::Destroyed, |ui, id, _, _|{ [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:326:33 [INFO] [stderr] | [INFO] [stderr] 326 | ui.unbind(&1000, &5000, Event::Destroyed); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:328:51 [INFO] [stderr] | [INFO] [stderr] 328 | assert!(r.is_err() && r.err().unwrap() == Error::ControlInUse, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:345:27 [INFO] [stderr] | [INFO] [stderr] 345 | ui.bind(&1000, &5000, Event::MouseDown, move |_, _, _, _|{ unsafe{ *(&mut *x) = true; } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:346:27 [INFO] [stderr] | [INFO] [stderr] 346 | ui.bind(&1000, &5000, Event::MouseUp, move |ui, _, _, _|{ [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:347:27 [INFO] [stderr] | [INFO] [stderr] 347 | ui.trigger(&1000, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventArgs` [INFO] [stderr] --> tests/all.rs:347:45 [INFO] [stderr] | [INFO] [stderr] 347 | ui.trigger(&1000, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:351:23 [INFO] [stderr] | [INFO] [stderr] 351 | ui.trigger(&1000, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventArgs` [INFO] [stderr] --> tests/all.rs:351:41 [INFO] [stderr] | [INFO] [stderr] 351 | ui.trigger(&1000, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:354:23 [INFO] [stderr] | [INFO] [stderr] 354 | ui.trigger(&1030, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventArgs` [INFO] [stderr] --> tests/all.rs:354:41 [INFO] [stderr] | [INFO] [stderr] 354 | ui.trigger(&1030, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:356:47 [INFO] [stderr] | [INFO] [stderr] 356 | assert!(r.is_err() && r.err().unwrap() == Error::KeyNotFound, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:358:23 [INFO] [stderr] | [INFO] [stderr] 358 | ui.trigger(&1001, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventArgs` [INFO] [stderr] --> tests/all.rs:358:41 [INFO] [stderr] | [INFO] [stderr] 358 | ui.trigger(&1001, Event::MouseDown, EventArgs::None); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:360:47 [INFO] [stderr] | [INFO] [stderr] 360 | assert!(r.is_err() && r.err().unwrap() == Error::ControlRequired, "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:362:23 [INFO] [stderr] | [INFO] [stderr] 362 | ui.trigger(&1000, Event::SelectionChanged, EventArgs::None); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventArgs` [INFO] [stderr] --> tests/all.rs:362:48 [INFO] [stderr] | [INFO] [stderr] 362 | ui.trigger(&1000, Event::SelectionChanged, EventArgs::None); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:364:47 [INFO] [stderr] | [INFO] [stderr] 364 | assert!(r.is_err() && r.err().unwrap() == Error::EventNotSupported(Event::SelectionChanged), "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:364:72 [INFO] [stderr] | [INFO] [stderr] 364 | assert!(r.is_err() && r.err().unwrap() == Error::EventNotSupported(Event::SelectionChanged), "Commit was successful"); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:366:23 [INFO] [stderr] | [INFO] [stderr] 366 | ui.trigger(&1000, Event::MouseUp, EventArgs::None); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventArgs` [INFO] [stderr] --> tests/all.rs:366:39 [INFO] [stderr] | [INFO] [stderr] 366 | ui.trigger(&1000, Event::MouseUp, EventArgs::None); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:380:27 [INFO] [stderr] | [INFO] [stderr] 380 | ui.bind(&1000, &5000, Event::Destroyed, move |_, _, _, _|{ unsafe{ *(&mut *x) = true; } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:400:31 [INFO] [stderr] | [INFO] [stderr] 400 | ui.bind(&1000, &5000, Event::Destroyed, move |_, _, _, _|{ unsafe{ *(&mut *x) = true; } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:415:29 [INFO] [stderr] | [INFO] [stderr] 415 | ui.bind(&1000, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:418:29 [INFO] [stderr] | [INFO] [stderr] 418 | ui.bind(&1001, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:421:29 [INFO] [stderr] | [INFO] [stderr] 421 | ui.bind(&2003, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:427:29 [INFO] [stderr] | [INFO] [stderr] 427 | ui.bind(&1002, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:428:29 [INFO] [stderr] | [INFO] [stderr] 428 | ui.bind(&1003, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:429:29 [INFO] [stderr] | [INFO] [stderr] 429 | ui.bind(&1004, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:430:29 [INFO] [stderr] | [INFO] [stderr] 430 | ui.bind(&2000, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:436:29 [INFO] [stderr] | [INFO] [stderr] 436 | ui.bind(&1005, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:437:29 [INFO] [stderr] | [INFO] [stderr] 437 | ui.bind(&1006, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:438:29 [INFO] [stderr] | [INFO] [stderr] 438 | ui.bind(&1007, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:439:29 [INFO] [stderr] | [INFO] [stderr] 439 | ui.bind(&2001, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:444:29 [INFO] [stderr] | [INFO] [stderr] 444 | ui.bind(&1008, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:445:29 [INFO] [stderr] | [INFO] [stderr] 445 | ui.bind(&1009, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> tests/all.rs:446:29 [INFO] [stderr] | [INFO] [stderr] 446 | ui.bind(&2002, &10_000, Event::Destroyed, move |_,_,_,_|{ unsafe{ *(&mut *x) += 1 } }); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CheckState` [INFO] [stderr] --> tests/all.rs:523:122 [INFO] [stderr] | [INFO] [stderr] 523 | let btn_t2 = CheckBoxT{text: "TEST", position:(10, 10), size: (100, 30), visible: true, disabled: false, checkstate: CheckState::Checked, tristate: false, parent: 1000, font: None}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CheckState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:539:29 [INFO] [stderr] | [INFO] [stderr] 539 | match ui.commit() { Err(Error::KeyNotFound) => {}, r => panic!("Should have returned Error::KeyNotFound, got {:?}", r) } [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:543:29 [INFO] [stderr] | [INFO] [stderr] 543 | match ui.commit() { Err(Error::BadParent(_)) => {}, r => panic!("Should have returned Error::BadParent, got {:?}", r) } [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> tests/all.rs:548:29 [INFO] [stderr] | [INFO] [stderr] 548 | match ui.commit() { Err(Error::BadResource(_)) => {}, r => panic!("Should have returned Error::BadResource, got {:?}", r) } [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CheckState` [INFO] [stderr] --> tests/all.rs:559:46 [INFO] [stderr] | [INFO] [stderr] 559 | assert!(checkbox.get_checkstate() == CheckState::Checked); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CheckState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CheckState` [INFO] [stderr] --> tests/all.rs:560:33 [INFO] [stderr] | [INFO] [stderr] 560 | checkbox.set_checkstate(CheckState::Unchecked); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CheckState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CheckState` [INFO] [stderr] --> tests/all.rs:561:46 [INFO] [stderr] | [INFO] [stderr] 561 | assert!(checkbox.get_checkstate() == CheckState::Unchecked); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CheckState` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ui` in this scope [INFO] [stderr] --> tests/all.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | fn setup_ui() -> Ui { Ui::new().unwrap() } [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WindowT` in this scope [INFO] [stderr] --> tests/all.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | fn window() -> WindowT<&'static str> { WindowT{title: "", position:(-600,-600), size:(100, 100), resizable:true, visible:true, disabled:false, exit_on_close:true} } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WindowT` in this scope [INFO] [stderr] --> tests/all.rs:10:41 [INFO] [stderr] | [INFO] [stderr] 10 | fn window() -> WindowT<&'static str> { WindowT{title: "", position:(-600,-600), size:(100, 100), resizable:true, visible:true, disabled:false, exit_on_close:true} } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FontT` in this scope [INFO] [stderr] --> tests/all.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | fn default_font() -> FontT<&'static str> { FontT{ family: "Arial", size: 10, weight: FONT_WEIGHT_BOLD, decoration: FONT_DECO_ITALIC|FONT_DECO_STRIKEOUT } } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FontT` in this scope [INFO] [stderr] --> tests/all.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | fn default_font() -> FontT<&'static str> { FontT{ family: "Arial", size: 10, weight: FONT_WEIGHT_BOLD, decoration: FONT_DECO_ITALIC|FONT_DECO_STRIKEOUT } } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FONT_WEIGHT_BOLD` in this scope [INFO] [stderr] --> tests/all.rs:11:86 [INFO] [stderr] | [INFO] [stderr] 11 | fn default_font() -> FontT<&'static str> { FontT{ family: "Arial", size: 10, weight: FONT_WEIGHT_BOLD, decoration: FONT_DECO_ITALIC|FONT_DECO_STRIKEOUT } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FONT_DECO_ITALIC` in this scope [INFO] [stderr] --> tests/all.rs:11:116 [INFO] [stderr] | [INFO] [stderr] 11 | fn default_font() -> FontT<&'static str> { FontT{ family: "Arial", size: 10, weight: FONT_WEIGHT_BOLD, decoration: FONT_DECO_ITALIC|FONT_DECO_STRIKEOUT } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FONT_DECO_STRIKEOUT` in this scope [INFO] [stderr] --> tests/all.rs:11:133 [INFO] [stderr] | [INFO] [stderr] 11 | fn default_font() -> FontT<&'static str> { FontT{ family: "Arial", size: 10, weight: FONT_WEIGHT_BOLD, decoration: FONT_DECO_ITALIC|FONT_DECO_STRIKEOUT } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:148:28 [INFO] [stderr] | [INFO] [stderr] 148 | ui.pack_control(&1001, MenuItemT{text: "", parent: 1000, disabled: false}); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:155:24 [INFO] [stderr] | [INFO] [stderr] 155 | { let w = ui.get::(&1000); w.expect("Failed to get control"); } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:158:28 [INFO] [stderr] | [INFO] [stderr] 158 | ui.pack_control(&1000, MenuItemT{text: "", parent: 1000, disabled: false}); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Font` in this scope [INFO] [stderr] --> tests/all.rs:173:24 [INFO] [stderr] | [INFO] [stderr] 173 | { let f = ui.get::(&1000); f.expect("Failed to get control"); } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ButtonT` in this scope [INFO] [stderr] --> tests/all.rs:192:28 [INFO] [stderr] | [INFO] [stderr] 192 | ui.pack_control(&1005, ButtonT{text: "TEST", position:(10, 10), size: (100, 30), visible: true, disabled: false, parent: 1001, font: None}); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Font` in this scope [INFO] [stderr] --> tests/all.rs:222:26 [INFO] [stderr] | [INFO] [stderr] 222 | let y = ui.get::(&1004); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:238:28 [INFO] [stderr] | [INFO] [stderr] 238 | ui.pack_control(&1003, MenuItemT{text: "", parent: 1001, disabled: false}); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `exit` in this scope [INFO] [stderr] --> tests/all.rs:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | exit(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::process::exit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dispatch_events` in this scope [INFO] [stderr] --> tests/all.rs:283:5 [INFO] [stderr] | [INFO] [stderr] 283 | dispatch_events(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:291:28 [INFO] [stderr] | [INFO] [stderr] 291 | ui.pack_control(&1002, MenuItemT{text: "", parent: 1000, disabled: false}); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:332:16 [INFO] [stderr] | [INFO] [stderr] 332 | { ui.get::(&1000).unwrap().close(); } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dispatch_events` in this scope [INFO] [stderr] --> tests/all.rs:333:5 [INFO] [stderr] | [INFO] [stderr] 333 | dispatch_events(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:386:16 [INFO] [stderr] | [INFO] [stderr] 386 | { ui.get::(&1000).unwrap().close(); } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `dispatch_events` in this scope [INFO] [stderr] --> tests/all.rs:389:5 [INFO] [stderr] | [INFO] [stderr] 389 | dispatch_events(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:417:28 [INFO] [stderr] | [INFO] [stderr] 417 | ui.pack_control(&1001, MenuT{ text: "Test1", parent: 1000, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:420:28 [INFO] [stderr] | [INFO] [stderr] 420 | ui.pack_control(&2003, MenuItemT{ text: "TestItem4", parent: 1000, disabled: false }); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:423:28 [INFO] [stderr] | [INFO] [stderr] 423 | ui.pack_control(&1002, MenuT{ text: "Test2", parent: 1000, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:424:28 [INFO] [stderr] | [INFO] [stderr] 424 | ui.pack_control(&1003, MenuT{ text: "Test3", parent: 1002, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:425:28 [INFO] [stderr] | [INFO] [stderr] 425 | ui.pack_control(&1004, MenuT{ text: "Test4", parent: 1002, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:426:28 [INFO] [stderr] | [INFO] [stderr] 426 | ui.pack_control(&2000, MenuItemT{ text: "TestItem1", parent: 1002, disabled: false }); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:432:28 [INFO] [stderr] | [INFO] [stderr] 432 | ui.pack_control(&1005, MenuT{ text: "Test5", parent: 1000, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:433:28 [INFO] [stderr] | [INFO] [stderr] 433 | ui.pack_control(&1006, MenuT{ text: "Test6", parent: 1005, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:434:28 [INFO] [stderr] | [INFO] [stderr] 434 | ui.pack_control(&1007, MenuT{ text: "Test7", parent: 1006, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:435:28 [INFO] [stderr] | [INFO] [stderr] 435 | ui.pack_control(&2001, MenuItemT{ text: "TestItem2", parent: 1007, disabled: false }); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:441:28 [INFO] [stderr] | [INFO] [stderr] 441 | ui.pack_control(&1008, MenuT{ text: "Test8", parent: 1000, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuT` in this scope [INFO] [stderr] --> tests/all.rs:442:28 [INFO] [stderr] | [INFO] [stderr] 442 | ui.pack_control(&1009, MenuT{ text: "Test9", parent: 1008, disabled: false }); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:443:28 [INFO] [stderr] | [INFO] [stderr] 443 | ui.pack_control(&2002, MenuItemT{ text: "TestItem3", parent: 1000, disabled: false }); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Menu` in this scope [INFO] [stderr] --> tests/all.rs:452:42 [INFO] [stderr] | [INFO] [stderr] 452 | let (menu, menuitem) = (ui.get::(&1001).unwrap(), ui.get::(&2002).unwrap()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MenuItem` in this scope [INFO] [stderr] --> tests/all.rs:452:74 [INFO] [stderr] | [INFO] [stderr] 452 | let (menu, menuitem) = (ui.get::(&1001).unwrap(), ui.get::(&2002).unwrap()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:512:33 [INFO] [stderr] | [INFO] [stderr] 512 | test_visibility!(ui, &1000, Window); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:513:31 [INFO] [stderr] | [INFO] [stderr] 513 | test_position!(ui, &1000, Window); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:514:27 [INFO] [stderr] | [INFO] [stderr] 514 | test_size!(ui, &1000, Window); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Window` in this scope [INFO] [stderr] --> tests/all.rs:515:30 [INFO] [stderr] | [INFO] [stderr] 515 | test_enabled!(ui, &1000, Window); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ButtonT` in this scope [INFO] [stderr] --> tests/all.rs:522:21 [INFO] [stderr] | [INFO] [stderr] 522 | let mut btn_t = ButtonT{text: "TEST", position:(10, 10), size: (100, 30), visible: true, disabled: false, parent: 1000, font: None}; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `CheckBoxT` in this scope [INFO] [stderr] --> tests/all.rs:523:18 [INFO] [stderr] | [INFO] [stderr] 523 | let btn_t2 = CheckBoxT{text: "TEST", position:(10, 10), size: (100, 30), visible: true, disabled: false, checkstate: CheckState::Checked, tristate: false, parent: 1000, font: None}; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MenuItemT` in this scope [INFO] [stderr] --> tests/all.rs:527:28 [INFO] [stderr] | [INFO] [stderr] 527 | ui.pack_control(&1001, MenuItemT{text: "", parent: 1000, disabled: false}); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Button` in this scope [INFO] [stderr] --> tests/all.rs:551:33 [INFO] [stderr] | [INFO] [stderr] 551 | test_visibility!(ui, &1002, Button); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Button` in this scope [INFO] [stderr] --> tests/all.rs:552:31 [INFO] [stderr] | [INFO] [stderr] 552 | test_position!(ui, &1002, Button); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Button` in this scope [INFO] [stderr] --> tests/all.rs:553:27 [INFO] [stderr] | [INFO] [stderr] 553 | test_size!(ui, &1002, Button); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Button` in this scope [INFO] [stderr] --> tests/all.rs:554:30 [INFO] [stderr] | [INFO] [stderr] 554 | test_enabled!(ui, &1002, Button); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CheckBox` in this scope [INFO] [stderr] --> tests/all.rs:557:33 [INFO] [stderr] | [INFO] [stderr] 557 | let checkbox = ui.get::(&1010).expect("Control not found"); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ListBoxT` in this scope [INFO] [stderr] --> tests/all.rs:574:20 [INFO] [stderr] | [INFO] [stderr] 574 | let mut lb_t = ListBoxT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ListBox` in this scope [INFO] [stderr] --> tests/all.rs:591:33 [INFO] [stderr] | [INFO] [stderr] 591 | test_visibility!(ui, &1002, ListBox<&'static str>); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ListBox` in this scope [INFO] [stderr] --> tests/all.rs:592:31 [INFO] [stderr] | [INFO] [stderr] 592 | test_position!(ui, &1002, ListBox<&'static str>); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ListBox` in this scope [INFO] [stderr] --> tests/all.rs:593:27 [INFO] [stderr] | [INFO] [stderr] 593 | test_size!(ui, &1002, ListBox<&'static str>, (200, 192)); // Listbox height is forced to be rounded to match the items height. [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ListBox` in this scope [INFO] [stderr] --> tests/all.rs:594:30 [INFO] [stderr] | [INFO] [stderr] 594 | test_enabled!(ui, &1002, ListBox<&'static str>); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ListBox` in this scope [INFO] [stderr] --> tests/all.rs:597:35 [INFO] [stderr] | [INFO] [stderr] 597 | let mut lb = ui.get_mut::>(&1002).expect("Control not found!"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ListBox` in this scope [INFO] [stderr] --> tests/all.rs:654:27 [INFO] [stderr] | [INFO] [stderr] 654 | let lb = ui.get::>(&1003).expect("Control not found!"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ComboBoxT` in this scope [INFO] [stderr] --> tests/all.rs:694:16 [INFO] [stderr] | [INFO] [stderr] 694 | let cb_t = ComboBoxT { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComboBox` in this scope [INFO] [stderr] --> tests/all.rs:710:33 [INFO] [stderr] | [INFO] [stderr] 710 | test_visibility!(ui, &1002, ComboBox<&'static str>); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComboBox` in this scope [INFO] [stderr] --> tests/all.rs:711:31 [INFO] [stderr] | [INFO] [stderr] 711 | test_position!(ui, &1002, ComboBox<&'static str>); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComboBox` in this scope [INFO] [stderr] --> tests/all.rs:712:30 [INFO] [stderr] | [INFO] [stderr] 712 | test_enabled!(ui, &1002, ComboBox<&'static str>); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComboBox` in this scope [INFO] [stderr] --> tests/all.rs:715:35 [INFO] [stderr] | [INFO] [stderr] 715 | let mut cb = ui.get_mut::>(&1002).expect("Control not found!"); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TextInputT` in this scope [INFO] [stderr] --> tests/all.rs:760:16 [INFO] [stderr] | [INFO] [stderr] 760 | let ti_t = TextInputT::<_, &'static str, _> { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextInput` in this scope [INFO] [stderr] --> tests/all.rs:777:33 [INFO] [stderr] | [INFO] [stderr] 777 | test_visibility!(ui, &1001, TextInput); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextInput` in this scope [INFO] [stderr] --> tests/all.rs:778:31 [INFO] [stderr] | [INFO] [stderr] 778 | test_position!(ui, &1001, TextInput); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextInput` in this scope [INFO] [stderr] --> tests/all.rs:779:27 [INFO] [stderr] | [INFO] [stderr] 779 | test_size!(ui, &1001, TextInput); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextInput` in this scope [INFO] [stderr] --> tests/all.rs:780:30 [INFO] [stderr] | [INFO] [stderr] 780 | test_enabled!(ui, &1001, TextInput); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextInput` in this scope [INFO] [stderr] --> tests/all.rs:783:31 [INFO] [stderr] | [INFO] [stderr] 783 | let tinput = ui.get::(&1001).expect("Control not found"); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `nwg::*` [INFO] [stderr] --> tests/all.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use nwg::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `nwg::constants::*` [INFO] [stderr] --> tests/all.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use nwg::constants::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 151 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `native-windows-gui`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4b9c713d6ee83ac7b0ad823f071ed36b9abd3966cb33f6021d2cb94a58dafbc1"` [INFO] running `"docker" "rm" "-f" "4b9c713d6ee83ac7b0ad823f071ed36b9abd3966cb33f6021d2cb94a58dafbc1"` [INFO] [stdout] 4b9c713d6ee83ac7b0ad823f071ed36b9abd3966cb33f6021d2cb94a58dafbc1