[INFO] fetching crate winit-gtk 0.29.1... [INFO] testing winit-gtk-0.29.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate winit-gtk 0.29.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate winit-gtk 0.29.1 [INFO] finished tweaking crates.io crate winit-gtk 0.29.1 [INFO] tweaked toml for crates.io crate winit-gtk 0.29.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winit-gtk 0.29.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate winit-gtk 0.29.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded objc2-encode v2.0.0-pre.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded block-sys v0.1.0-beta.1 [INFO] [stderr] Downloaded glib-sys v0.18.1 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded gtk3-macros v0.18.0 [INFO] [stderr] Downloaded serde_spanned v0.6.3 [INFO] [stderr] Downloaded jobserver v0.1.27 [INFO] [stderr] Downloaded num_enum v0.6.1 [INFO] [stderr] Downloaded num_enum_derive v0.6.1 [INFO] [stderr] Downloaded gio-sys v0.18.1 [INFO] [stderr] Downloaded pango v0.18.0 [INFO] [stderr] Downloaded fdeflate v0.3.0 [INFO] [stderr] Downloaded gtk-sys v0.18.0 [INFO] [stderr] Downloaded gio v0.18.2 [INFO] [stderr] Downloaded gdk v0.18.0 [INFO] [stderr] Downloaded winnow v0.5.17 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded gdk-sys v0.18.0 [INFO] [stderr] Downloaded hashbrown v0.14.1 [INFO] [stderr] Downloaded objc2 v0.3.0-beta.3.patch-leaks.3 [INFO] [stderr] Downloaded glib v0.18.2 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded toml_edit v0.20.2 [INFO] [stderr] Downloaded gtk v0.18.1 [INFO] [stderr] Downloaded web-sys v0.3.64 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded indexmap v2.0.2 [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded block2 v0.2.0-alpha.6 [INFO] [stderr] Downloaded console_log v0.2.2 [INFO] [stderr] Downloaded core-graphics v0.22.3 [INFO] [stderr] Downloaded field-offset v0.3.6 [INFO] [stderr] Downloaded cairo-rs v0.18.2 [INFO] [stderr] Downloaded ndk v0.7.0 [INFO] [stderr] Downloaded gdkwayland-sys v0.18.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.18.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.8 [INFO] [stderr] Downloaded orbclient v0.3.46 [INFO] [stderr] Downloaded atk-sys v0.18.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.18.2 [INFO] [stderr] Downloaded android-activity v0.4.3 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded target-lexicon v0.12.11 [INFO] [stderr] Downloaded toml v0.8.2 [INFO] [stderr] Downloaded system-deps v6.1.2 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded toml_datetime v0.6.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded objc-sys v0.2.0-beta.2 [INFO] [stderr] Downloaded simple_logger v2.3.0 [INFO] [stderr] Downloaded core-foundation v0.9.3 [INFO] [stderr] Downloaded core-graphics-types v0.1.2 [INFO] [stderr] Downloaded gdkx11-sys v0.18.0 [INFO] [stderr] Downloaded ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Downloaded atk v0.18.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Downloaded futures-executor v0.3.28 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded glib-macros v0.18.2 [INFO] [stderr] Downloaded gobject-sys v0.18.0 [INFO] [stderr] Downloaded cfg-expr v0.15.5 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded pango-sys v0.18.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3038955b677a0b8c2b3328c11b1cde19443e17e3f0e91e8fcf09be0a7ce7eb9 [INFO] running `Command { std: "docker" "start" "-a" "c3038955b677a0b8c2b3328c11b1cde19443e17e3f0e91e8fcf09be0a7ce7eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3038955b677a0b8c2b3328c11b1cde19443e17e3f0e91e8fcf09be0a7ce7eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3038955b677a0b8c2b3328c11b1cde19443e17e3f0e91e8fcf09be0a7ce7eb9", kill_on_drop: false }` [INFO] [stdout] c3038955b677a0b8c2b3328c11b1cde19443e17e3f0e91e8fcf09be0a7ce7eb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1936ff8707a5d4079129bcd76ebd760ec19b54bd29dacf5c22eb776ac3abc9b [INFO] running `Command { std: "docker" "start" "-a" "b1936ff8707a5d4079129bcd76ebd760ec19b54bd29dacf5c22eb776ac3abc9b", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling gio v0.18.2 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling gtk v0.18.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling winit-gtk v0.29.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling glib-macros v0.18.2 [INFO] [stderr] Compiling gtk3-macros v0.18.0 [INFO] [stderr] Compiling system-deps v6.1.2 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Compiling gdkx11-sys v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling glib v0.18.2 [INFO] [stderr] Compiling gdkwayland-sys v0.18.0 [INFO] [stderr] Compiling cairo-rs v0.18.2 [INFO] [stderr] Compiling atk v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf v0.18.0 [INFO] [stderr] Compiling pango v0.18.0 [INFO] [stderr] Compiling gdk v0.18.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `default`, `mint`, `serde`, `wayland`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, and `x11` [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 name: `android` [INFO] [stdout] --> src/event_loop.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | android, [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [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(android)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` 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: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/event_loop.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | not(android), [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [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(android)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/event_loop.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/event_loop.rs:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(windows_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `free_unix` [INFO] [stdout] --> src/platform_impl/linux/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(free_unix)] [INFO] [stdout] | ^^^^^^^^^ [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(free_unix)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(free_unix)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(ios_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(orbital_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | not(ios_platform), [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | not(windows_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | not(macos_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | not(android_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | not(x11_platform), [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | not(wayland_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | not(wasm_platform), [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | not(orbital_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unnecessary parentheses around `break` value [INFO] [stdout] --> src/platform_impl/linux/eventloop.rs:875:39 [INFO] [stdout] | [INFO] [stdout] 875 | ... break (code); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 875 - break (code); [INFO] [stdout] 875 + break code; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/window.rs:1145:19 [INFO] [stdout] | [INFO] [stdout] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/window.rs:1145:35 [INFO] [stdout] | [INFO] [stdout] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(ios_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(orbital_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(windows_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | windows_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | macos_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | android_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | x11_platform, [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | wayland_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | orbital_platform [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform/mod.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "b1936ff8707a5d4079129bcd76ebd760ec19b54bd29dacf5c22eb776ac3abc9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1936ff8707a5d4079129bcd76ebd760ec19b54bd29dacf5c22eb776ac3abc9b", kill_on_drop: false }` [INFO] [stdout] b1936ff8707a5d4079129bcd76ebd760ec19b54bd29dacf5c22eb776ac3abc9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1901dce7726292e9399db2b2bc117c2bf85e1a184cdaf170b0228e6cff95f6eb [INFO] running `Command { std: "docker" "start" "-a" "1901dce7726292e9399db2b2bc117c2bf85e1a184cdaf170b0228e6cff95f6eb", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling winit-gtk v0.29.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `default`, `mint`, `serde`, `wayland`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, and `x11` [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 name: `android` [INFO] [stdout] --> src/event_loop.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | android, [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [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(android)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` 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: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/event_loop.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | not(android), [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [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(android)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/event_loop.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/event_loop.rs:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(windows_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `free_unix` [INFO] [stdout] --> src/platform_impl/linux/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(free_unix)] [INFO] [stdout] | ^^^^^^^^^ [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(free_unix)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(free_unix)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(ios_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(orbital_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | not(ios_platform), [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | not(windows_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | not(macos_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | not(android_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | not(x11_platform), [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | not(wayland_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | not(wasm_platform), [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | not(orbital_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unnecessary parentheses around `break` value [INFO] [stdout] --> src/platform_impl/linux/eventloop.rs:875:39 [INFO] [stdout] | [INFO] [stdout] 875 | ... break (code); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 875 - break (code); [INFO] [stdout] 875 + break code; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/window.rs:1145:19 [INFO] [stdout] | [INFO] [stdout] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/window.rs:1145:35 [INFO] [stdout] | [INFO] [stdout] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(ios_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(orbital_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(windows_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | windows_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | macos_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | android_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | x11_platform, [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | wayland_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | orbital_platform [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform/mod.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stdout] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> examples/window_run_return.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | windows_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/web.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/web.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/web.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> examples/window_run_return.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | macos_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> examples/window_run_return.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | x11_platform, [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> examples/window_run_return.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | wayland_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> examples/window_run_return.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | android_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> examples/window_run_return.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | orbital_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> examples/window_run_return.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(any(ios_platform, wasm_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/window_run_return.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(any(ios_platform, wasm_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/custom_events.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(wasm_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/custom_events.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/multithreaded.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(wasm_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/multithreaded.rs:196:7 [INFO] [stdout] | [INFO] [stdout] 196 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/request_redraw_threaded.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(wasm_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/request_redraw_threaded.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `default`, `mint`, `serde`, `wayland`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, and `x11` [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 name: `android` [INFO] [stdout] --> src/event_loop.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | android, [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [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(android)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` 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: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/event_loop.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | not(android), [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [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(android)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/event_loop.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/event_loop.rs:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(windows_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `free_unix` [INFO] [stdout] --> src/platform_impl/linux/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(free_unix)] [INFO] [stdout] | ^^^^^^^^^ [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(free_unix)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(free_unix)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(ios_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(orbital_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | not(ios_platform), [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | not(windows_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | not(macos_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | not(android_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | not(x11_platform), [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | not(wayland_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | not(wasm_platform), [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform_impl/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | not(orbital_platform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unnecessary parentheses around `break` value [INFO] [stdout] --> src/platform_impl/linux/eventloop.rs:875:39 [INFO] [stdout] | [INFO] [stdout] 875 | ... break (code); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 875 - break (code); [INFO] [stdout] 875 + break code; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/window.rs:1145:19 [INFO] [stdout] | [INFO] [stdout] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/window.rs:1145:35 [INFO] [stdout] | [INFO] [stdout] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `ios_platform` [INFO] [stdout] --> src/platform/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(ios_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [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(ios_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(orbital_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/platform/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(windows_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> src/platform/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | windows_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> src/platform/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | macos_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/platform/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | android_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(android_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | x11_platform, [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | wayland_platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `orbital_platform` [INFO] [stdout] --> src/platform/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | orbital_platform [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(orbital_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> src/platform/mod.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> src/platform/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> examples/child_window.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(x11_platform, macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> examples/child_window.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(x11_platform, macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> examples/child_window.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(x11_platform, macos_platform, windows_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> examples/child_window.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(any(x11_platform, macos_platform, windows_platform)))] [INFO] [stdout] | ^^^^^^^^^^^^ [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(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` 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: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> examples/child_window.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(any(x11_platform, macos_platform, windows_platform)))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` 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: unexpected `cfg` condition name: `windows_platform` [INFO] [stdout] --> examples/child_window.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(any(x11_platform, macos_platform, windows_platform)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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(windows_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` 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: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> examples/web_aspect_ratio.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [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(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.09s [INFO] running `Command { std: "docker" "inspect" "1901dce7726292e9399db2b2bc117c2bf85e1a184cdaf170b0228e6cff95f6eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1901dce7726292e9399db2b2bc117c2bf85e1a184cdaf170b0228e6cff95f6eb", kill_on_drop: false }` [INFO] [stdout] 1901dce7726292e9399db2b2bc117c2bf85e1a184cdaf170b0228e6cff95f6eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2063924f158a3777054cb50e0d3e2c8f7217a80bd961b0228c10f5fa68a38b1 [INFO] running `Command { std: "docker" "start" "-a" "a2063924f158a3777054cb50e0d3e2c8f7217a80bd961b0228c10f5fa68a38b1", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `default`, `mint`, `serde`, `wayland`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, and `x11` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android` [INFO] [stderr] --> src/event_loop.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | android, [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android` [INFO] [stderr] --> src/event_loop.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | not(android), [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `target_os = "android"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> src/event_loop.rs:366:19 [INFO] [stderr] | [INFO] [stderr] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stderr] --> src/event_loop.rs:366:33 [INFO] [stderr] | [INFO] [stderr] 366 | #[cfg(any(x11_platform, wayland_platform, windows))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(windows_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `free_unix` [INFO] [stderr] --> src/platform_impl/linux/mod.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg(free_unix)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(free_unix)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(free_unix)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg(macos_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(android_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ios_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(ios_platform)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ios_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `orbital_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:22:7 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(orbital_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(orbital_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ios_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | not(ios_platform), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ios_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | not(windows_platform), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | not(macos_platform), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | not(android_platform), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | not(x11_platform), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | not(wayland_platform), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | not(wasm_platform), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `orbital_platform` [INFO] [stderr] --> src/platform_impl/mod.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | not(orbital_platform), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(orbital_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `break` value [INFO] [stderr] --> src/platform_impl/linux/eventloop.rs:875:39 [INFO] [stderr] | [INFO] [stderr] 875 | ... break (code); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 875 - break (code); [INFO] [stderr] 875 + break code; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> src/window.rs:1145:19 [INFO] [stderr] | [INFO] [stderr] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> src/window.rs:1145:35 [INFO] [stderr] | [INFO] [stderr] 1145 | #[cfg(any(macos_platform, windows_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> src/platform/mod.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(android_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ios_platform` [INFO] [stderr] --> src/platform/mod.rs:20:7 [INFO] [stderr] | [INFO] [stderr] 20 | #[cfg(ios_platform)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ios_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> src/platform/mod.rs:22:7 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(macos_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `orbital_platform` [INFO] [stderr] --> src/platform/mod.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(orbital_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(orbital_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> src/platform/mod.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> src/platform/mod.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | #[cfg(windows_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> src/platform/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | windows_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> src/platform/mod.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | macos_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> src/platform/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | android_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> src/platform/mod.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | x11_platform, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stderr] --> src/platform/mod.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | wayland_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `orbital_platform` [INFO] [stderr] --> src/platform/mod.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | orbital_platform [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(orbital_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> src/platform/mod.rs:45:11 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stderr] --> src/platform/mod.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(any(x11_platform, wayland_platform,))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `winit-gtk` (lib) generated 39 warnings (run `cargo fix --lib -p winit-gtk` to apply 1 suggestion) [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/web_aspect_ratio.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `winit-gtk` (example "web_aspect_ratio") generated 1 warning [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/multithreaded.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(wasm_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/multithreaded.rs:196:7 [INFO] [stderr] | [INFO] [stderr] 196 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `winit-gtk` (example "multithreaded") generated 2 warnings [INFO] [stderr] warning: `winit-gtk` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/custom_events.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(wasm_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/custom_events.rs:52:7 [INFO] [stderr] | [INFO] [stderr] 52 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/web.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/web.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/web.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> examples/child_window.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(any(x11_platform, macos_platform, windows_platform))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> examples/child_window.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(any(x11_platform, macos_platform, windows_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> examples/child_window.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(any(x11_platform, macos_platform, windows_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> examples/child_window.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg(not(any(x11_platform, macos_platform, windows_platform)))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> examples/child_window.rs:77:29 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg(not(any(x11_platform, macos_platform, windows_platform)))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> examples/child_window.rs:77:45 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg(not(any(x11_platform, macos_platform, windows_platform)))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `winit-gtk` (example "custom_events") generated 2 warnings [INFO] [stderr] warning: `winit-gtk` (example "web") generated 3 warnings [INFO] [stderr] warning: `winit-gtk` (example "child_window") generated 6 warnings [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/request_redraw_threaded.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(wasm_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/request_redraw_threaded.rs:45:7 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(wasm_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `windows_platform` [INFO] [stderr] --> examples/window_run_return.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | windows_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(windows_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stderr] --> examples/window_run_return.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | macos_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stderr] --> examples/window_run_return.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | x11_platform, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stderr] --> examples/window_run_return.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | wayland_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> examples/window_run_return.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | android_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(android_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `orbital_platform` [INFO] [stderr] --> examples/window_run_return.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | orbital_platform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(orbital_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(orbital_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ios_platform` [INFO] [stderr] --> examples/window_run_return.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | #[cfg(any(ios_platform, wasm_platform))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ios_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ios_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stderr] --> examples/window_run_return.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | #[cfg(any(ios_platform, wasm_platform))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `winit-gtk` (example "request_redraw_threaded") generated 2 warnings [INFO] [stderr] warning: `winit-gtk` (example "window_run_return") generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/winit-ff49cbb73019f7af) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/send_objects.rs (/opt/rustwide/target/debug/deps/send_objects-b5319218216908b7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test event_loop_proxy_send ... ok [INFO] [stdout] test ids_send ... ok [INFO] [stdout] test window_send ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/serde_objects.rs (/opt/rustwide/target/debug/deps/serde_objects-53a1fae341fb2b16) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/sync_object.rs (/opt/rustwide/target/debug/deps/sync_object-b8b87f3626e66fc4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test window_sync ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests winit [INFO] [stderr] warning: unnecessary parentheses around `break` value [INFO] [stderr] --> src/platform_impl/linux/eventloop.rs:875:39 [INFO] [stderr] | [INFO] [stderr] 875 | ... break (code); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 875 - break (code); [INFO] [stderr] 875 + break code; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/event.rs - event (line 9) ... ignored [INFO] [stdout] test src/event.rs - event::Ime (line 878) ... ignored [INFO] [stdout] test src/event.rs - event::Ime (line 891) ... ignored [INFO] [stdout] test src/platform_impl/linux/eventloop.rs - platform_impl::platform::eventloop::EventLoop::run_return (line 768) ... ignored [INFO] [stdout] test src/window.rs - window::Window::set_cursor_grab (line 1201) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 44) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window::set_max_inner_size (line 704) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window (line 22) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window::set_inner_size (line 641) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 8) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window::set_ime_position (line 1006) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window::set_min_inner_size (line 681) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window::set_cursor_position (line 1174) - compile ... ok [INFO] [stdout] test src/window.rs - window::Window::set_outer_position (line 596) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2063924f158a3777054cb50e0d3e2c8f7217a80bd961b0228c10f5fa68a38b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2063924f158a3777054cb50e0d3e2c8f7217a80bd961b0228c10f5fa68a38b1", kill_on_drop: false }` [INFO] [stdout] a2063924f158a3777054cb50e0d3e2c8f7217a80bd961b0228c10f5fa68a38b1