[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] 85ad36cf355e9684cddd162993fd8a679fb9abf9 [INFO] checking afnanenayet/diffsitter against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafnanenayet%2Fdiffsitter" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afnanenayet/diffsitter on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-7/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b817f9ec3a5dcceac7ba505ef5a84968e749f6b57467452ffaadad9a2e9fe70 [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" "9b817f9ec3a5dcceac7ba505ef5a84968e749f6b57467452ffaadad9a2e9fe70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b817f9ec3a5dcceac7ba505ef5a84968e749f6b57467452ffaadad9a2e9fe70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b817f9ec3a5dcceac7ba505ef5a84968e749f6b57467452ffaadad9a2e9fe70", kill_on_drop: false }` [INFO] [stdout] 9b817f9ec3a5dcceac7ba505ef5a84968e749f6b57467452ffaadad9a2e9fe70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] bcb578e85b7ac97290a53f9f56719aabce605f418bdadb721739a20ac25f6be7 [INFO] running `Command { std: "docker" "start" "-a" "bcb578e85b7ac97290a53f9f56719aabce605f418bdadb721739a20ac25f6be7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tree-sitter v0.17.1 [INFO] [stderr] Compiling phf_generator v0.8.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] Checking paw v1.0.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling diffsitter v0.0.1 (/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.0.1 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/diffsitter-d6739a8dc4583c99/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-e1efde27c044a385/out/grammars/tree-sitter-rust/src/scanner.o" "-c" "grammars/tree-sitter-rust/src/scanner.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] 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-e1efde27c044a385/out/grammars/tree-sitter-rust/src/parser.o" "-c" "grammars/tree-sitter-rust/src/parser.c" [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-e1efde27c044a385/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.37/src/error.rs:467:25 [INFO] [stderr] 1: build_script_build::main [INFO] [stderr] at ./build.rs:132:10 [INFO] [stderr] 2: core::ops::function::FnOnce::call_once [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 3: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 4: std::rt::lang_start::{{closure}} [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/rt.rs:66:18 [INFO] [stderr] 5: core::ops::function::impls:: for &F>::call_once [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:259:13 [INFO] [stderr] std::panicking::try::do_call [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stderr] std::panicking::try [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stderr] std::panic::catch_unwind [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stderr] std::rt::lang_start_internal [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/rt.rs:51:25 [INFO] [stderr] 6: std::rt::lang_start [INFO] [stderr] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/rt.rs:65:5 [INFO] [stderr] 7: main [INFO] [stderr] 8: __libc_start_main [INFO] [stderr] 9: _start [INFO] running `Command { std: "docker" "inspect" "bcb578e85b7ac97290a53f9f56719aabce605f418bdadb721739a20ac25f6be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb578e85b7ac97290a53f9f56719aabce605f418bdadb721739a20ac25f6be7", kill_on_drop: false }` [INFO] [stdout] bcb578e85b7ac97290a53f9f56719aabce605f418bdadb721739a20ac25f6be7