[INFO] cloning repository https://github.com/babysitterd/rust-roguelike-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/babysitterd/rust-roguelike-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabysitterd%2Frust-roguelike-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabysitterd%2Frust-roguelike-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2500f2794d941caacb1e176919d62a114a4107b2 [INFO] checking babysitterd/rust-roguelike-tutorial against 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabysitterd%2Frust-roguelike-tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/babysitterd/rust-roguelike-tutorial [INFO] finished tweaking git repo https://github.com/babysitterd/rust-roguelike-tutorial [INFO] tweaked toml for git repo https://github.com/babysitterd/rust-roguelike-tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/babysitterd/rust-roguelike-tutorial on toolchain 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/babysitterd/rust-roguelike-tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f [INFO] running `Command { std: "docker" "start" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling tcod-sys v5.0.1 (https://github.com/tomassedovic/tcod-rs.git?rev=d4ad074#d4ad0749) [INFO] [stderr] warning: tcod-sys@5.0.1: libtcod/src/zlib/gzlib.c: In function 'gz_open': [INFO] [stderr] warning: tcod-sys@5.0.1: libtcod/src/zlib/gzlib.c:14:17: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: tcod-sys@5.0.1: 14 | # define LSEEK lseek [INFO] [stderr] warning: tcod-sys@5.0.1: | ^~~~~ [INFO] [stderr] warning: tcod-sys@5.0.1: libtcod/src/zlib/gzlib.c:256:24: note: in expansion of macro 'LSEEK' [INFO] [stderr] warning: tcod-sys@5.0.1: 256 | state->start = LSEEK(state->fd, 0, SEEK_CUR); [INFO] [stderr] warning: tcod-sys@5.0.1: | ^~~~~ [INFO] [stderr] error: failed to run custom build command for `tcod-sys v5.0.1 (https://github.com/tomassedovic/tcod-rs.git?rev=d4ad074#d4ad0749)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/tcod-sys/2d7396d2b5dc42ae/out/build_script_build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/tcod-sys/0a9e883ee533b762/out) [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] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] RUSTC_WRAPPER = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some(true) [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87) [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:warning=libtcod/src/zlib/gzlib.c: In function 'gz_open': [INFO] [stderr] cargo:warning=libtcod/src/zlib/gzlib.c:14:17: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] [INFO] [stderr] cargo:warning= 14 | # define LSEEK lseek [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=libtcod/src/zlib/gzlib.c:256:24: note: in expansion of macro 'LSEEK' [INFO] [stderr] cargo:warning= 256 | state->start = LSEEK(state->fd, 0, SEEK_CUR); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/opt/rustwide/target/debug/build/tcod-sys/0a9e883ee533b762/out/32518cf3f68e4dce-gzlib.o" "-c" "libtcod/src/zlib/gzlib.c" with args cc did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f", kill_on_drop: false }` [INFO] [stdout] abbf2a350183035ed7fa19eeea15690a6cd16054b8130cd3d830f00d967fa35f