[INFO] fetching crate khronos-egl 6.0.0... [INFO] checking khronos-egl-6.0.0 against master#dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 for pr-133502-4 [INFO] extracting crate khronos-egl 6.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate khronos-egl 6.0.0 on toolchain dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate khronos-egl 6.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate khronos-egl 6.0.0 [INFO] tweaked toml for crates.io crate khronos-egl 6.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate khronos-egl 6.0.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" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded wayland-scanner v0.28.3 [INFO] [stderr] Downloaded wayland-commons v0.28.3 [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded wayland-egl v0.28.3 [INFO] [stderr] Downloaded wayland-sys v0.28.3 [INFO] [stderr] Downloaded dlib v0.4.2 [INFO] [stderr] Downloaded downcast-rs v1.2.0 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded smallvec v1.6.1 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded libloading v0.8.0 [INFO] [stderr] Downloaded wayland-client v0.28.3 [INFO] [stderr] Downloaded once_cell v1.6.0 [INFO] [stderr] Downloaded wayland-protocols v0.28.3 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded nix v0.18.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded libc v0.2.86 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded windows-sys v0.48.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a7faa3b3b23907353ddb75f018ee1af52c812b0cde03ea365a8193c09859c13 [INFO] running `Command { std: "docker" "start" "-a" "2a7faa3b3b23907353ddb75f018ee1af52c812b0cde03ea365a8193c09859c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a7faa3b3b23907353ddb75f018ee1af52c812b0cde03ea365a8193c09859c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7faa3b3b23907353ddb75f018ee1af52c812b0cde03ea365a8193c09859c13", kill_on_drop: false }` [INFO] [stdout] 2a7faa3b3b23907353ddb75f018ee1af52c812b0cde03ea365a8193c09859c13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7454772c5fe2c7d06dd4012137f7d4271351c45b96379447dde7c9dfb0592986 [INFO] running `Command { std: "docker" "start" "-a" "7454772c5fe2c7d06dd4012137f7d4271351c45b96379447dde7c9dfb0592986", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking once_cell v1.6.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling khronos-egl v6.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/lib.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | #[cfg(not(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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/lib.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(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: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:1044:9 [INFO] [stdout] | [INFO] [stdout] 1044 | if !(addr as *const ()).is_null() { [INFO] [stdout] | ^----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `extern "system" fn()` [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking wayland-egl v0.28.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/lib.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | #[cfg(not(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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `android` [INFO] [stdout] --> src/lib.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 321 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | #[cfg(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: `android` [INFO] [stdout] --> src/lib.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(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: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:1044:9 [INFO] [stdout] | [INFO] [stdout] 1044 | if !(addr as *const ()).is_null() { [INFO] [stdout] | ^----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `extern "system" fn()` [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.40s [INFO] running `Command { std: "docker" "inspect" "7454772c5fe2c7d06dd4012137f7d4271351c45b96379447dde7c9dfb0592986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7454772c5fe2c7d06dd4012137f7d4271351c45b96379447dde7c9dfb0592986", kill_on_drop: false }` [INFO] [stdout] 7454772c5fe2c7d06dd4012137f7d4271351c45b96379447dde7c9dfb0592986