[INFO] fetching crate nxui 0.16.25... [INFO] testing nxui-0.16.25 against 1.60.0 for beta-1.61-1 [INFO] extracting crate nxui 0.16.25 into /workspace/builds/worker-94/source [INFO] validating manifest of crates.io crate nxui 0.16.25 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nxui 0.16.25 [INFO] finished tweaking crates.io crate nxui 0.16.25 [INFO] tweaked toml for crates.io crate nxui 0.16.25 written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate crates.io crate nxui 0.16.25 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded platform-dirs v0.3.0 [INFO] [stderr] Downloaded gtk v0.15.4 [INFO] [stderr] Downloaded gdk-sys v0.15.1 [INFO] [stderr] Downloaded atk-sys v0.15.1 [INFO] [stderr] Downloaded gdk v0.15.4 [INFO] [stderr] Downloaded cairo-rs v0.15.10 [INFO] [stderr] Downloaded atk v0.15.1 [INFO] [stderr] Downloaded gobject-sys v0.15.10 [INFO] [stderr] Downloaded cfg-expr v0.10.2 [INFO] [stderr] Downloaded glib-sys v0.15.10 [INFO] [stderr] Downloaded webbrowser v0.6.0 [INFO] [stderr] Downloaded pango-sys v0.15.10 [INFO] [stderr] Downloaded gdk-pixbuf v0.15.10 [INFO] [stderr] Downloaded gio v0.15.10 [INFO] [stderr] Downloaded cairo-sys-rs v0.15.1 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Downloaded gtk3-macros v0.15.4 [INFO] [stderr] Downloaded gio-sys v0.15.10 [INFO] [stderr] Downloaded gtk-sys v0.15.3 [INFO] [stderr] Downloaded glib-macros v0.15.10 [INFO] [stderr] Downloaded glib v0.15.10 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded system-deps v6.0.2 [INFO] [stderr] Downloaded pango v0.15.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25d4a4b0db3bc4ace0689b4e5cfb6a4325c5b4d4052c2e3c44060608491cbb4c [INFO] running `Command { std: "docker" "start" "-a" "25d4a4b0db3bc4ace0689b4e5cfb6a4325c5b4d4052c2e3c44060608491cbb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25d4a4b0db3bc4ace0689b4e5cfb6a4325c5b4d4052c2e3c44060608491cbb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d4a4b0db3bc4ace0689b4e5cfb6a4325c5b4d4052c2e3c44060608491cbb4c", kill_on_drop: false }` [INFO] [stdout] 25d4a4b0db3bc4ace0689b4e5cfb6a4325c5b4d4052c2e3c44060608491cbb4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc2b6706b7dce3decd27538d51e5d0dcbe76c84fb65e10e5deb84dc8cc95579d [INFO] running `Command { std: "docker" "start" "-a" "bc2b6706b7dce3decd27538d51e5d0dcbe76c84fb65e10e5deb84dc8cc95579d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling gio v0.15.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling gtk v0.15.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling platform-dirs v0.3.0 [INFO] [stderr] Compiling webbrowser v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling glib-macros v0.15.10 [INFO] [stderr] Compiling gtk3-macros v0.15.4 [INFO] [stderr] Compiling glib v0.15.10 [INFO] [stderr] Compiling cairo-rs v0.15.10 [INFO] [stderr] Compiling pango v0.15.10 [INFO] [stderr] Compiling atk v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf v0.15.10 [INFO] [stderr] Compiling gdk v0.15.4 [INFO] [stderr] Compiling nxui v0.16.25 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/window/window.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows_sys::core::PCSTR; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows_sys::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows_sys::Win32::System::LibraryLoader::GetModuleHandleA; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use windows_sys::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | use windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | use windows_sys::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | use windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | use windows_sys::Win32::UI::WindowsAndMessaging::SW_HIDE; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | use windows_sys::Win32::UI::WindowsAndMessaging::SetParent; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | use windows_sys::Win32::UI::WindowsAndMessaging::SetWindowTextA; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | use windows_sys::Win32::UI::WindowsAndMessaging::SetWindowPos; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | use windows_sys::Win32::Foundation::RECT; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | use windows_sys::Win32::UI::WindowsAndMessaging::{SetWindowPos,GetWindowRect,ShowWindow,SW_SHOWDEFAULT}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | use windows_sys::Win32::UI::WindowsAndMessaging::SetMenu; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | use windows_sys::Win32::Foundation::WPARAM; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | use windows_sys::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | use windows_sys::Win32::Graphics::Dwm::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | use windows_sys::Win32::Foundation::BOOL; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::WPARAM`, `windows_sys::core::PCSTR`, `windows_sys::Win32::Foundation::*`, `windows_sys::Win32::System::LibraryLoader::GetModuleHandleA`, `windows_sys::Win32::UI::WindowsAndMessaging::*`, `windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow`, `windows_sys::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL`, `windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow`, `windows_sys::Win32::UI::WindowsAndMessaging::SW_HIDE`, `windows_sys::Win32::UI::WindowsAndMessaging::SetParent`, `windows_sys::Win32::UI::WindowsAndMessaging::SetWindowTextA`, `windows_sys::Win32::UI::WindowsAndMessaging::SetWindowPos`, `windows_sys::Win32::Foundation::RECT`, `windows_sys::Win32::UI::WindowsAndMessaging::SetWindowPos`, `windows_sys::Win32::UI::WindowsAndMessaging::GetWindowRect`, `windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow`, `windows_sys::Win32::UI::WindowsAndMessaging::SW_SHOWDEFAULT`, `windows_sys::Win32::UI::WindowsAndMessaging::SetMenu`, `windows_sys::Win32::Foundation::WPARAM`, `windows_sys::Win32::UI::WindowsAndMessaging::*`, `windows_sys::Win32::Graphics::Dwm::*`, `windows_sys::Win32::Foundation::BOOL` [INFO] [stdout] --> src/window/window.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use windows_sys::core::PCSTR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use windows_sys::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use windows_sys::Win32::System::LibraryLoader::GetModuleHandleA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use windows_sys::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | use windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | use windows_sys::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use windows_sys::Win32::UI::WindowsAndMessaging::ShowWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | use windows_sys::Win32::UI::WindowsAndMessaging::SW_HIDE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | use windows_sys::Win32::UI::WindowsAndMessaging::SetParent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | use windows_sys::Win32::UI::WindowsAndMessaging::SetWindowTextA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | use windows_sys::Win32::UI::WindowsAndMessaging::SetWindowPos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | use windows_sys::Win32::Foundation::RECT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 217 | use windows_sys::Win32::UI::WindowsAndMessaging::{SetWindowPos,GetWindowRect,ShowWindow,SW_SHOWDEFAULT}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | use windows_sys::Win32::UI::WindowsAndMessaging::SetMenu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | use windows_sys::Win32::Foundation::WPARAM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | use windows_sys::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | use windows_sys::Win32::Graphics::Dwm::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 255 | use windows_sys::Win32::Foundation::BOOL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/widget/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_handle(self) -> windows_sys::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: windows_sys::Win32::Foundation::HWND, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | handle: windows_sys::Win32::Foundation::HWND [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn new(handle: windows_sys::Win32::Foundation::HWND) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys` [INFO] [stdout] --> src/window/window.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_window(&self) -> windows_sys::Win32::Foundation::HWND { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `windows_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BOOL` [INFO] [stdout] --> src/window/window.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | fEnable: BOOL::from(true), [INFO] [stdout] | ^^^^ use of undeclared type `BOOL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/messagebox.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let window = frame.get_window(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/window.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | message: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/window/window.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let instance = GetModuleHandleA(std::ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSA` in this scope [INFO] [stdout] --> src/window/window.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let wc = WNDCLASSA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window/window.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | hCursor: LoadCursorW(0, IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window/window.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | hCursor: LoadCursorW(0, IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/window/window.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/window/window.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> src/window/window.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let atom = RegisterClassA(&wc); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/window/window.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | ... let handle = CreateWindowExA(0, window_class, format!("{}\0",self.attributes.title).as_ptr(), self.attributes.style, self.attribute... [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/window/window.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let b = CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/window/window.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | SetWindowLongA(b,GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/window/window.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | SetWindowLongA(b,GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/window/window.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | SetWindowLongA(b,GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/window/window.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | SetWindowLongA(b,GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetParent` in this scope [INFO] [stdout] --> src/window/window.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | SetParent(b,handle); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageA` in this scope [INFO] [stdout] --> src/window/window.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | while GetMessageA(&mut message, 0, 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/window/window.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | DispatchMessageA(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window/window.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | extern "system" fn wndproc(window: HWND, message: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/window.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | extern "system" fn wndproc(window: HWND, message: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window/window.rs:107:84 [INFO] [stdout] | [INFO] [stdout] 107 | extern "system" fn wndproc(window: HWND, message: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window/window.rs:107:95 [INFO] [stdout] | [INFO] [stdout] 107 | extern "system" fn wndproc(window: HWND, message: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/window/window.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NCCREATE` in this scope [INFO] [stdout] --> src/window/window.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | if message == WM_NCCREATE { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTA` in this scope [INFO] [stdout] --> src/window/window.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | let cs = lparam as *const CREATESTRUCTA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongW` in this scope [INFO] [stdout] --> src/window/window.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | SetWindowLongW(window, GWLP_USERDATA, this as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window/window.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | SetWindowLongW(window, GWLP_USERDATA, this as _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope [INFO] [stdout] --> src/window/window.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let this = GetWindowLongW(window, GWLP_USERDATA) as *mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/window/window.rs:128:51 [INFO] [stdout] | [INFO] [stdout] 128 | let this = GetWindowLongW(window, GWLP_USERDATA) as *mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/window/window.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | DefWindowProcA(window, message, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window/window.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | ShowWindow(self.handle, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/window/window.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | ShowWindow(self.handle, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window/window.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | ShowWindow(self.handle, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/window/window.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | ShowWindow(self.handle, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/window/window.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | SetWindowLongA(widget.get_handle(),GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/window/window.rs:171:48 [INFO] [stdout] | [INFO] [stdout] 171 | SetWindowLongA(widget.get_handle(),GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/window/window.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | SetWindowLongA(widget.get_handle(),GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/window/window.rs:171:70 [INFO] [stdout] | [INFO] [stdout] 171 | SetWindowLongA(widget.get_handle(),GWL_STYLE,(WS_VISIBLE|WS_CHILD) as i32); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetParent` in this scope [INFO] [stdout] --> src/window/window.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | SetParent(widget.get_handle(),self.handle); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/window/window.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | SetWindowLongA(self.handle, GWL_EXSTYLE, style as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/window/window.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | SetWindowLongA(self.handle, GWL_EXSTYLE, style as i32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stdout] --> src/window/window.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | SetWindowLongA(self.handle,GWL_STYLE,style as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/window/window.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | SetWindowLongA(self.handle,GWL_STYLE,style as i32); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> src/window/window.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | SetWindowTextA(self.handle, format!("{}\0",title).as_ptr() as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window/window.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | SetWindowPos(self.handle, 0, x, y, x, y, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/window/window.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | let rect = &mut RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window/window.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | GetWindowRect(self.handle, rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window/window.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | ShowWindow(self.handle, SW_SHOWDEFAULT); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWDEFAULT` in this scope [INFO] [stdout] --> src/window/window.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | ShowWindow(self.handle, SW_SHOWDEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window/window.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | SetWindowPos(self.handle, 0, rect.left, rect.top, width, height, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenu` in this scope [INFO] [stdout] --> src/window/window.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | SetMenu(self.handle, menu.get_menu()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> src/window/window.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | SendMessageA(self.handle, WM_SETICON, ICON_BIG as WPARAM, icon.get_icon()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope [INFO] [stdout] --> src/window/window.rs:243:39 [INFO] [stdout] | [INFO] [stdout] 243 | SendMessageA(self.handle, WM_SETICON, ICON_BIG as WPARAM, icon.get_icon()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICON_BIG` in this scope [INFO] [stdout] --> src/window/window.rs:243:51 [INFO] [stdout] | [INFO] [stdout] 243 | SendMessageA(self.handle, WM_SETICON, ICON_BIG as WPARAM, icon.get_icon()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/window.rs:243:63 [INFO] [stdout] | [INFO] [stdout] 243 | SendMessageA(self.handle, WM_SETICON, ICON_BIG as WPARAM, icon.get_icon()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stdout] --> src/window/window.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | SendMessageA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope [INFO] [stdout] --> src/window/window.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | WM_SETICON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICON_SMALL` in this scope [INFO] [stdout] --> src/window/window.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | ICON_SMALL as WPARAM, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/window.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | ICON_SMALL as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DWM_BLURBEHIND` in this scope [INFO] [stdout] --> src/window/window.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | let bb = &mut DWM_BLURBEHIND { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWM_BB_ENABLE` in this scope [INFO] [stdout] --> src/window/window.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | dwFlags: DWM_BB_ENABLE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmEnableBlurBehindWindow` in this scope [INFO] [stdout] --> src/window/window.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | DwmEnableBlurBehindWindow(self.handle,bb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/directory_chooser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/file_chooser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/file_chooser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/file_chooser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/file_chooser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/file_chooser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::Frame` [INFO] [stdout] --> src/messagebox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::window::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/messagebox.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/nxui.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/nxui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/button.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/button.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/button.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/button.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/checkbox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/checkbox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/checkbox.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/checkbox.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/combobox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/combobox.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/combobox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/combobox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/label.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/label.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/label.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/label.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/listbox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/listbox.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/listbox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/listbox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/widget/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::gio::*` [INFO] [stdout] --> src/widget/menu.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | use gtk::gio::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude::*` [INFO] [stdout] --> src/widget/menu.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/widget/menubar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/widget/menuitem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude::*` [INFO] [stdout] --> src/widget/menuitem.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude::*` [INFO] [stdout] --> src/widget/menuitem.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/radiobutton.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/radiobutton.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/radiobutton.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/radiobutton.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/textedit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/textedit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/textedit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/textedit.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphic::font::Font` [INFO] [stdout] --> src/widget/groupbox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphic::font::Font; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messagebox::MessageBox` [INFO] [stdout] --> src/widget/groupbox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::messagebox::MessageBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::natives_and_messaging::*` [INFO] [stdout] --> src/widget/groupbox.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::natives_and_messaging::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::NWidget` [INFO] [stdout] --> src/widget/groupbox.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::widget::NWidget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/window/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/messagebox.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::window::Frame; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::Application`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::window::{Application, Frame}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::window::{Application, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::Application`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | #[no_mangle] pub extern "C" fn create_new_app(application: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | let frame = Frame::new(window.clone(), window.application()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | impl Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | impl Default for Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:395:6 [INFO] [stdout] | [INFO] [stdout] 395 | impl AdvancedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 406 | impl Default for AdvancedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:424:35 [INFO] [stdout] | [INFO] [stdout] 424 | fn advanced_options(&self) -> AdvancedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | AdvancedOptions::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | fn ui(&self, frame: &Frame); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::dialog::Dialog`: Use the new Window Struct [INFO] [stdout] --> src/demo/demodialog.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::window::dialog::Dialog; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/demo/demodialog.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::dialog::Dialog`: Use the new Window Struct [INFO] [stdout] --> src/demo/demodialog.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl Dialog for DemoDialog { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/demo/demodialog.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | fn frame(&self) -> Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/demo/demodialog.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Frame::default() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/demo/demodialog.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn ui(&self, frame: Frame) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::Application`: Use the new Window Struct [INFO] [stdout] --> src/demo/demowindow.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::window::{Application, Attributes, Frame}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/demo/demowindow.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::window::{Application, Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::Application`: Use the new Window Struct [INFO] [stdout] --> src/demo/demowindow.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl Application for DemoWindow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/demo/demowindow.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn ui(&self, frame: &Frame) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/button.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/button.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/checkbox.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/checkbox.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/combobox.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/combobox.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/label.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/label.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/listbox.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/listbox.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/radiobutton.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/radiobutton.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/textedit.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/textedit.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/groupbox.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::{Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/widget/groupbox.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(attributes: Attributes, frame: &Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::window::{AdvancedOptions, Attributes, Frame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::window::{AdvancedOptions, Attributes, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `window::dialog::Dialog`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn create_dialog(dialog: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | let dialog_frame = Frame::new(window.clone(), window.application()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | fn frame(&self) -> Frame; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn advanced_options(&self) -> AdvancedOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::AdvancedOptions`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | AdvancedOptions::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `window::Frame`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | fn ui(&self, frame: Frame); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::Application::app_name`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | let app_name = application.app_name(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::Application::attributes`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let attributes = application.attributes(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::Application::advanced_options`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | let advanced_options = application.advanced_options(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::Application::is_child_window`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | if application.is_child_window() == false { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::Application::startup`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | application.startup(storage); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::Application::ui`: Use the new Window Struct [INFO] [stdout] --> src/nxui.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | application.ui(&frame); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::dialog::Dialog::attributes`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let attributes = dialog.attributes(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::dialog::Dialog::frame`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let frame = dialog.frame(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `window::dialog::Dialog::ui`: Use the new Window Struct [INFO] [stdout] --> src/window/dialog.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | dialog.ui(dialog_frame); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `WindowTypeHint` as `i32` [INFO] [stdout] --> src/window/window.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | SetWindowLongA(self.handle, GWL_EXSTYLE, style as i32); [INFO] [stdout] | ^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `gtk::WindowType` as `i32` [INFO] [stdout] --> src/window/window.rs:184:50 [INFO] [stdout] | [INFO] [stdout] 184 | SetWindowLongA(self.handle,GWL_STYLE,style as i32); [INFO] [stdout] | ^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_icon` found for struct `icon::Icon` in the current scope [INFO] [stdout] --> src/window/window.rs:243:76 [INFO] [stdout] | [INFO] [stdout] 243 | SendMessageA(self.handle, WM_SETICON, ICON_BIG as WPARAM, icon.get_icon()); [INFO] [stdout] | ^^^^^^^^ method not found in `icon::Icon` [INFO] [stdout] | [INFO] [stdout] ::: src/graphic/icon.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Icon { [INFO] [stdout] | --------------- method `get_icon` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_icon` found for struct `icon::Icon` in the current scope [INFO] [stdout] --> src/window/window.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | icon.get_icon(), [INFO] [stdout] | ^^^^^^^^ method not found in `icon::Icon` [INFO] [stdout] | [INFO] [stdout] ::: src/graphic/icon.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Icon { [INFO] [stdout] | --------------- method `get_icon` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | handle: window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::application`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | application: app, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | self.handle.show_all(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:271:52 [INFO] [stdout] | [INFO] [stdout] 271 | info!("A window has appeared. handle: {}", self.handle); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | self.handle.maximize(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:278:60 [INFO] [stdout] | [INFO] [stdout] 278 | info!("The window has been maximized. handle: {}", self.handle); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | self.handle.unmaximize(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:285:59 [INFO] [stdout] | [INFO] [stdout] 285 | info!("The window has been minimized handle: {}", self.handle); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.handle.hide(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | info!("The window has been hidden. handle: {}", self.handle) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | self.handle.set_title(title.as_str()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | title, self.handle [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | self.handle.borrow().clone() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.handle.set_window_position(gtk::WindowPosition::Center); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | self.handle.set_default_size(width, height); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::application`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | self.application.set_menubar(Some(&menu.get_menu())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | self.handle [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::handle`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | / handle: gtk::ApplicationWindow::new(>k::Application::new( [INFO] [stdout] 341 | | Some("com.example.demo"), [INFO] [stdout] 342 | | Default::default(), [INFO] [stdout] 343 | | )), [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::Frame::application`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | / application: gtk::Application::new( [INFO] [stdout] 345 | | Option::from("com.example.demo"), [INFO] [stdout] 346 | | Default::default(), [INFO] [stdout] 347 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::AdvancedOptions::advanced_style`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:397:16 [INFO] [stdout] | [INFO] [stdout] 397 | Self { advanced_style } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::AdvancedOptions::advanced_style`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | self.advanced_style [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `window::AdvancedOptions::advanced_style`: Use the new Window Struct [INFO] [stdout] --> src/window/mod.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | advanced_style: gtk::gdk::WindowTypeHint::Normal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/widget/menu.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/widget/menubar.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/widget/menuitem.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors; 131 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nxui` due to 93 previous errors; 131 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bc2b6706b7dce3decd27538d51e5d0dcbe76c84fb65e10e5deb84dc8cc95579d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2b6706b7dce3decd27538d51e5d0dcbe76c84fb65e10e5deb84dc8cc95579d", kill_on_drop: false }` [INFO] [stdout] bc2b6706b7dce3decd27538d51e5d0dcbe76c84fb65e10e5deb84dc8cc95579d