[INFO] fetching crate nxui 0.16.25... [INFO] testing nxui-0.16.25 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate nxui 0.16.25 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nxui 0.16.25 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nxui 0.16.25 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26e3d3742d5c6386703663bc3806351f0e99868cdbd49d0d2cb3b36f193992a6 [INFO] running `Command { std: "docker" "start" "-a" "26e3d3742d5c6386703663bc3806351f0e99868cdbd49d0d2cb3b36f193992a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26e3d3742d5c6386703663bc3806351f0e99868cdbd49d0d2cb3b36f193992a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e3d3742d5c6386703663bc3806351f0e99868cdbd49d0d2cb3b36f193992a6", kill_on_drop: false }` [INFO] [stdout] 26e3d3742d5c6386703663bc3806351f0e99868cdbd49d0d2cb3b36f193992a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c452ef4e06035f2c82b5a026fc71072e46fc45be3afeaa922ca415c5a28e02e [INFO] running `Command { std: "docker" "start" "-a" "8c452ef4e06035f2c82b5a026fc71072e46fc45be3afeaa922ca415c5a28e02e", kill_on_drop: false }` [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 cfg-expr v0.10.2 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling gio v0.15.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [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 pest v2.1.3 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling gtk v0.15.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling platform-dirs v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling webbrowser v0.6.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [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 atk-sys v0.15.1 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling pango-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 unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/window/window.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::WPARAM; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/window/window.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows_sys::core::PCSTR; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/window/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows_sys::Win32::Foundation::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [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[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 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 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[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 `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 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 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 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 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 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 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 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[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[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] warning: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(macos)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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)]` (part of `#[warn(unused)]`) 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 doc comment [INFO] [stdout] --> src/file_chooser.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | /// Dialog Title [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | title, [INFO] [stdout] | ----- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/file_chooser.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | /// Dialog Title [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | title, [INFO] [stdout] | ----- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [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: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/util/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(macos)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 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] = note: `#[warn(deprecated)]` on by default [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/messagebox.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::window::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: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/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::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 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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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[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 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 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[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 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 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 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 `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 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[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 be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [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[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 be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [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 struct [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[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 struct [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 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: 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] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/directory_chooser.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let path = dialog.path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/directory_chooser.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let path = dialog.path() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/file_chooser.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 120 | FC_ENABLE_HELP => { [INFO] [stdout] | -------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 123 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/file_chooser.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | if let path = dialog.path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `FC_ENABLE_HELP` [INFO] [stdout] --> src/file_chooser.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | FC_ENABLE_HELP => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_FC_ENABLE_HELP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file` is never read [INFO] [stdout] --> src/file_chooser.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut file = "".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_chooser.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let path = dialog.path() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/file_chooser.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 230 | FC_ENABLE_HELP => { [INFO] [stdout] | -------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 233 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/file_chooser.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if let path = dialog.path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `FC_ENABLE_HELP` [INFO] [stdout] --> src/file_chooser.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | FC_ENABLE_HELP => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_FC_ENABLE_HELP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_chooser.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | if let path = dialog.path() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/graphic/font.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(font_size: i32,font_style: FontStyle,font_name: FontName) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_style` [INFO] [stdout] --> src/graphic/font.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(font_size: i32,font_style: FontStyle,font_name: FontName) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_name` [INFO] [stdout] --> src/graphic/font.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(font_size: i32,font_style: FontStyle,font_name: FontName) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/widget/menuitem.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn add_menuitem(&self, item: MenuItem) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/window/dialog.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let frame = dialog.frame(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window/mod.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn set_position(&self, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/window/mod.rs:312:40 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn set_position(&self, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/window/mod.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | fn startup(&self, storage: Storage) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [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` (lib) due to 73 previous errors; 154 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gtk` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/b83b707f97d809763b7861afa7638871f3339a33/bin/rustc --crate-name gtk --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gtk-0.15.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("dox", "gio_v2_58", "v3_20", "v3_22", "v3_22_20", "v3_22_26", "v3_22_27", "v3_22_29", "v3_22_30", "v3_24", "v3_24_1", "v3_24_11", "v3_24_30", "v3_24_8", "v3_24_9"))' -C metadata=d4dff05c4c3b1567 -C extra-filename=-5f7693b50e024adc --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern atk=/opt/rustwide/target/debug/deps/libatk-18bbb3deb7666526.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-e2b4db6c651223da.rmeta --extern cairo=/opt/rustwide/target/debug/deps/libcairo-7ecbbe105453c692.rmeta --extern field_offset=/opt/rustwide/target/debug/deps/libfield_offset-f19b934c2564b150.rmeta --extern futures_channel=/opt/rustwide/target/debug/deps/libfutures_channel-a09e002b752812de.rmeta --extern gdk=/opt/rustwide/target/debug/deps/libgdk-518eb11a839e473f.rmeta --extern gdk_pixbuf=/opt/rustwide/target/debug/deps/libgdk_pixbuf-aa6f7bc375e5ec4d.rmeta --extern gio=/opt/rustwide/target/debug/deps/libgio-b917a235147c8d69.rmeta --extern glib=/opt/rustwide/target/debug/deps/libglib-970640970922c6fa.rmeta --extern ffi=/opt/rustwide/target/debug/deps/libgtk_sys-ef818d45dd2c3e4f.rmeta --extern gtk3_macros=/opt/rustwide/target/debug/deps/libgtk3_macros-efb8b2ff862fb537.so --extern libc=/opt/rustwide/target/debug/deps/liblibc-55d62f3d142aa0b3.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-f2975474530e33fc.rmeta --extern pango=/opt/rustwide/target/debug/deps/libpango-36d0441433fd3822.rmeta --cap-lints allow --cap-lints=forbid --cfg 'gdk_backend="broadway"' --cfg 'gdk_backend="wayland"' --cfg 'gdk_backend="x11"'` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "8c452ef4e06035f2c82b5a026fc71072e46fc45be3afeaa922ca415c5a28e02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c452ef4e06035f2c82b5a026fc71072e46fc45be3afeaa922ca415c5a28e02e", kill_on_drop: false }` [INFO] [stdout] 8c452ef4e06035f2c82b5a026fc71072e46fc45be3afeaa922ca415c5a28e02e