[INFO] cloning repository https://github.com/shioleap/hello_winit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shioleap/hello_winit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshioleap%2Fhello_winit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshioleap%2Fhello_winit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] add8763037b6fac7139c9b30e1c4f8b0e315e6a8 [INFO] testing shioleap/hello_winit against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshioleap%2Fhello_winit" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shioleap/hello_winit on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/shioleap/hello_winit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 484daf94a1602299bfd2c9b5848dbce58ca2fbef6eaa6c0f2d36084f2790d91e [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" "484daf94a1602299bfd2c9b5848dbce58ca2fbef6eaa6c0f2d36084f2790d91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484daf94a1602299bfd2c9b5848dbce58ca2fbef6eaa6c0f2d36084f2790d91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484daf94a1602299bfd2c9b5848dbce58ca2fbef6eaa6c0f2d36084f2790d91e", kill_on_drop: false }` [INFO] [stdout] 484daf94a1602299bfd2c9b5848dbce58ca2fbef6eaa6c0f2d36084f2790d91e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b002f7d4c82d8cf6c2d55996ca68c9e4db26d2eedf43e913e54a7a501361cb6c [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" "b002f7d4c82d8cf6c2d55996ca68c9e4db26d2eedf43e913e54a7a501361cb6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling percent-encoding v2.0.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons 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] [stdout] warning: unused variable: `xlib_window` [INFO] [stdout] --> src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let xlib_window = winit_state.window.get_xlib_window().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xlib_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xlib_gc` [INFO] [stdout] --> src/main.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | let xlib_gc = unsafe {xlib::XDefaultGC(xlib_display, xlib_screen_id)}; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xlib_gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d" "/opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.rny33pn0n24ius.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libloading-5df64abe189a022d/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libx11-1a0097c0397e1af8.rlib" "/opt/rustwide/target/debug/deps/libwinit-20ff33e9f8efb381.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-4fbba7b13a1ee44e.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-00a346bd1f934ec2.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-f1258adb7abdf771.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-10ee65f46d240dfc.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-4ce92434f96db51d.rlib" "/opt/rustwide/target/debug/deps/libnix-76cc1f74205c4833.rlib" "/opt/rustwide/target/debug/deps/libvoid-2b8404f9072f9abf.rlib" "/opt/rustwide/target/debug/deps/libmemmap-ac17443b2640f363.rlib" "/opt/rustwide/target/debug/deps/libandrew-88a3908aea88825f.rlib" "/opt/rustwide/target/debug/deps/libxml-0ca839a7671ccfa2.rlib" "/opt/rustwide/target/debug/deps/libxdg-20ac6d231c74b9fd.rlib" "/opt/rustwide/target/debug/deps/libwalkdir-50e1af4f23e3cd13.rlib" "/opt/rustwide/target/debug/deps/libsame_file-6259e1726f074954.rlib" "/opt/rustwide/target/debug/deps/librusttype-83ed66bfeb15f221.rlib" "/opt/rustwide/target/debug/deps/libstb_truetype-f314193ab71171ee.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-920ed6a70714d423.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-b4f0f77bba9a8c89.rlib" "/opt/rustwide/target/debug/deps/libnodrop-2eb5aff8322c7e4b.rlib" "/opt/rustwide/target/debug/deps/libordered_float-d9a1a9c182c8bada.rlib" "/opt/rustwide/target/debug/deps/libapprox-4e582d7f9ee8747d.rlib" "/opt/rustwide/target/debug/deps/libline_drawing-1403dc71937acb42.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-59a9afba53d94711.rlib" "/opt/rustwide/target/debug/deps/libdlib-0041c5b923d15ed1.rlib" "/opt/rustwide/target/debug/deps/liblibloading-c16ccc016a49dd1d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-66309d0aee04d875.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-3ca9762556c65d5f.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-3b23bee8b2b75b44.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-7cc758b4bc1d2506.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-2786763282e3ede7.rlib" "/opt/rustwide/target/debug/deps/liblock_api-2a248887d31d96d6.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-5d7f87962d1afbbe.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-0d296e64bcb76d7a.rlib" "/opt/rustwide/target/debug/deps/liblog-f1340081fe6eb5b5.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dc9c1f3ab4e75cf1.rlib" "/opt/rustwide/target/debug/deps/liblibc-e56a0d52c58e583c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-aa458f9196325be2.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-ldl" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/hello_winit-be5d4e144c92fd9d.hello_winit.2r2xp0bb-cgu.15.rcgu.o: in function `hello_winit::main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:50: undefined reference to `XDefaultGC' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_winit`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b002f7d4c82d8cf6c2d55996ca68c9e4db26d2eedf43e913e54a7a501361cb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b002f7d4c82d8cf6c2d55996ca68c9e4db26d2eedf43e913e54a7a501361cb6c", kill_on_drop: false }` [INFO] [stdout] b002f7d4c82d8cf6c2d55996ca68c9e4db26d2eedf43e913e54a7a501361cb6c