[INFO] cloning repository https://github.com/shff/rust-multiplatform-thing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shff/rust-multiplatform-thing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshff%2Frust-multiplatform-thing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshff%2Frust-multiplatform-thing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b46a42e483ff186236aedf92ae551f7a447124c [INFO] checking shff/rust-multiplatform-thing against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshff%2Frust-multiplatform-thing" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shff/rust-multiplatform-thing 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 git repo https://github.com/shff/rust-multiplatform-thing [INFO] finished tweaking git repo https://github.com/shff/rust-multiplatform-thing [INFO] tweaked toml for git repo https://github.com/shff/rust-multiplatform-thing written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/shff/rust-multiplatform-thing 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 4f725430ce79bb66fa9b34e81605e52d0e084ae2922f044674eedcce2bfb0f81 [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" "4f725430ce79bb66fa9b34e81605e52d0e084ae2922f044674eedcce2bfb0f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f725430ce79bb66fa9b34e81605e52d0e084ae2922f044674eedcce2bfb0f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f725430ce79bb66fa9b34e81605e52d0e084ae2922f044674eedcce2bfb0f81", kill_on_drop: false }` [INFO] [stdout] 4f725430ce79bb66fa9b34e81605e52d0e084ae2922f044674eedcce2bfb0f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 06735e755bd635b7f891fba1225f98eb4c3509e53b383273001a777f42641fa4 [INFO] running `Command { std: "docker" "start" "-a" "06735e755bd635b7f891fba1225f98eb4c3509e53b383273001a777f42641fa4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/native/x11.c: In function 'main': [INFO] [stderr] warning: src/native/x11.c:21:25: warning: passing argument 2 of 'XInternAtoms' from incompatible pointer type [-Wincompatible-pointer-types] [INFO] [stderr] warning: 21 | XInternAtoms(display, "WM_DELETE_WINDOW", 1, 0, &deleteWindow); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | | [INFO] [stderr] warning: | char * [INFO] [stderr] warning: In file included from src/native/x11.c:1: [INFO] [stderr] warning: /usr/include/X11/Xlib.h:1543:5: note: expected 'char **' but argument is of type 'char *' [INFO] [stderr] warning: 1543 | char** /* names */, [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: src/native/x11.c:34:61: error: 'wmDeleteWindow' undeclared (first use in this function); did you mean 'deleteWindow'? [INFO] [stderr] warning: 34 | if (e.type == ConfigureNotify && e.xclient.data.l[0] == wmDeleteWindow) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: | deleteWindow [INFO] [stderr] warning: src/native/x11.c:34:61: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] warning: src/native/x11.c:37:17: error: 'event' undeclared (first use in this function); did you mean 'XEvent'? [INFO] [stderr] warning: 37 | mouse_x = event.xmotion.x, mouse_y = event.xmotion.y; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: | XEvent [INFO] [stderr] warning: src/native/x11.c:37:32: warning: left-hand operand of comma expression has no effect [-Wunused-value] [INFO] [stderr] warning: 37 | mouse_x = event.xmotion.x, mouse_y = event.xmotion.y; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/native/x11.c:44:3: error: too few arguments to function 'XUnmapWindow' [INFO] [stderr] warning: 44 | XUnmapWindow(display); [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: In file included from src/native/x11.c:1: [INFO] [stderr] warning: /usr/include/X11/Xlib.h:3505:12: note: declared here [INFO] [stderr] warning: 3505 | extern int XUnmapWindow( [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: src/native/x11.c:45:3: error: too few arguments to function 'XDestroyWindow' [INFO] [stderr] warning: 45 | XDestroyWindow(display); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from src/native/x11.c:1: [INFO] [stderr] warning: /usr/include/X11/Xlib.h:2243:12: note: declared here [INFO] [stderr] warning: 2243 | extern int XDestroyWindow( [INFO] [stderr] warning: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: src/native/x11.c:29:16: warning: variable 'mouse_y' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: 29 | int mouse_x, mouse_y; [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: src/native/x11.c:29:7: warning: variable 'mouse_x' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: 29 | int mouse_x, mouse_y; [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `gen v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/gen-7e4bae22da7881aa/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-Wno-unused-parameter" "-o" "/opt/rustwide/target/debug/build/gen-93475f5cde895b59/out/src/native/x11.o" "-c" "src/native/x11.c" [INFO] [stderr] cargo:warning=src/native/x11.c: In function 'main': [INFO] [stderr] cargo:warning=src/native/x11.c:21:25: warning: passing argument 2 of 'XInternAtoms' from incompatible pointer type [-Wincompatible-pointer-types] [INFO] [stderr] cargo:warning= 21 | XInternAtoms(display, "WM_DELETE_WINDOW", 1, 0, &deleteWindow); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | | [INFO] [stderr] cargo:warning= | char * [INFO] [stderr] cargo:warning=In file included from src/native/x11.c:1: [INFO] [stderr] cargo:warning=/usr/include/X11/Xlib.h:1543:5: note: expected 'char **' but argument is of type 'char *' [INFO] [stderr] cargo:warning= 1543 | char** /* names */, [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=src/native/x11.c:34:61: error: 'wmDeleteWindow' undeclared (first use in this function); did you mean 'deleteWindow'? [INFO] [stderr] cargo:warning= 34 | if (e.type == ConfigureNotify && e.xclient.data.l[0] == wmDeleteWindow) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | deleteWindow [INFO] [stderr] cargo:warning=src/native/x11.c:34:61: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] cargo:warning=src/native/x11.c:37:17: error: 'event' undeclared (first use in this function); did you mean 'XEvent'? [INFO] [stderr] cargo:warning= 37 | mouse_x = event.xmotion.x, mouse_y = event.xmotion.y; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning= | XEvent [INFO] [stderr] cargo:warning=src/native/x11.c:37:32: warning: left-hand operand of comma expression has no effect [-Wunused-value] [INFO] [stderr] cargo:warning= 37 | mouse_x = event.xmotion.x, mouse_y = event.xmotion.y; [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/native/x11.c:44:3: error: too few arguments to function 'XUnmapWindow' [INFO] [stderr] cargo:warning= 44 | XUnmapWindow(display); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from src/native/x11.c:1: [INFO] [stderr] cargo:warning=/usr/include/X11/Xlib.h:3505:12: note: declared here [INFO] [stderr] cargo:warning= 3505 | extern int XUnmapWindow( [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=src/native/x11.c:45:3: error: too few arguments to function 'XDestroyWindow' [INFO] [stderr] cargo:warning= 45 | XDestroyWindow(display); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from src/native/x11.c:1: [INFO] [stderr] cargo:warning=/usr/include/X11/Xlib.h:2243:12: note: declared here [INFO] [stderr] cargo:warning= 2243 | extern int XDestroyWindow( [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=src/native/x11.c:29:16: warning: variable 'mouse_y' set but not used [-Wunused-but-set-variable] [INFO] [stderr] cargo:warning= 29 | int mouse_x, mouse_y; [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=src/native/x11.c:29:7: warning: variable 'mouse_x' set but not used [-Wunused-but-set-variable] [INFO] [stderr] cargo:warning= 29 | int mouse_x, mouse_y; [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-Wno-unused-parameter" "-o" "/opt/rustwide/target/debug/build/gen-93475f5cde895b59/out/src/native/x11.o" "-c" "src/native/x11.c" with args "cc" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "06735e755bd635b7f891fba1225f98eb4c3509e53b383273001a777f42641fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06735e755bd635b7f891fba1225f98eb4c3509e53b383273001a777f42641fa4", kill_on_drop: false }` [INFO] [stdout] 06735e755bd635b7f891fba1225f98eb4c3509e53b383273001a777f42641fa4