[INFO] updating cached repository https://github.com/ansjsun/rust-faiss [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c70d3cb1f74ff7923ac2f75dd28d6338b32a49c5 [INFO] checking ansjsun/rust-faiss against try#8a5e87609850cdd8679aada01eb0f3062f254ca8 for pr-71140 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fansjsun%2Frust-faiss" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ansjsun/rust-faiss on toolchain 8a5e87609850cdd8679aada01eb0f3062f254ca8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ansjsun/rust-faiss [INFO] finished tweaking git repo https://github.com/ansjsun/rust-faiss [INFO] tweaked toml for git repo https://github.com/ansjsun/rust-faiss written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ansjsun/rust-faiss already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6b79bb56e89d5e03eb964d1ba25cecf6c2ba90651a5201a2805400be36e07868 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6b79bb56e89d5e03eb964d1ba25cecf6c2ba90651a5201a2805400be36e07868"` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking libc v0.2.68 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cpp_common v0.5.4 (https://github.com/mystor/rust-cpp#a9af87b0) [INFO] [stderr] Compiling cpp_build v0.5.4 (https://github.com/mystor/rust-cpp#a9af87b0) [INFO] [stderr] Compiling faiss4rs v1.6.301 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cpp_macros v0.5.4 (https://github.com/mystor/rust-cpp#a9af87b0) [INFO] [stderr] Checking cpp v0.5.4 (https://github.com/mystor/rust-cpp#a9af87b0) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/index_ivf_flat.rs:14:14: fatal error: faiss/IndexPQ.h: No such file or directory [INFO] [stderr] warning: #include [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `faiss4rs v1.6.301 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/faiss4rs-dc304ff25d5f4117/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=dylib=omp [INFO] [stderr] cargo:rustc-link-lib=dylib=faiss [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] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/workdir" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/faiss4rs-a5a46a02396c06a7/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/faiss4rs-a5a46a02396c06a7/out/rust_cpp/cpp_closures.cpp" [INFO] [stderr] cargo:warning=src/index_ivf_flat.rs:14:14: fatal error: faiss/IndexPQ.h: No such file or directory [INFO] [stderr] cargo:warning= #include [INFO] [stderr] cargo:warning= ^~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: ToolExecError: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/workdir" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/faiss4rs-a5a46a02396c06a7/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/faiss4rs-a5a46a02396c06a7/out/rust_cpp/cpp_closures.cpp" with args "c++" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "6b79bb56e89d5e03eb964d1ba25cecf6c2ba90651a5201a2805400be36e07868"` [INFO] running `"docker" "rm" "-f" "6b79bb56e89d5e03eb964d1ba25cecf6c2ba90651a5201a2805400be36e07868"` [INFO] [stdout] 6b79bb56e89d5e03eb964d1ba25cecf6c2ba90651a5201a2805400be36e07868