[INFO] cloning repository https://github.com/afnanenayet/diffsitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afnanenayet/diffsitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafnanenayet%2Fdiffsitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafnanenayet%2Fdiffsitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86603c9698289a1313ed9683b49ac359ba576bec [INFO] checking afnanenayet/diffsitter against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafnanenayet%2Fdiffsitter" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afnanenayet/diffsitter on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/afnanenayet/diffsitter [INFO] finished tweaking git repo https://github.com/afnanenayet/diffsitter [INFO] tweaked toml for git repo https://github.com/afnanenayet/diffsitter written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/afnanenayet/diffsitter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aff713ec50e68e19f7c62a3f260591334162a777ec47b6d1fbe90a404f1354a [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" "4aff713ec50e68e19f7c62a3f260591334162a777ec47b6d1fbe90a404f1354a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aff713ec50e68e19f7c62a3f260591334162a777ec47b6d1fbe90a404f1354a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aff713ec50e68e19f7c62a3f260591334162a777ec47b6d1fbe90a404f1354a", kill_on_drop: false }` [INFO] [stdout] 4aff713ec50e68e19f7c62a3f260591334162a777ec47b6d1fbe90a404f1354a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be08a0d041094512d5163d4a9f946f3eb061f0a2e76be89bd51967dff3178b20 [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" "be08a0d041094512d5163d4a9f946f3eb061f0a2e76be89bd51967dff3178b20", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling tree-sitter v0.17.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling logging_timer_proc_macros v1.0.0 [INFO] [stderr] Checking logging_timer v1.0.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Compiling diffsitter v0.3.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: cc: error: grammars/tree-sitter-rust/src/scanner.c: No such file or directory [INFO] [stderr] warning: cc: fatal error: no input files [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] warning: cc: error: grammars/tree-sitter-rust/src/parser.c: No such file or directory [INFO] [stderr] warning: cc: fatal error: no input files [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `diffsitter v0.3.1-alpha.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/diffsitter-b55189ab423a53f0/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" "-I" "grammars/tree-sitter-rust/src" "-o" "/opt/rustwide/target/debug/build/diffsitter-4512212902a54f46/out/grammars/tree-sitter-rust/src/scanner.o" "-c" "grammars/tree-sitter-rust/src/scanner.c" [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "grammars/tree-sitter-rust/src" "-o" "/opt/rustwide/target/debug/build/diffsitter-4512212902a54f46/out/grammars/tree-sitter-rust/src/parser.o" "-c" "grammars/tree-sitter-rust/src/parser.c" [INFO] [stderr] cargo:warning=cc: error: grammars/tree-sitter-rust/src/scanner.c: No such file or directory [INFO] [stderr] cargo:warning=cc: fatal error: no input files [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit code: 1 [INFO] [stderr] cargo:warning=cc: error: grammars/tree-sitter-rust/src/parser.c: No such file or directory [INFO] [stderr] cargo:warning=cc: fatal error: no input files [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Error: ToolExecError: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "grammars/tree-sitter-rust/src" "-o" "/opt/rustwide/target/debug/build/diffsitter-4512212902a54f46/out/grammars/tree-sitter-rust/src/parser.o" "-c" "grammars/tree-sitter-rust/src/parser.c" with args "cc" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] Stack backtrace: [INFO] [stderr] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.38/src/error.rs:469:25 [INFO] [stderr] 1: build_script_build::main [INFO] [stderr] at ./build.rs:180:10 [INFO] [stderr] 2: core::ops::function::FnOnce::call_once [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 3: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 4: std::rt::lang_start::{{closure}} [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/rt.rs:66:18 [INFO] [stderr] 5: core::ops::function::impls:: for &F>::call_once [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/core/src/ops/function.rs:259:13 [INFO] [stderr] std::panicking::try::do_call [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/panicking.rs:379:40 [INFO] [stderr] std::panicking::try [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/panicking.rs:343:19 [INFO] [stderr] std::panic::catch_unwind [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/panic.rs:396:14 [INFO] [stderr] std::rt::lang_start_internal [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/rt.rs:51:25 [INFO] [stderr] 6: std::rt::lang_start [INFO] [stderr] at /rustc/4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5/library/std/src/rt.rs:65:5 [INFO] [stderr] 7: main [INFO] [stderr] 8: __libc_start_main [INFO] [stderr] 9: _start [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "be08a0d041094512d5163d4a9f946f3eb061f0a2e76be89bd51967dff3178b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be08a0d041094512d5163d4a9f946f3eb061f0a2e76be89bd51967dff3178b20", kill_on_drop: false }` [INFO] [stdout] be08a0d041094512d5163d4a9f946f3eb061f0a2e76be89bd51967dff3178b20