[INFO] fetching crate nuklear-backend-gdi 0.3.0... [INFO] checking nuklear-backend-gdi-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate nuklear-backend-gdi 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate nuklear-backend-gdi 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nuklear-backend-gdi 0.3.0 [INFO] finished tweaking crates.io crate nuklear-backend-gdi 0.3.0 [INFO] tweaked toml for crates.io crate nuklear-backend-gdi 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cc v1.0.106 (available: v1.1.21) [INFO] [stderr] Adding deflate v0.7.20 (available: v1.0.0) [INFO] [stderr] Adding gif v0.10.3 (available: v0.13.1) [INFO] [stderr] Adding image v0.21.3 (available: v0.25.2) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (available: v0.3.1) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding png v0.14.1 (available: v0.17.13) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding tiff v0.2.2 (available: v0.9.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.14.1 [INFO] [stderr] Downloaded image v0.21.3 [INFO] [stderr] Downloaded nuklear-rust v0.6.3 [INFO] [stderr] Downloaded cc v1.0.106 [INFO] [stderr] Downloaded tiff v0.2.2 [INFO] [stderr] Downloaded nuklear-sys v4.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e48846a68f1350870539c42fcbb917cd29f7e91030d12e19d82f4f22aa7dfc8f [INFO] running `Command { std: "docker" "start" "-a" "e48846a68f1350870539c42fcbb917cd29f7e91030d12e19d82f4f22aa7dfc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e48846a68f1350870539c42fcbb917cd29f7e91030d12e19d82f4f22aa7dfc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48846a68f1350870539c42fcbb917cd29f7e91030d12e19d82f4f22aa7dfc8f", kill_on_drop: false }` [INFO] [stdout] e48846a68f1350870539c42fcbb917cd29f7e91030d12e19d82f4f22aa7dfc8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1eea560fcfa6e2924ba91dc71ad9f9f73b6f095771b1d691e61613da680536f [INFO] running `Command { std: "docker" "start" "-a" "c1eea560fcfa6e2924ba91dc71ad9f9f73b6f095771b1d691e61613da680536f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling nuklear-sys v4.0.5 [INFO] [stderr] Checking nuklear-rust v0.6.3 [INFO] [stderr] Checking nuklear-backend-gdi v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `ctypes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::basetsd; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::ntdef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::errhandlingapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::libloaderapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::stringapiset; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wingdi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnls; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/own_window.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] // API requirement [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless))] // API requirement [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::redundant_field_names))] // for conststency [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] // TODO later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::many_single_char_names))] // TODO later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | nk: mem::uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `ctypes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::basetsd; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::ntdef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::errhandlingapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::libloaderapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::stringapiset; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wingdi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnls; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/own_window.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] // API requirement [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless))] // API requirement [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::redundant_field_names))] // for conststency [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] // TODO later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::many_single_char_names))] // TODO later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `image`, `own_window`, and `piston_image` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/own_window.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | let class_name = OsStr::new("NuklearWindowClass").encode_wide().chain(Some(0).into_iter()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | nk: mem::uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/own_window.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | let window_name = OsStr::new(window_name).encode_wide().chain(Some(0).into_iter()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 32 | struct GdiFont { [INFO] [stdout] | -------------- doesn't satisfy `GdiFont: Sized` [INFO] [stdout] ... [INFO] [stdout] 165 | self.fonts.push(unsafe { GdiFont::new(name, size as i32) }); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `GdiFont: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 32 | struct GdiFont { [INFO] [stdout] | -------------- doesn't satisfy `GdiFont: Sized` [INFO] [stdout] ... [INFO] [stdout] 167 | let index = self.fonts.len() - 1; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `GdiFont: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 32 | struct GdiFont { [INFO] [stdout] | -------------- doesn't satisfy `GdiFont: Sized` [INFO] [stdout] ... [INFO] [stdout] 190 | if self.fonts.len() <= id { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `GdiFont: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 572 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 591 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 644 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/own_window.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | let class_name = OsStr::new("NuklearWindowClass").encode_wide().chain(Some(0).into_iter()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 679 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 707 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/own_window.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | let window_name = OsStr::new(window_name).encode_wide().chain(Some(0).into_iter()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 748 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 781 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 821 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 811 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 32 | struct GdiFont { [INFO] [stdout] | -------------- doesn't satisfy `GdiFont: Sized` [INFO] [stdout] ... [INFO] [stdout] 165 | self.fonts.push(unsafe { GdiFont::new(name, size as i32) }); [INFO] [stdout] | ^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `GdiFont: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 32 | struct GdiFont { [INFO] [stdout] | -------------- doesn't satisfy `GdiFont: Sized` [INFO] [stdout] ... [INFO] [stdout] 167 | let index = self.fonts.len() - 1; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `GdiFont: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 32 | struct GdiFont { [INFO] [stdout] | -------------- doesn't satisfy `GdiFont: Sized` [INFO] [stdout] ... [INFO] [stdout] 190 | if self.fonts.len() <= id { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `GdiFont: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nuklear-backend-gdi` (lib) due to 28 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 572 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 591 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 644 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 679 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 707 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 748 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 781 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/lib.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | let mut pen = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 821 | if !pen.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `pen` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 811 | let mut pen: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nuklear-backend-gdi` (lib test) due to 28 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c1eea560fcfa6e2924ba91dc71ad9f9f73b6f095771b1d691e61613da680536f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1eea560fcfa6e2924ba91dc71ad9f9f73b6f095771b1d691e61613da680536f", kill_on_drop: false }` [INFO] [stdout] c1eea560fcfa6e2924ba91dc71ad9f9f73b6f095771b1d691e61613da680536f