[INFO] fetching crate sdl2 0.34.3... [INFO] checking sdl2-0.34.3 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate sdl2 0.34.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sdl2 0.34.3 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdl2 0.34.3 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate sdl2 0.34.3 [INFO] tweaked toml for crates.io crate sdl2 0.34.3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate sdl2 0.34.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-3/source/examples/raw-window-handle-with-wgpu/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gfx-backend-vulkan v0.5.6 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded wgpu-types v0.5.1 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.5.5 [INFO] [stderr] Downloaded wgpu-core v0.5.5 [INFO] [stderr] Downloaded gfx-backend-metal v0.5.2 [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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191ce6643a4aa401b073d8f3304e2e6c7c1f3731ca697071d4306d2230492e38 [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" "191ce6643a4aa401b073d8f3304e2e6c7c1f3731ca697071d4306d2230492e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191ce6643a4aa401b073d8f3304e2e6c7c1f3731ca697071d4306d2230492e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191ce6643a4aa401b073d8f3304e2e6c7c1f3731ca697071d4306d2230492e38", kill_on_drop: false }` [INFO] [stdout] 191ce6643a4aa401b073d8f3304e2e6c7c1f3731ca697071d4306d2230492e38 [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=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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e23e31f8a0bfa872c10d97a5c814cb11a9d5e3b65c204330bb53f25e66a262f5 [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" "e23e31f8a0bfa872c10d97a5c814cb11a9d5e3b65c204330bb53f25e66a262f5", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/examples/raw-window-handle-with-wgpu/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling sdl2 v0.34.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking gfx-hal v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ash v0.30.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling glsl-to-spirv v0.1.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/sdl2/event.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | static ref CUSTOM_EVENT_TYPES : Mutex = { Mutex::new(CustomEventTypeMaps::new()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sdl2/render.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | SdlError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gfx-hal` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name gfx_hal --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-hal-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 -C metadata=d6e14d64a64cfc1d -C extra-filename=-d6e14d64a64cfc1d --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-112c1c21947cb21c.rmeta --extern raw_window_handle=/opt/rustwide/target/debug/deps/libraw_window_handle-c2062789086934c6.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `unwrap_keymod` [INFO] [stdout] --> src/sdl2/event.rs:1729:8 [INFO] [stdout] | [INFO] [stdout] 1729 | fn unwrap_keymod(keymod_option: Option) -> keyboard::Mod { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e23e31f8a0bfa872c10d97a5c814cb11a9d5e3b65c204330bb53f25e66a262f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23e31f8a0bfa872c10d97a5c814cb11a9d5e3b65c204330bb53f25e66a262f5", kill_on_drop: false }` [INFO] [stdout] e23e31f8a0bfa872c10d97a5c814cb11a9d5e3b65c204330bb53f25e66a262f5