[INFO] fetching crate owoverlay 0.2.0... [INFO] testing owoverlay-0.2.0 against beta-2025-01-12 for beta-1.85-1 [INFO] extracting crate owoverlay 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate owoverlay 0.2.0 on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate owoverlay 0.2.0 [INFO] finished tweaking crates.io crate owoverlay 0.2.0 [INFO] tweaked toml for crates.io crate owoverlay 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate owoverlay 0.2.0 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raw-window-handle v0.6.1 [INFO] [stderr] Downloaded ab_glyph v0.2.25 [INFO] [stderr] Downloaded core-graphics v0.21.0 [INFO] [stderr] Downloaded cocoa v0.22.0 [INFO] [stderr] Downloaded rdev v0.5.3 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded loki-draw v0.1.0 [INFO] [stderr] Downloaded winnow v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f57e7540a92311be79e3d9c9cf0662f9b9f00e8362740170e308131184b7c7c [INFO] running `Command { std: "docker" "start" "-a" "8f57e7540a92311be79e3d9c9cf0662f9b9f00e8362740170e308131184b7c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f57e7540a92311be79e3d9c9cf0662f9b9f00e8362740170e308131184b7c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f57e7540a92311be79e3d9c9cf0662f9b9f00e8362740170e308131184b7c7c", kill_on_drop: false }` [INFO] [stdout] 8f57e7540a92311be79e3d9c9cf0662f9b9f00e8362740170e308131184b7c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4b56ca6ab14fe3187c700d28966710f65f9c007fc63e87dad920275f08e264 [INFO] running `Command { std: "docker" "start" "-a" "6a4b56ca6ab14fe3187c700d28966710f65f9c007fc63e87dad920275f08e264", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling raw-window-handle v0.6.1 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling glam v0.25.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling loki-draw v0.1.0 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling rdev v0.5.3 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling owoverlay v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/app_frame.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/app_frame.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | #[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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "6a4b56ca6ab14fe3187c700d28966710f65f9c007fc63e87dad920275f08e264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4b56ca6ab14fe3187c700d28966710f65f9c007fc63e87dad920275f08e264", kill_on_drop: false }` [INFO] [stdout] 6a4b56ca6ab14fe3187c700d28966710f65f9c007fc63e87dad920275f08e264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80ca27cd905a9a01f0f40235c68ae1f74a974d414a2dedc515f8b27cd7fd4f52 [INFO] running `Command { std: "docker" "start" "-a" "80ca27cd905a9a01f0f40235c68ae1f74a974d414a2dedc515f8b27cd7fd4f52", kill_on_drop: false }` [INFO] [stderr] Compiling owoverlay v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/app_frame.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | #[cfg(android_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stdout] --> src/app_frame.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | #[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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "80ca27cd905a9a01f0f40235c68ae1f74a974d414a2dedc515f8b27cd7fd4f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ca27cd905a9a01f0f40235c68ae1f74a974d414a2dedc515f8b27cd7fd4f52", kill_on_drop: false }` [INFO] [stdout] 80ca27cd905a9a01f0f40235c68ae1f74a974d414a2dedc515f8b27cd7fd4f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d4e3c7ccb4f7d11aaffd28f1630f12723e777937dbbb45b929f46b1869c1425 [INFO] running `Command { std: "docker" "start" "-a" "9d4e3c7ccb4f7d11aaffd28f1630f12723e777937dbbb45b929f46b1869c1425", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> src/app_frame.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 152 | #[cfg(android_platform)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `android_platform` [INFO] [stderr] --> src/app_frame.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | #[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: `owoverlay` (bin "owoverlay" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/owoverlay-6ee4e6f195e85d60) [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] running `Command { std: "docker" "inspect" "9d4e3c7ccb4f7d11aaffd28f1630f12723e777937dbbb45b929f46b1869c1425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4e3c7ccb4f7d11aaffd28f1630f12723e777937dbbb45b929f46b1869c1425", kill_on_drop: false }` [INFO] [stdout] 9d4e3c7ccb4f7d11aaffd28f1630f12723e777937dbbb45b929f46b1869c1425