[INFO] fetching crate khronos-egl 4.1.0... [INFO] testing khronos-egl-4.1.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate khronos-egl 4.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate khronos-egl 4.1.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate khronos-egl 4.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate khronos-egl 4.1.0 [INFO] tweaked toml for crates.io crate khronos-egl 4.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate khronos-egl 4.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce4eca2390bc9ca8c5262bcbc10e2ed233dcad2a4f94651c42b14b0399cbb70e [INFO] running `Command { std: "docker" "start" "-a" "ce4eca2390bc9ca8c5262bcbc10e2ed233dcad2a4f94651c42b14b0399cbb70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce4eca2390bc9ca8c5262bcbc10e2ed233dcad2a4f94651c42b14b0399cbb70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4eca2390bc9ca8c5262bcbc10e2ed233dcad2a4f94651c42b14b0399cbb70e", kill_on_drop: false }` [INFO] [stdout] ce4eca2390bc9ca8c5262bcbc10e2ed233dcad2a4f94651c42b14b0399cbb70e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0b8431fd7b66275f0b71106c10b8b39933d3c07ae3bf329a94df3bb3498ea1a [INFO] running `Command { std: "docker" "start" "-a" "f0b8431fd7b66275f0b71106c10b8b39933d3c07ae3bf329a94df3bb3498ea1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling khronos-egl v4.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "f0b8431fd7b66275f0b71106c10b8b39933d3c07ae3bf329a94df3bb3498ea1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b8431fd7b66275f0b71106c10b8b39933d3c07ae3bf329a94df3bb3498ea1a", kill_on_drop: false }` [INFO] [stdout] f0b8431fd7b66275f0b71106c10b8b39933d3c07ae3bf329a94df3bb3498ea1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7995c7495c00ec1902d7c86011737a48cb3aebc29e7f30968656c2cd022da6a3 [INFO] running `Command { std: "docker" "start" "-a" "7995c7495c00ec1902d7c86011737a48cb3aebc29e7f30968656c2cd022da6a3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.6.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Compiling wayland-commons v0.28.3 [INFO] [stderr] Compiling wayland-egl v0.28.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.15s [INFO] running `Command { std: "docker" "inspect" "7995c7495c00ec1902d7c86011737a48cb3aebc29e7f30968656c2cd022da6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7995c7495c00ec1902d7c86011737a48cb3aebc29e7f30968656c2cd022da6a3", kill_on_drop: false }` [INFO] [stdout] 7995c7495c00ec1902d7c86011737a48cb3aebc29e7f30968656c2cd022da6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ad4a9d24b37af441ee914fef255ad045e2241e70d76aef97d0dfb707b2e6508 [INFO] running `Command { std: "docker" "start" "-a" "0ad4a9d24b37af441ee914fef255ad045e2241e70d76aef97d0dfb707b2e6508", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/khronos_egl-35e4c06cd8a606bf) [INFO] [stdout] [INFO] [stderr] Doc-tests khronos-egl [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] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::choose_first_config (line 623) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::get_configs (line 822) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::get_config_count (line 789) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::choose_config (line 575) ... FAILED [INFO] [stdout] test src/lib.rs - (line 120) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] error: aborting due to 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] ---- src/lib.rs - (line 97) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloading` [INFO] [stdout] --> src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 4 | let lib = libloading::Library::new("libEGL.so.1").expect("unable to find libEGL.so.1"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libloading` [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] 5 | let egl = unsafe { egl::DynamicInstance::::load_required_from(lib).expect("unable to load libEGL.so.1") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `DynamicInstance` in `egl` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EGL1_4` in crate `egl` [INFO] [stdout] --> src/lib.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 5 | let egl = unsafe { egl::DynamicInstance::::load_required_from(lib).expect("unable to load libEGL.so.1") }; [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use egl::api::EGL1_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EGL1_5` in crate `egl` [INFO] [stdout] --> src/lib.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 6 | match egl.upcast::() { [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use egl::api::EGL1_5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloading` [INFO] [stdout] --> src/lib.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 4 | let lib = libloading::Library::new("libEGL.so.1").expect("unable to find libEGL.so.1"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libloading` [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] 5 | let egl = unsafe { egl::DynamicInstance::::load_required_from(lib).expect("unable to load libEGL.so.1") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `DynamicInstance` in `egl` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EGL1_4` in crate `egl` [INFO] [stdout] --> src/lib.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 5 | let egl = unsafe { egl::DynamicInstance::::load_required_from(lib).expect("unable to load libEGL.so.1") }; [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use egl::api::EGL1_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - egl1_0::Instance::choose_first_config (line 623) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl` [INFO] [stdout] --> src/lib.rs:627:35 [INFO] [stdout] | [INFO] [stdout] 5 | let egl = egl::Instance::new(egl::Static); [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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::get_configs (line 822) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl` [INFO] [stdout] --> src/lib.rs:826:35 [INFO] [stdout] | [INFO] [stdout] 5 | let egl = egl::Instance::new(egl::Static); [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl` [INFO] [stdout] --> src/lib.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 7 | let egl = egl::Instance::new(egl::Static); [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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::get_config_count (line 789) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl` [INFO] [stdout] --> src/lib.rs:793:35 [INFO] [stdout] | [INFO] [stdout] 5 | let egl = egl::Instance::new(egl::Static); [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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::choose_config (line 575) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Static` in crate `egl` [INFO] [stdout] --> src/lib.rs:579:35 [INFO] [stdout] | [INFO] [stdout] 5 | let egl = egl::Instance::new(egl::Static); [INFO] [stdout] | ^^^^^^ not found in `egl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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] [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::choose_config (line 575) [INFO] [stdout] src/lib.rs - egl1_0::Instance::choose_first_config (line 623) [INFO] [stdout] src/lib.rs - egl1_0::Instance::get_config_count (line 789) [INFO] [stdout] src/lib.rs - egl1_0::Instance::get_configs (line 822) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0ad4a9d24b37af441ee914fef255ad045e2241e70d76aef97d0dfb707b2e6508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad4a9d24b37af441ee914fef255ad045e2241e70d76aef97d0dfb707b2e6508", kill_on_drop: false }` [INFO] [stdout] 0ad4a9d24b37af441ee914fef255ad045e2241e70d76aef97d0dfb707b2e6508