[INFO] updating cached repository https://github.com/shioleap/hello_winit
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] [stderr] From https://github.com/shioleap/hello_winit
[INFO] [stderr]    a8be5de..add8763  master     -> master
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] add8763037b6fac7139c9b30e1c4f8b0e315e6a8
[INFO] testing shioleap/hello_winit against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshioleap%2Fhello_winit" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shioleap/hello_winit on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/shioleap/hello_winit
[INFO] finished tweaking git repo https://github.com/shioleap/hello_winit
[INFO] tweaked toml for git repo https://github.com/shioleap/hello_winit written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/shioleap/hello_winit already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] 175f64b38760bf958ad4787789345c81327c517e1a77970e08cfde31d43c6035
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "175f64b38760bf958ad4787789345c81327c517e1a77970e08cfde31d43c6035"`
[INFO] [stderr]    Compiling percent-encoding v2.0.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling x11 v2.18.1
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rusttype v0.7.7
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.3
[INFO] [stderr]    Compiling hello_winit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused variable: `xlib_window`
[INFO] [stderr]   --> src/main.rs:47:7
[INFO] [stderr]    |
[INFO] [stderr] 47 |   let xlib_window = winit_state.window.get_xlib_window().unwrap();
[INFO] [stderr]    |       ^^^^^^^^^^^ help: consider prefixing with an underscore: `_xlib_window`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xlib_gc`
[INFO] [stderr]   --> src/main.rs:50:7
[INFO] [stderr]    |
[INFO] [stderr] 50 |   let xlib_gc = unsafe {xlib::XDefaultGC(xlib_display, xlib_screen_id)};
[INFO] [stderr]    |       ^^^^^^^ help: consider prefixing with an underscore: `_xlib_gc`
[INFO] [stderr] 
[INFO] [stderr] error: linking with `cc` failed: exit code: 1
[INFO] [stderr]   |
[INFO] [stderr]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac" "/opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.7yd8tym36hbkojc.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libloading-e0c339fa3411c80c/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libx11-d4ab7517b54257f8.rlib" "/opt/rustwide/target/debug/deps/libwinit-d63c59316734c8f5.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-ae7d464b8b00ec77.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-3ca31a9653f01742.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-db8920d86d30f87a.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-f3ec955030a61cb9.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-20ce878f846487ca.rlib" "/opt/rustwide/target/debug/deps/libnix-b41cfba2ccf1cd8a.rlib" "/opt/rustwide/target/debug/deps/libvoid-6be3fabceafc393d.rlib" "/opt/rustwide/target/debug/deps/libmemmap-d6e52b411f9a82be.rlib" "/opt/rustwide/target/debug/deps/libandrew-53e697a085ceb08c.rlib" "/opt/rustwide/target/debug/deps/libxml-2d1053e39e609e59.rlib" "/opt/rustwide/target/debug/deps/libxdg-066a1ceb6a3ffcba.rlib" "/opt/rustwide/target/debug/deps/libwalkdir-fac91928b9b59405.rlib" "/opt/rustwide/target/debug/deps/libsame_file-38c1dc7075118e91.rlib" "/opt/rustwide/target/debug/deps/librusttype-8b7051603b54a32e.rlib" "/opt/rustwide/target/debug/deps/libstb_truetype-8306c347bfffe11f.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-29efdd0b59c6f920.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-c12ba2a7e42b7d42.rlib" "/opt/rustwide/target/debug/deps/libnodrop-45be2afca34b1878.rlib" "/opt/rustwide/target/debug/deps/libordered_float-7aa5717ef51827aa.rlib" "/opt/rustwide/target/debug/deps/libapprox-c5ecf06ecf05a290.rlib" "/opt/rustwide/target/debug/deps/libline_drawing-aba606704fc28fe4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-06c949813c03e068.rlib" "/opt/rustwide/target/debug/deps/libdlib-8b9a267c63dd3a2c.rlib" "/opt/rustwide/target/debug/deps/liblibloading-b1ec8727860b6c0a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-bac11230dc5e801b.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-e92c3faa22741faa.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-3cdc00ba2d359b1a.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-2f66dd2bdb4d252a.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-1556b469375c4479.rlib" "/opt/rustwide/target/debug/deps/liblock_api-7f1af8205c806c0f.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-452671fa67a8b392.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-9fb8847feabee330.rlib" "/opt/rustwide/target/debug/deps/liblog-48b6920b7e9308bf.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-157560e62a8fd7cf.rlib" "/opt/rustwide/target/debug/deps/liblibc-421bfec377f42115.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-51d3d192d5337de8.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-ldl" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[INFO] [stderr]   = note: /opt/rustwide/target/debug/deps/hello_winit-d65860f88b1582ac.hello_winit.cobdqmp8-cgu.6.rcgu.o: In function `hello_winit::main':
[INFO] [stderr]           /opt/rustwide/workdir/src/main.rs:50: undefined reference to `XDefaultGC'
[INFO] [stderr]           collect2: error: ld returned 1 exit status
[INFO] [stderr]           
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `hello_winit`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "175f64b38760bf958ad4787789345c81327c517e1a77970e08cfde31d43c6035"`
[INFO] running `"docker" "rm" "-f" "175f64b38760bf958ad4787789345c81327c517e1a77970e08cfde31d43c6035"`
[INFO] [stdout] 175f64b38760bf958ad4787789345c81327c517e1a77970e08cfde31d43c6035
