[INFO] fetching crate faiss4rs 1.6.304... [INFO] checking faiss4rs-1.6.304 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate faiss4rs 1.6.304 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate faiss4rs 1.6.304 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate faiss4rs 1.6.304 [INFO] finished tweaking crates.io crate faiss4rs 1.6.304 [INFO] tweaked toml for crates.io crate faiss4rs 1.6.304 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e1907ba0634a2903309a286621d798ff4740e00714af8ae47541b6e8c01f0cbd [INFO] running `"docker" "start" "-a" "e1907ba0634a2903309a286621d798ff4740e00714af8ae47541b6e8c01f0cbd"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling if_rust_version v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling thread_local v1.0.1 [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 aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling cpp_common v0.5.4 [INFO] [stderr] Compiling cpp_build v0.5.4 [INFO] [stderr] Compiling cpp_macros v0.5.4 [INFO] [stderr] Compiling faiss4rs v1.6.304 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/lib.rs:9:14: fatal error: faiss/index_factory.h: No such file or directory [INFO] [stderr] warning: 9 | #include [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `faiss4rs v1.6.304 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/faiss4rs-4f64f06b22da22ee/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-search=faiss/ [INFO] [stderr] cargo:rustc-link-search=/opt/rustwide/target/debug/deps [INFO] [stderr] cargo:rustc-link-search=/opt/rustwide/rustup-home/toolchains/d7b51666469c792a8a3f40849607739bae1e705e/lib [INFO] [stderr] cargo:rustc-link-search=/opt/rustwide/rustup-home/toolchains/d7b51666469c792a8a3f40849607739bae1e705e/lib [INFO] [stderr] cargo:rustc-link-lib=static=faiss [INFO] [stderr] cargo:rustc-link-lib=gomp [INFO] [stderr] cargo:rustc-link-lib=blas [INFO] [stderr] cargo:rustc-link-lib=lapack [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-6bb2227629cce32e/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/faiss4rs-6bb2227629cce32e/out/rust_cpp/cpp_closures.cpp" [INFO] [stderr] cargo:warning=src/lib.rs:9:14: fatal error: faiss/index_factory.h: No such file or directory [INFO] [stderr] cargo:warning= 9 | #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-6bb2227629cce32e/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/faiss4rs-6bb2227629cce32e/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" "e1907ba0634a2903309a286621d798ff4740e00714af8ae47541b6e8c01f0cbd"` [INFO] running `"docker" "rm" "-f" "e1907ba0634a2903309a286621d798ff4740e00714af8ae47541b6e8c01f0cbd"` [INFO] [stdout] e1907ba0634a2903309a286621d798ff4740e00714af8ae47541b6e8c01f0cbd