[INFO] fetching crate khronos-egl 6.0.0...
[INFO] testing khronos-egl-6.0.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate khronos-egl 6.0.0 into /workspace/builds/worker-0-tc2/source
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate khronos-egl 6.0.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 725a61c7e030da26d6bfcd22cad640a32ff1336dbbfde927d3b699482e6b162f
[INFO] running `Command { std: "docker" "start" "-a" "725a61c7e030da26d6bfcd22cad640a32ff1336dbbfde927d3b699482e6b162f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "725a61c7e030da26d6bfcd22cad640a32ff1336dbbfde927d3b699482e6b162f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "725a61c7e030da26d6bfcd22cad640a32ff1336dbbfde927d3b699482e6b162f", kill_on_drop: false }`
[INFO] [stdout] 725a61c7e030da26d6bfcd22cad640a32ff1336dbbfde927d3b699482e6b162f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6914e93aa777895edc9bc84257e41a710977f9ec44f755c2718e6d1f361a2822
[INFO] running `Command { std: "docker" "start" "-a" "6914e93aa777895edc9bc84257e41a710977f9ec44f755c2718e6d1f361a2822", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling khronos-egl v6.0.0 (/opt/rustwide/workdir)
[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 1.44s
[INFO] running `Command { std: "docker" "inspect" "6914e93aa777895edc9bc84257e41a710977f9ec44f755c2718e6d1f361a2822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6914e93aa777895edc9bc84257e41a710977f9ec44f755c2718e6d1f361a2822", kill_on_drop: false }`
[INFO] [stdout] 6914e93aa777895edc9bc84257e41a710977f9ec44f755c2718e6d1f361a2822
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f20596da633a2ee278c4fa6f7509deb8576533a24388579bd843611b29d2c7a0
[INFO] running `Command { std: "docker" "start" "-a" "f20596da633a2ee278c4fa6f7509deb8576533a24388579bd843611b29d2c7a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling once_cell v1.6.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling wayland-sys v0.28.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.3
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling khronos-egl v6.0.0 (/opt/rustwide/workdir)
[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wayland-client v0.28.3
[INFO] [stderr]    Compiling wayland-protocols v0.28.3
[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-commons v0.28.3
[INFO] [stderr]    Compiling 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 `test` profile [unoptimized + debuginfo] target(s) in 23.21s
[INFO] running `Command { std: "docker" "inspect" "f20596da633a2ee278c4fa6f7509deb8576533a24388579bd843611b29d2c7a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f20596da633a2ee278c4fa6f7509deb8576533a24388579bd843611b29d2c7a0", kill_on_drop: false }`
[INFO] [stdout] f20596da633a2ee278c4fa6f7509deb8576533a24388579bd843611b29d2c7a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cec54ec4feb9bcefee2c2c1a5aa24efe8c5bd63414eb8c7cb074e5db2b71296c
[INFO] running `Command { std: "docker" "start" "-a" "cec54ec4feb9bcefee2c2c1a5aa24efe8c5bd63414eb8c7cb074e5db2b71296c", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `android`
[INFO] [stderr]    --> src/lib.rs:318:12
[INFO] [stderr]     |
[INFO] [stderr] 318 |     #[cfg(not(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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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/lib.rs:321:12
[INFO] [stderr]     |
[INFO] [stderr] 321 |     #[cfg(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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `android`
[INFO] [stderr]    --> src/lib.rs:325:8
[INFO] [stderr]     |
[INFO] [stderr] 325 |     #[cfg(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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `android`
[INFO] [stderr]    --> src/lib.rs:329:8
[INFO] [stderr]     |
[INFO] [stderr] 329 |     #[cfg(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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `android`
[INFO] [stderr]    --> src/lib.rs:332:8
[INFO] [stderr]     |
[INFO] [stderr] 332 |     #[cfg(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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `android`
[INFO] [stderr]    --> src/lib.rs:335:8
[INFO] [stderr]     |
[INFO] [stderr] 335 |     #[cfg(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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: function pointers are not nullable, so checking them for null will always return false
[INFO] [stderr]     --> src/lib.rs:1044:9
[INFO] [stderr]      |
[INFO] [stderr] 1044 |                 if !(addr as *const ()).is_null() {
[INFO] [stderr]      |                     ^----^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |                      |
[INFO] [stderr]      |                      expression has type `extern "system" fn()`
[INFO] [stderr]      |
[INFO] [stderr]      = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value
[INFO] [stderr]      = note: `#[warn(useless_ptr_null_checks)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `khronos-egl` (lib) generated 7 warnings
[INFO] [stderr] warning: `khronos-egl` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/khronos_egl-ef2f4ebc58cb919a)
[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]    Doc-tests khronos_egl
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - egl1_0::Instance<T>::get_config_count (line 889) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 97) ... FAILED
[INFO] [stdout] test src/lib.rs - egl1_0::Instance<T>::choose_first_config (line 657) ... FAILED
[INFO] [stdout] test src/lib.rs - egl1_0::Instance<T>::choose_config (line 596) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 120) ... ok
[INFO] [stdout] test src/lib.rs - egl1_0::Instance<T>::get_configs (line 926) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - egl1_0::Instance<T>::get_config_count (line 889) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:893:35
[INFO] [stdout]      |
[INFO] [stdout]  893 | let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]      |                                   ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:1932:14
[INFO] [stdout]      |
[INFO] [stdout] 1926 |           #[cfg(feature="static")]
[INFO] [stdout]      |                 ---------------- the item is gated behind the `r#static` feature
[INFO] [stdout] ...
[INFO] [stdout] 1932 |           pub struct Static;
[INFO] [stdout]      |                      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]  890 + use std::intrinsics::mir::Static;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `Static`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]  893 - let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]  893 + let egl = egl::Instance::new(Static);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 97) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libloading`
[INFO] [stdout]   --> src/lib.rs:99:20
[INFO] [stdout]    |
[INFO] [stdout] 99 | let lib = unsafe { libloading::Library::new("libEGL.so.1") }.expect("unable to find libEGL.so.1");
[INFO] [stdout]    |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `libloading`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libloading`, use `cargo add libloading` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `DynamicInstance` in `egl`
[INFO] [stdout]     --> src/lib.rs:100:25
[INFO] [stdout]      |
[INFO] [stdout]  100 | let egl = unsafe { egl::DynamicInstance::<egl::EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^ could not find `DynamicInstance` in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:2233:12
[INFO] [stdout]      |
[INFO] [stdout] 2230 |           #[cfg(feature="dynamic")]
[INFO] [stdout]      |                 ----------------- the item is gated behind the `dynamic` feature
[INFO] [stdout] ...
[INFO] [stdout] 2233 |           pub type DynamicInstance<V = Latest> = Instance<Dynamic<libloading::Library, V>>;
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EGL1_4` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:100:48
[INFO] [stdout]      |
[INFO] [stdout]  100 | let egl = unsafe { egl::DynamicInstance::<egl::EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]      |                                                ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:2611:2
[INFO] [stdout]      |
[INFO] [stdout] 2285 |         #[cfg(feature="dynamic")]
[INFO] [stdout]      |               ----------------- the item is gated behind the `dynamic` feature
[INFO] [stdout] ...
[INFO] [stdout] 2611 |     EGL1_4 : "1_4" {
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]      |
[INFO] [stdout]   97 + use crate::egl::api::EGL1_4;
[INFO] [stdout]      |
[INFO] [stdout]   97 + use khronos_egl::api::EGL1_4;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `EGL1_4`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]  100 - let egl = unsafe { egl::DynamicInstance::<egl::EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]  100 + let egl = unsafe { egl::DynamicInstance::<EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EGL1_5` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:101:25
[INFO] [stdout]      |
[INFO] [stdout]  101 | match egl.upcast::<egl::EGL1_5>() {
[INFO] [stdout]      |                         ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:2615:2
[INFO] [stdout]      |
[INFO] [stdout] 2285 |         #[cfg(feature="dynamic")]
[INFO] [stdout]      |               ----------------- the item is gated behind the `dynamic` feature
[INFO] [stdout] ...
[INFO] [stdout] 2615 |     EGL1_5 : "1_5" {
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]      |
[INFO] [stdout]   97 + use crate::egl::api::EGL1_5;
[INFO] [stdout]      |
[INFO] [stdout]   97 + use khronos_egl::api::EGL1_5;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `EGL1_5`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]  101 - match egl.upcast::<egl::EGL1_5>() {
[INFO] [stdout]  101 + match egl.upcast::<EGL1_5>() {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - egl1_0::Instance<T>::choose_first_config (line 657) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:661:35
[INFO] [stdout]      |
[INFO] [stdout]  661 | let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]      |                                   ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:1932:14
[INFO] [stdout]      |
[INFO] [stdout] 1926 |           #[cfg(feature="static")]
[INFO] [stdout]      |                 ---------------- the item is gated behind the `r#static` feature
[INFO] [stdout] ...
[INFO] [stdout] 1932 |           pub struct Static;
[INFO] [stdout]      |                      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]  658 + use std::intrinsics::mir::Static;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `Static`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]  661 - let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]  661 + let egl = egl::Instance::new(Static);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - egl1_0::Instance<T>::choose_config (line 596) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:600:35
[INFO] [stdout]      |
[INFO] [stdout]  600 | let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]      |                                   ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:1932:14
[INFO] [stdout]      |
[INFO] [stdout] 1926 |           #[cfg(feature="static")]
[INFO] [stdout]      |                 ---------------- the item is gated behind the `r#static` feature
[INFO] [stdout] ...
[INFO] [stdout] 1932 |           pub struct Static;
[INFO] [stdout]      |                      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]  597 + use std::intrinsics::mir::Static;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `Static`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]  600 - let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]  600 + let egl = egl::Instance::new(Static);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 88) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libloading`
[INFO] [stdout]   --> src/lib.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 | let lib = unsafe { libloading::Library::new("libEGL.so.1") }.expect("unable to find libEGL.so.1");
[INFO] [stdout]    |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `libloading`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libloading`, use `cargo add libloading` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `DynamicInstance` in `egl`
[INFO] [stdout]     --> src/lib.rs:91:25
[INFO] [stdout]      |
[INFO] [stdout]   91 | let egl = unsafe { egl::DynamicInstance::<egl::EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^ could not find `DynamicInstance` in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:2233:12
[INFO] [stdout]      |
[INFO] [stdout] 2230 |           #[cfg(feature="dynamic")]
[INFO] [stdout]      |                 ----------------- the item is gated behind the `dynamic` feature
[INFO] [stdout] ...
[INFO] [stdout] 2233 |           pub type DynamicInstance<V = Latest> = Instance<Dynamic<libloading::Library, V>>;
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EGL1_4` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:91:48
[INFO] [stdout]      |
[INFO] [stdout]   91 | let egl = unsafe { egl::DynamicInstance::<egl::EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]      |                                                ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:2611:2
[INFO] [stdout]      |
[INFO] [stdout] 2285 |         #[cfg(feature="dynamic")]
[INFO] [stdout]      |               ----------------- the item is gated behind the `dynamic` feature
[INFO] [stdout] ...
[INFO] [stdout] 2611 |     EGL1_4 : "1_4" {
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]      |
[INFO] [stdout]   88 + use crate::egl::api::EGL1_4;
[INFO] [stdout]      |
[INFO] [stdout]   88 + use khronos_egl::api::EGL1_4;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `EGL1_4`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]   91 - let egl = unsafe { egl::DynamicInstance::<egl::EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]   91 + let egl = unsafe { egl::DynamicInstance::<EGL1_4>::load_required_from(lib) }.expect("unable to load libEGL.so.1");
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:27:37
[INFO] [stdout]      |
[INFO] [stdout]   27 |   let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]      |                                     ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:1932:14
[INFO] [stdout]      |
[INFO] [stdout] 1926 |           #[cfg(feature="static")]
[INFO] [stdout]      |                 ---------------- the item is gated behind the `r#static` feature
[INFO] [stdout] ...
[INFO] [stdout] 1932 |           pub struct Static;
[INFO] [stdout]      |                      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]   23 + use std::intrinsics::mir::Static;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `Static`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]   27 -   let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]   27 +   let egl = egl::Instance::new(Static);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - egl1_0::Instance<T>::get_configs (line 926) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl`
[INFO] [stdout]     --> src/lib.rs:930:35
[INFO] [stdout]      |
[INFO] [stdout]  930 | let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]      |                                   ^^^^^^ not found in `egl`
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:1932:14
[INFO] [stdout]      |
[INFO] [stdout] 1926 |           #[cfg(feature="static")]
[INFO] [stdout]      |                 ---------------- the item is gated behind the `r#static` feature
[INFO] [stdout] ...
[INFO] [stdout] 1932 |           pub struct Static;
[INFO] [stdout]      |                      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]  927 + use std::intrinsics::mir::Static;
[INFO] [stdout]      |
[INFO] [stdout] help: if you import `Static`, refer to it directly
[INFO] [stdout]      |
[INFO] [stdout]  930 - let egl = egl::Instance::new(egl::Static);
[INFO] [stdout]  930 + let egl = egl::Instance::new(Static);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 71) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `egl::API`
[INFO] [stdout]     --> src/lib.rs:73:5
[INFO] [stdout]      |
[INFO] [stdout]   73 | use egl::API as egl;
[INFO] [stdout]      |     ^^^^^---^^^^^^^
[INFO] [stdout]      |     |    |
[INFO] [stdout]      |     |    help: a similar name exists in the module: `Api`
[INFO] [stdout]      |     no `API` in the root
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> src/lib.rs:1943:14
[INFO] [stdout]      |
[INFO] [stdout] 1942 |           #[cfg(feature="static")]
[INFO] [stdout]      |                 ---------------- the item is gated behind the `r#static` feature
[INFO] [stdout] 1943 |           pub static API: Instance<Static> = Instance::new(Static);
[INFO] [stdout]      |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 2499 | / api! {
[INFO] [stdout] 2500 | |     EGL1_0 : "1_0" {
[INFO] [stdout] 2501 | |         fn eglChooseConfig(
[INFO] [stdout] 2502 | |             display: EGLDisplay,
[INFO] [stdout] ...    |
[INFO] [stdout] 2652 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout]      = note: this error originates in the macro `api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 71)
[INFO] [stdout]     src/lib.rs - (line 88)
[INFO] [stdout]     src/lib.rs - (line 97)
[INFO] [stdout]     src/lib.rs - egl1_0::Instance<T>::choose_config (line 596)
[INFO] [stdout]     src/lib.rs - egl1_0::Instance<T>::choose_first_config (line 657)
[INFO] [stdout]     src/lib.rs - egl1_0::Instance<T>::get_config_count (line 889)
[INFO] [stdout]     src/lib.rs - egl1_0::Instance<T>::get_configs (line 926)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cec54ec4feb9bcefee2c2c1a5aa24efe8c5bd63414eb8c7cb074e5db2b71296c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cec54ec4feb9bcefee2c2c1a5aa24efe8c5bd63414eb8c7cb074e5db2b71296c", kill_on_drop: false }`
[INFO] [stdout] cec54ec4feb9bcefee2c2c1a5aa24efe8c5bd63414eb8c7cb074e5db2b71296c
