Build #1395590 2024-10-17T17:09:21.138348+00:00
# rustc version
rustc 1.84.0-nightly (798fb83f7 2024-10-16)# docs.rs version
docsrs 0.6.0 (1943e684 2024-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/pyo3-tch-0.18.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/pyo3-tch-0.18.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241016-1.84.0-nightly-798fb83f7\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", 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] 354a35f673ec4269e68ad3c2e00879d42b6e2e8ac93052694dfab07c7ec96ff4
[INFO] running `Command { std: "docker" "start" "-a" "354a35f673ec4269e68ad3c2e00879d42b6e2e8ac93052694dfab07c7ec96ff4", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling torch-sys v0.18.0
[INFO] [stderr] error: failed to run custom build command for `torch-sys v0.18.0`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-6edd8f4a337ce086/build-script-build` (exit status: 1)
[INFO] [stderr] --- stdout
[INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH
[INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH
[INFO] [stderr]
[INFO] [stderr] --- stderr
[INFO] [stderr] Error:
[INFO] [stderr] Cannot find a libtorch install, you can either:
[INFO] [stderr] - Install libtorch manually and set the LIBTORCH environment variable to appropriate path.
[INFO] [stderr] - Use a system wide install in /usr/lib/libtorch.so.
[INFO] [stderr] - Use a Python environment with PyTorch installed by setting LIBTORCH_USE_PYTORCH=1
[INFO] [stderr]
[INFO] [stderr] See the readme for more details:
[INFO] [stderr] https://github.com/LaurentMazare/tch-rs/blob/main/README.md
[INFO] [stderr]
[INFO] running `Command { std: "docker" "inspect" "354a35f673ec4269e68ad3c2e00879d42b6e2e8ac93052694dfab07c7ec96ff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "354a35f673ec4269e68ad3c2e00879d42b6e2e8ac93052694dfab07c7ec96ff4", kill_on_drop: false }`
[INFO] [stdout] 354a35f673ec4269e68ad3c2e00879d42b6e2e8ac93052694dfab07c7ec96ff4