[INFO] fetching crate khronos-egl 4.1.0... [INFO] testing khronos-egl-4.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate khronos-egl 4.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate khronos-egl 4.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cb967f0d67f7d287cb846c8b3e297cb7c66b055e794daf3f3355a7b17cc28b7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7cb967f0d67f7d287cb846c8b3e297cb7c66b055e794daf3f3355a7b17cc28b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cb967f0d67f7d287cb846c8b3e297cb7c66b055e794daf3f3355a7b17cc28b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb967f0d67f7d287cb846c8b3e297cb7c66b055e794daf3f3355a7b17cc28b7", kill_on_drop: false }` [INFO] [stdout] 7cb967f0d67f7d287cb846c8b3e297cb7c66b055e794daf3f3355a7b17cc28b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb4c22f005db5dd3b670a0224eef99f7bdbe26ab184230e8504f616d9bf455b7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb4c22f005db5dd3b670a0224eef99f7bdbe26ab184230e8504f616d9bf455b7", 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.61s [INFO] running `Command { std: "docker" "inspect" "fb4c22f005db5dd3b670a0224eef99f7bdbe26ab184230e8504f616d9bf455b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4c22f005db5dd3b670a0224eef99f7bdbe26ab184230e8504f616d9bf455b7", kill_on_drop: false }` [INFO] [stdout] fb4c22f005db5dd3b670a0224eef99f7bdbe26ab184230e8504f616d9bf455b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 39f70a5c7e2b6dd481dfb50ebd63dd0b0a20f15f51ab2f5866da12181abe70c8 [INFO] running `Command { std: "docker" "start" "-a" "39f70a5c7e2b6dd481dfb50ebd63dd0b0a20f15f51ab2f5866da12181abe70c8", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [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 bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling once_cell v1.6.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [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 22.05s [INFO] running `Command { std: "docker" "inspect" "39f70a5c7e2b6dd481dfb50ebd63dd0b0a20f15f51ab2f5866da12181abe70c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f70a5c7e2b6dd481dfb50ebd63dd0b0a20f15f51ab2f5866da12181abe70c8", kill_on_drop: false }` [INFO] [stdout] 39f70a5c7e2b6dd481dfb50ebd63dd0b0a20f15f51ab2f5866da12181abe70c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 971be9f24bb248dbdd5fffc30421bcecb7f00c4e23de3d9fdb8d0c252162c201 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "971be9f24bb248dbdd5fffc30421bcecb7f00c4e23de3d9fdb8d0c252162c201", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/khronos_egl-66c97f1a01ca413b) [INFO] [stderr] Doc-tests khronos-egl [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] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::choose_config (line 575) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::get_configs (line 822) ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::choose_first_config (line 623) ... FAILED [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - egl1_0::Instance::get_config_count (line 789) ... FAILED [INFO] [stdout] test src/lib.rs - (line 120) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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] ---- 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 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] | ^^^^^^^^^^^^^^^ 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 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::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 - (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::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] [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 1.73s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "971be9f24bb248dbdd5fffc30421bcecb7f00c4e23de3d9fdb8d0c252162c201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "971be9f24bb248dbdd5fffc30421bcecb7f00c4e23de3d9fdb8d0c252162c201", kill_on_drop: false }` [INFO] [stdout] 971be9f24bb248dbdd5fffc30421bcecb7f00c4e23de3d9fdb8d0c252162c201