[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] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] add8763037b6fac7139c9b30e1c4f8b0e315e6a8 [INFO] testing shioleap/hello_winit against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshioleap%2Fhello_winit" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shioleap/hello_winit on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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-10/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9bdc1e5f9ce47b81883d6d91e12673ff870a7f2ea0a1b3e77d8ce7d9cb31f6f [INFO] running `"docker" "start" "-a" "d9bdc1e5f9ce47b81883d6d91e12673ff870a7f2ea0a1b3e77d8ce7d9cb31f6f"` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling percent-encoding v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner 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 andrew v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [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] [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: if this is intentional, prefix it 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: if this is intentional, prefix it 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/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d" "/opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.vtkn90l8vqlsfgk.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libloading-586d98fdb20ddd5d/out" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libx11-de09d4979e6cc586.rlib" "/opt/rustwide/target/debug/deps/libwinit-2ba56d2a9cd5d6bb.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-475a43ea1bf73c3a.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-5f4a5aa95e8a4b7f.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-0eb52578ce304c32.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-67fa6d41fbcd5eb8.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-5a8d0fd59eee3c3c.rlib" "/opt/rustwide/target/debug/deps/libnix-f56b6343e757e900.rlib" "/opt/rustwide/target/debug/deps/libvoid-97cb09eed3196251.rlib" "/opt/rustwide/target/debug/deps/libmemmap-c50776f12d305ae9.rlib" "/opt/rustwide/target/debug/deps/libandrew-dbde461f590a7f97.rlib" "/opt/rustwide/target/debug/deps/libxml-753a47a7ba54f9d7.rlib" "/opt/rustwide/target/debug/deps/libxdg-810f71efbdcfd8aa.rlib" "/opt/rustwide/target/debug/deps/libwalkdir-72da9a8ab491a060.rlib" "/opt/rustwide/target/debug/deps/libsame_file-16194a59b4bcd3b0.rlib" "/opt/rustwide/target/debug/deps/librusttype-dbfa9e46f60b91e9.rlib" "/opt/rustwide/target/debug/deps/libstb_truetype-34061c4c045cda49.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-2cdd9ae034878c52.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-d4ae45eb3b288327.rlib" "/opt/rustwide/target/debug/deps/libnodrop-ad412c52a0ba129d.rlib" "/opt/rustwide/target/debug/deps/libordered_float-87d47447ce324897.rlib" "/opt/rustwide/target/debug/deps/libapprox-07292699ebd9947e.rlib" "/opt/rustwide/target/debug/deps/libline_drawing-90478cab417a481d.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-3b7e3d0cba1906cb.rlib" "/opt/rustwide/target/debug/deps/libdlib-5c438b7f4bfe4d3c.rlib" "/opt/rustwide/target/debug/deps/liblibloading-e4f0be0c277a842b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e19ca9f68a0a4995.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-61f83869959084c3.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-eec8bc15d65484e1.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-f2e879d57c615486.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-99936360f5c88599.rlib" "/opt/rustwide/target/debug/deps/liblock_api-275ee111d2d823ae.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-68a78b59e929aafd.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-c239d3d63d0f1d9b.rlib" "/opt/rustwide/target/debug/deps/liblog-f9bbab2e163ef553.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-d205a30746c5635c.rlib" "/opt/rustwide/target/debug/deps/liblibc-e607f26e97ca91c6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-871db668c04919c0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-ldl" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /opt/rustwide/target/debug/deps/hello_winit-8b21f108e7b1253d.hello_winit.5s4erwjz-cgu.2.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; 2 warnings emitted [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" "d9bdc1e5f9ce47b81883d6d91e12673ff870a7f2ea0a1b3e77d8ce7d9cb31f6f"` [INFO] running `"docker" "rm" "-f" "d9bdc1e5f9ce47b81883d6d91e12673ff870a7f2ea0a1b3e77d8ce7d9cb31f6f"` [INFO] [stdout] d9bdc1e5f9ce47b81883d6d91e12673ff870a7f2ea0a1b3e77d8ce7d9cb31f6f