2024-06-24T20:40:11,097 Created temporary directory: /tmp/pip-build-tracker-1a3g5ona 2024-06-24T20:40:11,101 Initialized build tracking at /tmp/pip-build-tracker-1a3g5ona 2024-06-24T20:40:11,102 Created build tracker: /tmp/pip-build-tracker-1a3g5ona 2024-06-24T20:40:11,102 Entered build tracker: /tmp/pip-build-tracker-1a3g5ona 2024-06-24T20:40:11,103 Created temporary directory: /tmp/pip-wheel-pah5clbo 2024-06-24T20:40:11,115 Created temporary directory: /tmp/pip-ephem-wheel-cache-0nnr3veb 2024-06-24T20:40:11,184 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-24T20:40:11,201 2 location(s) to search for versions of torch-lib-with-rust: 2024-06-24T20:40:11,201 * https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,201 * https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,204 Fetching project page and analyzing links: https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,205 Getting page https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,209 Found index url https://pypi.org/simple/ 2024-06-24T20:40:11,336 Fetched page https://pypi.org/simple/torch-lib-with-rust/ as application/vnd.pypi.simple.v1+json 2024-06-24T20:40:11,339 Skipping link: No binaries permitted for torch-lib-with-rust: https://files.pythonhosted.org/packages/21/00/6197e8fda63225532eecac56dbf677d2380322d46cdb6d278783f615e86c/torch_lib_with_rust-0.1.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-lib-with-rust/) 2024-06-24T20:40:11,340 Found link https://files.pythonhosted.org/packages/41/b8/e0b07883dec41392e348c37eb28891bd762708e066d4cfa4198f53e3448b/torch_lib_with_rust-0.1.1.tar.gz (from https://pypi.org/simple/torch-lib-with-rust/), version: 0.1.1 2024-06-24T20:40:11,341 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,341 Getting page https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,344 Found index url https://www.piwheels.org/simple/ 2024-06-24T20:40:11,464 Fetched page https://www.piwheels.org/simple/torch-lib-with-rust/ as text/html 2024-06-24T20:40:11,467 Skipping link: not a file: https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,467 Skipping link: not a file: https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T20:40:11,501 Given no hashes to check 1 links for project 'torch-lib-with-rust': discarding no candidates 2024-06-24T20:40:11,534 Collecting torch-lib-with-rust==0.1.1 2024-06-24T20:40:11,539 Created temporary directory: /tmp/pip-unpack-g2agpn_l 2024-06-24T20:40:11,638 Downloading torch_lib_with_rust-0.1.1.tar.gz (7.9 kB) 2024-06-24T20:40:13,633 Added torch-lib-with-rust==0.1.1 from https://files.pythonhosted.org/packages/41/b8/e0b07883dec41392e348c37eb28891bd762708e066d4cfa4198f53e3448b/torch_lib_with_rust-0.1.1.tar.gz to build tracker '/tmp/pip-build-tracker-1a3g5ona' 2024-06-24T20:40:13,643 Created temporary directory: /tmp/pip-build-env-93eeck_u 2024-06-24T20:40:13,676 Installing build dependencies: started 2024-06-24T20:40:13,678 Running command pip subprocess to install build dependencies 2024-06-24T20:40:16,736 Using pip 24.0 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7) 2024-06-24T20:40:17,951 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-24T20:40:20,958 Collecting maturin<2.0,>=1.0 2024-06-24T20:40:20,995 Using cached https://www.piwheels.org/simple/maturin/maturin-1.6.0-cp37-cp37m-linux_armv7l.whl (5.5 MB) 2024-06-24T20:40:21,751 Collecting tomli>=1.1.0 (from maturin<2.0,>=1.0) 2024-06-24T20:40:21,788 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2024-06-24T20:40:25,904 Installing collected packages: tomli, maturin 2024-06-24T20:40:27,223 Successfully installed maturin-1.6.0 tomli-2.0.1 2024-06-24T20:40:28,183 Installing build dependencies: finished with status 'done' 2024-06-24T20:40:28,195 Getting requirements to build wheel: started 2024-06-24T20:40:28,197 Running command Getting requirements to build wheel 2024-06-24T20:40:28,657 Getting requirements to build wheel: finished with status 'done' 2024-06-24T20:40:28,668 Created temporary directory: /tmp/pip-modern-metadata-ars92ozq 2024-06-24T20:40:28,674 Preparing metadata (pyproject.toml): started 2024-06-24T20:40:28,676 Running command Preparing metadata (pyproject.toml) 2024-06-24T20:40:30,135 Updating crates.io index 2024-06-24T20:40:31,351 Downloading crates ... 2024-06-24T20:40:31,912 Downloaded constant_time_eq v0.1.5 2024-06-24T20:40:32,208 Downloaded zstd-safe v5.0.2+zstd.1.5.2 2024-06-24T20:40:32,255 Downloaded torch-sys v0.16.0 2024-06-24T20:40:32,460 Downloaded zstd v0.11.2+zstd.1.5.2 2024-06-24T20:40:32,577 Downloaded zip v0.6.6 2024-06-24T20:40:32,733 Downloaded zstd-sys v2.0.11+zstd.1.5.6 2024-06-24T20:40:33,408 Downloaded sha1 v0.10.6 2024-06-24T20:40:33,470 Downloaded safetensors v0.3.3 2024-06-24T20:40:33,512 Downloaded pyo3-tch v0.16.0 2024-06-24T20:40:33,538 Downloaded pbkdf2 v0.11.0 2024-06-24T20:40:33,634 Downloaded tch v0.16.0 2024-06-24T20:40:38,473 Downloaded password-hash v0.4.2 2024-06-24T20:40:38,683 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8 2024-06-24T20:40:39,564 🐍 Not using a specific python interpreter 2024-06-24T20:40:39,565 📡 Using build options features, compatibility from pyproject.toml 2024-06-24T20:40:39,589 torch_lib_with_rust-0.1.1.dist-info 2024-06-24T20:40:39,589 Checking for Rust toolchain.... 2024-06-24T20:40:39,590 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-ars92ozq --interpreter /usr/bin/python3` 2024-06-24T20:40:39,634 Preparing metadata (pyproject.toml): finished with status 'done' 2024-06-24T20:40:39,649 Source in /tmp/pip-wheel-pah5clbo/torch-lib-with-rust_ad0f6d42e807436b9867e0e540c437a4 has version 0.1.1, which satisfies requirement torch-lib-with-rust==0.1.1 from https://files.pythonhosted.org/packages/41/b8/e0b07883dec41392e348c37eb28891bd762708e066d4cfa4198f53e3448b/torch_lib_with_rust-0.1.1.tar.gz 2024-06-24T20:40:39,651 Removed torch-lib-with-rust==0.1.1 from https://files.pythonhosted.org/packages/41/b8/e0b07883dec41392e348c37eb28891bd762708e066d4cfa4198f53e3448b/torch_lib_with_rust-0.1.1.tar.gz from build tracker '/tmp/pip-build-tracker-1a3g5ona' 2024-06-24T20:40:39,660 Created temporary directory: /tmp/pip-unpack-ytmud0uo 2024-06-24T20:40:39,662 Created temporary directory: /tmp/pip-unpack-dt7ambkg 2024-06-24T20:40:39,677 Building wheels for collected packages: torch-lib-with-rust 2024-06-24T20:40:39,686 Created temporary directory: /tmp/pip-wheel-6dryocsz 2024-06-24T20:40:39,687 Destination directory: /tmp/pip-wheel-6dryocsz 2024-06-24T20:40:39,692 Building wheel for torch-lib-with-rust (pyproject.toml): started 2024-06-24T20:40:39,694 Running command Building wheel for torch-lib-with-rust (pyproject.toml) 2024-06-24T20:40:40,135 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2024-06-24T20:40:41,461 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8 2024-06-24T20:40:42,320 🐍 Not using a specific python interpreter 2024-06-24T20:40:42,321 📡 Using build options features from pyproject.toml 2024-06-24T20:40:44,078 Compiling libc v0.2.155 2024-06-24T20:40:44,078 Compiling once_cell v1.19.0 2024-06-24T20:40:44,079 Compiling typenum v1.17.0 2024-06-24T20:40:44,079 Compiling version_check v0.9.4 2024-06-24T20:40:46,560 Compiling pkg-config v0.3.30 2024-06-24T20:40:48,759 Compiling generic-array v0.14.7 2024-06-24T20:40:51,268 Compiling autocfg v1.3.0 2024-06-24T20:40:56,811 Compiling cfg-if v1.0.0 2024-06-24T20:40:57,118 Compiling zstd-safe v5.0.2+zstd.1.5.2 2024-06-24T20:41:00,304 Compiling proc-macro2 v1.0.86 2024-06-24T20:41:04,495 Compiling jobserver v0.1.31 2024-06-24T20:41:05,351 Compiling subtle v2.6.0 2024-06-24T20:41:11,019 Compiling cc v1.0.100 2024-06-24T20:41:13,483 Compiling unicode-ident v1.0.12 2024-06-24T20:41:14,268 Compiling crossbeam-utils v0.8.20 2024-06-24T20:41:15,036 Compiling crypto-common v0.1.6 2024-06-24T20:41:15,836 Compiling block-buffer v0.10.4 2024-06-24T20:41:16,915 Compiling target-lexicon v0.12.14 2024-06-24T20:41:17,611 Compiling digest v0.10.7 2024-06-24T20:41:29,423 Compiling quote v1.0.36 2024-06-24T20:41:30,547 Compiling pyo3-build-config v0.21.2 2024-06-24T20:41:33,609 Compiling syn v2.0.68 2024-06-24T20:41:34,543 Compiling inout v0.1.3 2024-06-24T20:41:35,623 Compiling adler v1.0.2 2024-06-24T20:41:36,643 Compiling base64ct v1.6.0 2024-06-24T20:41:40,468 Compiling powerfmt v0.2.0 2024-06-24T20:41:42,223 Compiling zstd-sys v2.0.11+zstd.1.5.6 2024-06-24T20:41:43,514 Compiling bzip2-sys v0.1.11+1.0.8 2024-06-24T20:41:44,459 Compiling rand_core v0.6.4 2024-06-24T20:41:46,369 Compiling password-hash v0.4.2 2024-06-24T20:41:53,246 Compiling deranged v0.3.11 2024-06-24T20:41:55,487 Compiling miniz_oxide v0.7.4 2024-06-24T20:42:06,436 Compiling cipher v0.4.4 2024-06-24T20:42:09,568 Compiling hmac v0.12.1 2024-06-24T20:42:10,412 Compiling sha2 v0.10.8 2024-06-24T20:42:10,823 Compiling crc32fast v1.4.2 2024-06-24T20:42:12,215 Compiling anyhow v1.0.86 2024-06-24T20:42:14,530 Compiling time-core v0.1.2 2024-06-24T20:42:15,255 Compiling num-conv v0.1.0 2024-06-24T20:42:16,429 Compiling pbkdf2 v0.11.0 2024-06-24T20:42:17,357 Compiling time v0.3.36 2024-06-24T20:42:18,686 Compiling flate2 v1.0.30 2024-06-24T20:42:33,355 Compiling aes v0.8.4 2024-06-24T20:42:34,727 Compiling bzip2 v0.4.4 2024-06-24T20:42:38,738 Compiling sha1 v0.10.6 2024-06-24T20:42:40,457 Compiling byteorder v1.5.0 2024-06-24T20:42:45,602 Compiling constant_time_eq v0.1.5 2024-06-24T20:42:52,516 Compiling getrandom v0.2.15 2024-06-24T20:42:58,455 Compiling num-traits v0.2.19 2024-06-24T20:43:01,107 Compiling serde v1.0.203 2024-06-24T20:43:15,595 Compiling serde_derive v1.0.203 2024-06-24T20:43:19,853 Compiling zstd v0.11.2+zstd.1.5.2 2024-06-24T20:43:23,843 Compiling zip v0.6.6 2024-06-24T20:43:24,607 Compiling pyo3-ffi v0.21.2 2024-06-24T20:43:37,387 Compiling torch-sys v0.16.0 2024-06-24T20:43:46,761 error: failed to run custom build command for `torch-sys v0.16.0` 2024-06-24T20:43:46,762 Caused by: 2024-06-24T20:43:46,762 process didn't exit successfully: `/tmp/pip-wheel-pah5clbo/torch-lib-with-rust_ad0f6d42e807436b9867e0e540c437a4/target/release/build/torch-sys-f20101916795c956/build-script-build` (exit status: 1) 2024-06-24T20:43:46,763 --- stdout 2024-06-24T20:43:46,763 cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH 2024-06-24T20:43:46,764 cargo:rerun-if-env-changed=LIBTORCH 2024-06-24T20:43:46,765 --- stderr 2024-06-24T20:43:46,765 Error: 2024-06-24T20:43:46,765 Cannot find a libtorch install, you can either: 2024-06-24T20:43:46,766 - Install libtorch manually and set the LIBTORCH environment variable to appropriate path. 2024-06-24T20:43:46,766 - Use a system wide install in /usr/lib/libtorch.so. 2024-06-24T20:43:46,767 - Use a Python environment with PyTorch installed by setting LIBTORCH_USE_PYTORCH=1 2024-06-24T20:43:46,768 See the readme for more details: 2024-06-24T20:43:46,768 https://github.com/LaurentMazare/tch-rs/blob/main/README.md 2024-06-24T20:43:46,769 warning: build failed, waiting for other jobs to finish... 2024-06-24T20:45:07,861 💥 maturin failed 2024-06-24T20:45:07,862 Caused by: Failed to build a native library through cargo 2024-06-24T20:45:07,863 Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.7-64bit" PYO3_PYTHON="/usr/bin/python3" PYTHON_SYS_EXECUTABLE="/usr/bin/python3" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-wheel-pah5clbo/torch-lib-with-rust_ad0f6d42e807436b9867e0e540c437a4/Cargo.toml" "--release" "--lib"` 2024-06-24T20:45:07,866 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2024-06-24T20:45:07,912 ERROR: Building wheel for torch-lib-with-rust (pyproject.toml) exited with 1 2024-06-24T20:45:07,963 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpr6v17b_b[/] 2024-06-24T20:45:07,964 [bold magenta]cwd[/]: /tmp/pip-wheel-pah5clbo/torch-lib-with-rust_ad0f6d42e807436b9867e0e540c437a4 2024-06-24T20:45:07,964 Building wheel for torch-lib-with-rust (pyproject.toml): finished with status 'error' 2024-06-24T20:45:07,969 ERROR: Failed building wheel for torch-lib-with-rust 2024-06-24T20:45:07,976 Failed to build torch-lib-with-rust 2024-06-24T20:45:07,979 ERROR: Failed to build one or more wheels 2024-06-24T20:45:07,981 Exception information: 2024-06-24T20:45:07,981 Traceback (most recent call last): 2024-06-24T20:45:07,981 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-06-24T20:45:07,981 status = run_func(*args) 2024-06-24T20:45:07,981 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-06-24T20:45:07,981 return func(self, options, args) 2024-06-24T20:45:07,981 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2024-06-24T20:45:07,981 raise CommandError("Failed to build one or more wheels") 2024-06-24T20:45:07,981 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2024-06-24T20:45:07,990 Removed build tracker: '/tmp/pip-build-tracker-1a3g5ona'