[INFO] fetching crate khronos-egl 2.0.0...
[INFO] testing khronos-egl-2.0.0 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate khronos-egl 2.0.0 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate khronos-egl 2.0.0 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate khronos-egl 2.0.0
[INFO] finished tweaking crates.io crate khronos-egl 2.0.0
[INFO] tweaked toml for crates.io crate khronos-egl 2.0.0 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate khronos-egl 2.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wayland-scanner v0.25.0
[INFO] [stderr]   Downloaded wayland-commons v0.25.0
[INFO] [stderr]   Downloaded wayland-protocols v0.25.0
[INFO] [stderr]   Downloaded wayland-client v0.25.0
[INFO] [stderr]   Downloaded wayland-sys v0.25.0
[INFO] [stderr]   Downloaded wayland-egl v0.25.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce3ab363c484b1a6bdfee8246c6ddef7528612adc354dce61371d4b52e1a0850
[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" "ce3ab363c484b1a6bdfee8246c6ddef7528612adc354dce61371d4b52e1a0850", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce3ab363c484b1a6bdfee8246c6ddef7528612adc354dce61371d4b52e1a0850", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce3ab363c484b1a6bdfee8246c6ddef7528612adc354dce61371d4b52e1a0850", kill_on_drop: false }`
[INFO] [stdout] ce3ab363c484b1a6bdfee8246c6ddef7528612adc354dce61371d4b52e1a0850
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3492071edfb8a98980be368ed895e4f0b4c171f660b8370135de5f1c2a22205
[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" "c3492071edfb8a98980be368ed895e4f0b4c171f660b8370135de5f1c2a22205", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling libc v0.1.12
[INFO] [stderr]    Compiling khronos-egl v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling khronos v0.1.2
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.23s
[INFO] running `Command { std: "docker" "inspect" "c3492071edfb8a98980be368ed895e4f0b4c171f660b8370135de5f1c2a22205", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3492071edfb8a98980be368ed895e4f0b4c171f660b8370135de5f1c2a22205", kill_on_drop: false }`
[INFO] [stdout] c3492071edfb8a98980be368ed895e4f0b4c171f660b8370135de5f1c2a22205
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "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] 772703f3f502a0a51487ab6026dab9a7972dc0f56282c8dd1650ea776b2dbf39
[INFO] running `Command { std: "docker" "start" "-a" "772703f3f502a0a51487ab6026dab9a7972dc0f56282c8dd1650ea776b2dbf39", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling wayland-scanner v0.25.0
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.25.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling wayland-client v0.25.0
[INFO] [stderr]    Compiling wayland-protocols v0.25.0
[INFO] [stderr]    Compiling wayland-commons v0.25.0
[INFO] [stderr]    Compiling wayland-egl v0.25.0
[INFO] [stderr]    Compiling khronos-egl v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 31.76s
[INFO] running `Command { std: "docker" "inspect" "772703f3f502a0a51487ab6026dab9a7972dc0f56282c8dd1650ea776b2dbf39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "772703f3f502a0a51487ab6026dab9a7972dc0f56282c8dd1650ea776b2dbf39", kill_on_drop: false }`
[INFO] [stdout] 772703f3f502a0a51487ab6026dab9a7972dc0f56282c8dd1650ea776b2dbf39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d86f508562b32b3ed0c930d8e1be4f1e15f3dd513e76193df98be04cd9c2d3f
[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" "1d86f508562b32b3ed0c930d8e1be4f1e15f3dd513e76193df98be04cd9c2d3f", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/khronos_egl-3332b82571c72d95
[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
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests khronos-egl
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - choose_config (line 374) ... FAILED
[INFO] [stdout] test src/lib.rs - choose_first_config (line 416) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - choose_config (line 374) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `egl`
[INFO] [stdout]  --> src/lib.rs:376:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let count = egl::matching_config_count(attrib_list)?;
[INFO] [stdout]   |             ^^^ use of undeclared crate or module `egl`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `egl`
[INFO] [stdout]  --> src/lib.rs:380:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   | ^^^ use of undeclared crate or module `egl`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attrib_list` in this scope
[INFO] [stdout]  --> src/lib.rs:376:40
[INFO] [stdout]   |
[INFO] [stdout] 4 | let count = egl::matching_config_count(attrib_list)?;
[INFO] [stdout]   |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `display` in this scope
[INFO] [stdout]  --> src/lib.rs:380:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attrib_list` in this scope
[INFO] [stdout]  --> src/lib.rs:380:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]  --> src/lib.rs:376:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[INFO] [stdout] 4 | | let count = egl::matching_config_count(attrib_list)?;
[INFO] [stdout]   | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | // Get the matching configurations.
[INFO] [stdout] 7 | | let mut configs = Vec::with_capacity(count);
[INFO] [stdout] 8 | | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]  --> src/lib.rs:380:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / fn main() {
[INFO] [stdout] 4 | | let count = egl::matching_config_count(attrib_list)?;
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | // Get the matching configurations.
[INFO] [stdout] 7 | | let mut configs = Vec::with_capacity(count);
[INFO] [stdout] 8 | | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - choose_first_config (line 416) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `egl`
[INFO] [stdout]  --> src/lib.rs:418:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   | ^^^ use of undeclared crate or module `egl`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `display` in this scope
[INFO] [stdout]  --> src/lib.rs:418:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attrib_list` in this scope
[INFO] [stdout]  --> src/lib.rs:418:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]  --> src/lib.rs:418:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let mut configs = Vec::with_capacity(1);
[INFO] [stdout] 4 | | egl::choose_config(display, attrib_list, &mut configs)?;
[INFO] [stdout]   | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 5 | | configs.first()
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:419:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() {
[INFO] [stdout]   |           - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 5 | configs.first()
[INFO] [stdout]   | ^^^^^^^^^^^^^^^- help: try adding a semicolon: `;`
[INFO] [stdout]   | |
[INFO] [stdout]   | expected `()`, found enum `Option`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected unit type `()`
[INFO] [stdout]                   found enum `Option<&_>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - choose_config (line 374)
[INFO] [stdout]     src/lib.rs - choose_first_config (line 416)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "1d86f508562b32b3ed0c930d8e1be4f1e15f3dd513e76193df98be04cd9c2d3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d86f508562b32b3ed0c930d8e1be4f1e15f3dd513e76193df98be04cd9c2d3f", kill_on_drop: false }`
[INFO] [stdout] 1d86f508562b32b3ed0c930d8e1be4f1e15f3dd513e76193df98be04cd9c2d3f
