[INFO] cloning repository https://github.com/mozilla/rust-code-analysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mozilla/rust-code-analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-code-analysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-code-analysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b58437b476d79c1431645486a6ee0e9fc9f1827 [INFO] checking mozilla/rust-code-analysis against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-code-analysis" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mozilla/rust-code-analysis on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mozilla/rust-code-analysis [INFO] removed workspace from git repo https://github.com/mozilla/rust-code-analysis [INFO] finished tweaking git repo https://github.com/mozilla/rust-code-analysis [INFO] tweaked toml for git repo https://github.com/mozilla/rust-code-analysis written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mozilla/rust-code-analysis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e10b9ca08d1940227080fb732539a6fdc1a146c406437623d06b8c627e73db53 [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" "e10b9ca08d1940227080fb732539a6fdc1a146c406437623d06b8c627e73db53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e10b9ca08d1940227080fb732539a6fdc1a146c406437623d06b8c627e73db53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10b9ca08d1940227080fb732539a6fdc1a146c406437623d06b8c627e73db53", kill_on_drop: false }` [INFO] [stdout] e10b9ca08d1940227080fb732539a6fdc1a146c406437623d06b8c627e73db53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5cfa80c236c3e19d0026477bf1aea7e10e2e02838b4452e5745c94c4ead194 [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" "ab5cfa80c236c3e19d0026477bf1aea7e10e2e02838b4452e5745c94c4ead194", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling tree-sitter v0.17.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking num-format v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [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] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling rust-code-analysis v0.0.18 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] error: failed to run custom build command for `rust-code-analysis v0.0.18 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rust-code-analysis-be30360848657e1d/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] Build language mozjs [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [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] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [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] 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" "./tree-sitter-mozjs/src" "-I" "./tree-sitter-mozjs/src" "-std=c99" "-std=c99" "-o" "/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out/./tree-sitter-mozjs/src/parser.o" "-c" "./tree-sitter-mozjs/src/parser.c" [INFO] [stderr] exit code: 0 [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "./tree-sitter-mozjs/src" "-I" "./tree-sitter-mozjs/src" "-std=c99" "-std=c99" "-o" "/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out/./tree-sitter-mozjs/src/scanner.o" "-c" "./tree-sitter-mozjs/src/scanner.c" [INFO] [stderr] exit code: 0 [INFO] [stderr] AR_x86_64-unknown-linux-gnu = None [INFO] [stderr] AR_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_AR = None [INFO] [stderr] AR = None [INFO] [stderr] running: "ar" "cq" "/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out/libtree-sitter-mozjs-c.a" "/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out/./tree-sitter-mozjs/src/parser.o" "/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out/./tree-sitter-mozjs/src/scanner.o" [INFO] [stderr] exit code: 0 [INFO] [stderr] running: "ar" "s" "/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out/libtree-sitter-mozjs-c.a" [INFO] [stderr] exit code: 0 [INFO] [stderr] cargo:rustc-link-lib=static=tree-sitter-mozjs-c [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/rust-code-analysis-79e38320ac5b33cb/out [INFO] [stderr] Build language rust [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Collect files for tree-sitter-mozjs [INFO] [stderr] The directory tree-sitter-rust is empty, did you use 'git clone --recursive'? [INFO] [stderr] You can fix in using 'git submodule init && git submodule update --recursive'. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab5cfa80c236c3e19d0026477bf1aea7e10e2e02838b4452e5745c94c4ead194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5cfa80c236c3e19d0026477bf1aea7e10e2e02838b4452e5745c94c4ead194", kill_on_drop: false }` [INFO] [stdout] ab5cfa80c236c3e19d0026477bf1aea7e10e2e02838b4452e5745c94c4ead194