[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 1.45.2 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-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shioleap/hello_winit on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-3/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d90627b4ecbd726bc017fa20def9f394d4e67878a8ae24d7fe5177dc492cb19c [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" "d90627b4ecbd726bc017fa20def9f394d4e67878a8ae24d7fe5177dc492cb19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d90627b4ecbd726bc017fa20def9f394d4e67878a8ae24d7fe5177dc492cb19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d90627b4ecbd726bc017fa20def9f394d4e67878a8ae24d7fe5177dc492cb19c", kill_on_drop: false }` [INFO] [stdout] d90627b4ecbd726bc017fa20def9f394d4e67878a8ae24d7fe5177dc492cb19c [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" "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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c63b1e61c19945aedb5b9af853728586f1bfd401a90827c9404641bb9896d006 [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" "c63b1e61c19945aedb5b9af853728586f1bfd401a90827c9404641bb9896d006", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.0.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling num-traits v0.2.8 [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 wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [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 rusttype v0.7.7 [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" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.hello_winit.580b2wou-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8" "/opt/rustwide/target/debug/deps/hello_winit-5574d3e574484ad8.5c4cxhahslo2yeep.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libloading-311b741d5f4c71c6/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libx11-eee3f14d6a418bf1.rlib" "/opt/rustwide/target/debug/deps/libwinit-6a925b31cb21e1c4.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-c85132e1e1223a58.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-4132b15a0ac5af75.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-c11f91f49a1e4e51.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-2ff2acc5b2a6e2a8.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-5924ba1cb8390322.rlib" "/opt/rustwide/target/debug/deps/libnix-0707b5f1991b678e.rlib" "/opt/rustwide/target/debug/deps/libvoid-af6f01eb30472fa0.rlib" "/opt/rustwide/target/debug/deps/libmemmap-029319d7be4e759e.rlib" "/opt/rustwide/target/debug/deps/libandrew-a33f13a20ad9bb5d.rlib" "/opt/rustwide/target/debug/deps/libxml-601fe3bf6e6d12e8.rlib" "/opt/rustwide/target/debug/deps/libxdg-513e46077e7cc7cd.rlib" "/opt/rustwide/target/debug/deps/libwalkdir-e727c8fd249f7fc1.rlib" "/opt/rustwide/target/debug/deps/libsame_file-90252efea2d8add8.rlib" "/opt/rustwide/target/debug/deps/librusttype-1a359841f795d0d5.rlib" "/opt/rustwide/target/debug/deps/libstb_truetype-566cd3771c22b451.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-95e0ab8c92cb6559.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-24c91f420fb34a25.rlib" "/opt/rustwide/target/debug/deps/libnodrop-20bd03037d6a02fd.rlib" "/opt/rustwide/target/debug/deps/libordered_float-d79b30a0545da82d.rlib" "/opt/rustwide/target/debug/deps/libapprox-f3cc50317fdb4a34.rlib" "/opt/rustwide/target/debug/deps/libline_drawing-8052ed0b2ef6123a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6a0eb57675e3abf5.rlib" "/opt/rustwide/target/debug/deps/libdlib-cfcd2113d693ec83.rlib" "/opt/rustwide/target/debug/deps/liblibloading-714511382359e455.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6c2877d8a3bebda2.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-9316131fe1f94c3f.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-d4bc7344ec0606b7.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-f871a052a051f2b4.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-d9cbcdb592aa8aca.rlib" "/opt/rustwide/target/debug/deps/liblock_api-32f51aaf619c2758.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-921331c4d79f3009.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-edbf16de6d06adb2.rlib" "/opt/rustwide/target/debug/deps/liblog-ade8e1c804f12ab3.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0f70e7a67f5f9637.rlib" "/opt/rustwide/target/debug/deps/liblibc-7b4b73993eca0a76.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-1111c7f22c80ffdf.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.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-5574d3e574484ad8.hello_winit.580b2wou-cgu.3.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" "c63b1e61c19945aedb5b9af853728586f1bfd401a90827c9404641bb9896d006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63b1e61c19945aedb5b9af853728586f1bfd401a90827c9404641bb9896d006", kill_on_drop: false }` [INFO] [stdout] c63b1e61c19945aedb5b9af853728586f1bfd401a90827c9404641bb9896d006