[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] fd55a85b8c0d70365e37961c743def4df3ccba4d [INFO] checking mozilla/rust-code-analysis against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-code-analysis" "/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/mozilla/rust-code-analysis 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/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-7/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50b989292f6c09cdee3ff0d57e538addcb2fbac818224c43f922096ce4d65d93 [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" "50b989292f6c09cdee3ff0d57e538addcb2fbac818224c43f922096ce4d65d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50b989292f6c09cdee3ff0d57e538addcb2fbac818224c43f922096ce4d65d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b989292f6c09cdee3ff0d57e538addcb2fbac818224c43f922096ce4d65d93", kill_on_drop: false }` [INFO] [stdout] 50b989292f6c09cdee3ff0d57e538addcb2fbac818224c43f922096ce4d65d93 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e303486a5c8a314a5799a7ef5a38bd2828f3accebb3dff8878756b3f35c12589 [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" "e303486a5c8a314a5799a7ef5a38bd2828f3accebb3dff8878756b3f35c12589", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [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 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] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking num-format v0.4.0 [INFO] [stderr] Compiling tree-sitter v0.17.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [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] Checking regex v1.4.2 [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] 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-bb3a04bd0a02e718/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-11b2a7ee1fc6ae0c/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-11b2a7ee1fc6ae0c/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-11b2a7ee1fc6ae0c/out/libtree-sitter-mozjs-c.a" "/opt/rustwide/target/debug/build/rust-code-analysis-11b2a7ee1fc6ae0c/out/./tree-sitter-mozjs/src/parser.o" "/opt/rustwide/target/debug/build/rust-code-analysis-11b2a7ee1fc6ae0c/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-11b2a7ee1fc6ae0c/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-11b2a7ee1fc6ae0c/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" "e303486a5c8a314a5799a7ef5a38bd2828f3accebb3dff8878756b3f35c12589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e303486a5c8a314a5799a7ef5a38bd2828f3accebb3dff8878756b3f35c12589", kill_on_drop: false }` [INFO] [stdout] e303486a5c8a314a5799a7ef5a38bd2828f3accebb3dff8878756b3f35c12589