2024-06-24T21:44:35,962 Created temporary directory: /tmp/pip-build-tracker-1hz00xwm 2024-06-24T21:44:35,964 Initialized build tracking at /tmp/pip-build-tracker-1hz00xwm 2024-06-24T21:44:35,964 Created build tracker: /tmp/pip-build-tracker-1hz00xwm 2024-06-24T21:44:35,964 Entered build tracker: /tmp/pip-build-tracker-1hz00xwm 2024-06-24T21:44:35,965 Created temporary directory: /tmp/pip-wheel-bv24lmp9 2024-06-24T21:44:35,969 Created temporary directory: /tmp/pip-ephem-wheel-cache-7jb8n9mz 2024-06-24T21:44:35,996 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-24T21:44:35,999 2 location(s) to search for versions of torch-lib-with-rust: 2024-06-24T21:44:35,999 * https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:35,999 * https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,000 Fetching project page and analyzing links: https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,001 Getting page https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,002 Found index url https://pypi.org/simple/ 2024-06-24T21:44:36,056 Fetched page https://pypi.org/simple/torch-lib-with-rust/ as application/vnd.pypi.simple.v1+json 2024-06-24T21:44:36,057 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-24T21:44:36,057 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-24T21:44:36,058 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,058 Getting page https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,059 Found index url https://www.piwheels.org/simple/ 2024-06-24T21:44:36,140 Fetched page https://www.piwheels.org/simple/torch-lib-with-rust/ as text/html 2024-06-24T21:44:36,141 Skipping link: not a file: https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,141 Skipping link: not a file: https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T21:44:36,158 Given no hashes to check 1 links for project 'torch-lib-with-rust': discarding no candidates 2024-06-24T21:44:36,175 Collecting torch-lib-with-rust==0.1.1 2024-06-24T21:44:36,177 Created temporary directory: /tmp/pip-unpack-nzobmjl5 2024-06-24T21:44:36,221 Downloading torch_lib_with_rust-0.1.1.tar.gz (7.9 kB) 2024-06-24T21:44:36,241 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-1hz00xwm' 2024-06-24T21:44:36,245 Created temporary directory: /tmp/pip-build-env-ka0ploh2 2024-06-24T21:44:36,255 Installing build dependencies: started 2024-06-24T21:44:36,256 Running command pip subprocess to install build dependencies 2024-06-24T21:44:37,449 Using pip 24.0 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2024-06-24T21:44:37,966 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-24T21:44:39,044 Collecting maturin<2.0,>=1.0 2024-06-24T21:44:39,062 Using cached https://www.piwheels.org/simple/maturin/maturin-1.6.0-cp39-cp39-linux_armv7l.whl (5.5 MB) 2024-06-24T21:44:39,350 Collecting tomli>=1.1.0 (from maturin<2.0,>=1.0) 2024-06-24T21:44:39,366 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2024-06-24T21:44:40,828 Installing collected packages: tomli, maturin 2024-06-24T21:44:41,291 Successfully installed maturin-1.6.0 tomli-2.0.1 2024-06-24T21:44:41,472 [notice] A new release of pip is available: 24.0 -> 24.1 2024-06-24T21:44:41,473 [notice] To update, run: python3 -m pip install --upgrade pip 2024-06-24T21:44:41,750 Installing build dependencies: finished with status 'done' 2024-06-24T21:44:41,755 Getting requirements to build wheel: started 2024-06-24T21:44:41,756 Running command Getting requirements to build wheel 2024-06-24T21:44:41,952 Getting requirements to build wheel: finished with status 'done' 2024-06-24T21:44:41,957 Created temporary directory: /tmp/pip-modern-metadata-65y4zarg 2024-06-24T21:44:41,959 Preparing metadata (pyproject.toml): started 2024-06-24T21:44:41,960 Running command Preparing metadata (pyproject.toml) 2024-06-24T21:44:42,574 Updating crates.io index 2024-06-24T21:44:44,344 Downloading crates ... 2024-06-24T21:44:44,520 Downloaded pyo3-tch v0.16.0 2024-06-24T21:44:44,598 Downloaded safetensors v0.3.3 2024-06-24T21:44:44,618 Downloaded torch-sys v0.16.0 2024-06-24T21:44:44,705 Downloaded tch v0.16.0 2024-06-24T21:44:46,005 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8 2024-06-24T21:44:46,340 🐍 Not using a specific python interpreter 2024-06-24T21:44:46,341 📡 Using build options features, compatibility from pyproject.toml 2024-06-24T21:44:46,351 torch_lib_with_rust-0.1.1.dist-info 2024-06-24T21:44:46,351 Checking for Rust toolchain.... 2024-06-24T21:44:46,352 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-65y4zarg --interpreter /usr/bin/python3` 2024-06-24T21:44:46,371 Preparing metadata (pyproject.toml): finished with status 'done' 2024-06-24T21:44:46,377 Source in /tmp/pip-wheel-bv24lmp9/torch-lib-with-rust_1eda944745bf4f878e3b22acbd0313f2 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-24T21:44:46,377 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-1hz00xwm' 2024-06-24T21:44:46,381 Created temporary directory: /tmp/pip-unpack-qyk0xqg5 2024-06-24T21:44:46,382 Created temporary directory: /tmp/pip-unpack-hueemhd3 2024-06-24T21:44:46,388 Building wheels for collected packages: torch-lib-with-rust 2024-06-24T21:44:46,392 Created temporary directory: /tmp/pip-wheel-dpocfvfp 2024-06-24T21:44:46,392 Destination directory: /tmp/pip-wheel-dpocfvfp 2024-06-24T21:44:46,395 Building wheel for torch-lib-with-rust (pyproject.toml): started 2024-06-24T21:44:46,396 Running command Building wheel for torch-lib-with-rust (pyproject.toml) 2024-06-24T21:44:46,586 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2024-06-24T21:44:47,138 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8 2024-06-24T21:44:47,461 🐍 Not using a specific python interpreter 2024-06-24T21:44:47,461 📡 Using build options features from pyproject.toml 2024-06-24T21:44:48,206 Compiling libc v0.2.155 2024-06-24T21:44:48,206 Compiling once_cell v1.19.0 2024-06-24T21:44:48,207 Compiling typenum v1.17.0 2024-06-24T21:44:48,207 Compiling version_check v0.9.4 2024-06-24T21:44:49,581 Compiling pkg-config v0.3.30 2024-06-24T21:44:50,799 Compiling generic-array v0.14.7 2024-06-24T21:44:52,070 Compiling autocfg v1.3.0 2024-06-24T21:44:55,388 Compiling cfg-if v1.0.0 2024-06-24T21:44:55,535 Compiling zstd-safe v5.0.2+zstd.1.5.2 2024-06-24T21:44:56,879 Compiling subtle v2.6.0 2024-06-24T21:44:57,763 Compiling proc-macro2 v1.0.86 2024-06-24T21:44:59,942 Compiling jobserver v0.1.31 2024-06-24T21:45:03,634 Compiling cc v1.0.100 2024-06-24T21:45:04,917 Compiling crypto-common v0.1.6 2024-06-24T21:45:05,373 Compiling block-buffer v0.10.4 2024-06-24T21:45:05,553 Compiling crossbeam-utils v0.8.20 2024-06-24T21:45:06,003 Compiling unicode-ident v1.0.12 2024-06-24T21:45:06,400 Compiling target-lexicon v0.12.14 2024-06-24T21:45:10,434 Compiling digest v0.10.7 2024-06-24T21:45:12,149 Compiling quote v1.0.36 2024-06-24T21:45:14,663 Compiling syn v2.0.68 2024-06-24T21:45:14,971 Compiling inout v0.1.3 2024-06-24T21:45:15,559 Compiling adler v1.0.2 2024-06-24T21:45:16,122 Compiling powerfmt v0.2.0 2024-06-24T21:45:16,744 Compiling pyo3-build-config v0.21.2 2024-06-24T21:45:17,702 Compiling base64ct v1.6.0 2024-06-24T21:45:19,917 Compiling rand_core v0.6.4 2024-06-24T21:45:20,749 Compiling zstd-sys v2.0.11+zstd.1.5.6 2024-06-24T21:45:21,093 Compiling bzip2-sys v0.1.11+1.0.8 2024-06-24T21:45:24,940 Compiling password-hash v0.4.2 2024-06-24T21:45:27,255 Compiling deranged v0.3.11 2024-06-24T21:45:27,932 Compiling miniz_oxide v0.7.4 2024-06-24T21:45:33,976 Compiling cipher v0.4.4 2024-06-24T21:45:36,086 Compiling sha2 v0.10.8 2024-06-24T21:45:36,570 Compiling hmac v0.12.1 2024-06-24T21:45:37,176 Compiling crc32fast v1.4.2 2024-06-24T21:45:37,894 Compiling anyhow v1.0.86 2024-06-24T21:45:38,483 Compiling num-conv v0.1.0 2024-06-24T21:45:39,679 Compiling time-core v0.1.2 2024-06-24T21:45:40,143 Compiling time v0.3.36 2024-06-24T21:45:40,158 Compiling flate2 v1.0.30 2024-06-24T21:45:44,160 Compiling pbkdf2 v0.11.0 2024-06-24T21:45:48,968 Compiling aes v0.8.4 2024-06-24T21:45:50,322 Compiling bzip2 v0.4.4 2024-06-24T21:45:51,981 Compiling sha1 v0.10.6 2024-06-24T21:45:52,762 Compiling constant_time_eq v0.1.5 2024-06-24T21:45:54,044 Compiling byteorder v1.5.0 2024-06-24T21:45:59,748 Compiling getrandom v0.2.15 2024-06-24T21:46:02,931 Compiling num-traits v0.2.19 2024-06-24T21:46:04,246 Compiling serde v1.0.203 2024-06-24T21:46:11,541 Compiling zstd v0.11.2+zstd.1.5.2 2024-06-24T21:46:11,814 Compiling serde_derive v1.0.203 2024-06-24T21:46:14,968 Compiling zip v0.6.6 2024-06-24T21:46:16,310 Compiling pyo3-ffi v0.21.2 2024-06-24T21:46:22,655 Compiling torch-sys v0.16.0 2024-06-24T21:46:27,125 error: failed to run custom build command for `torch-sys v0.16.0` 2024-06-24T21:46:27,126 Caused by: 2024-06-24T21:46:27,126 process didn't exit successfully: `/tmp/pip-wheel-bv24lmp9/torch-lib-with-rust_1eda944745bf4f878e3b22acbd0313f2/target/release/build/torch-sys-f20101916795c956/build-script-build` (exit status: 1) 2024-06-24T21:46:27,127 --- stdout 2024-06-24T21:46:27,127 cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH 2024-06-24T21:46:27,127 cargo:rerun-if-env-changed=LIBTORCH 2024-06-24T21:46:27,128 --- stderr 2024-06-24T21:46:27,128 Error: 2024-06-24T21:46:27,128 Cannot find a libtorch install, you can either: 2024-06-24T21:46:27,128 - Install libtorch manually and set the LIBTORCH environment variable to appropriate path. 2024-06-24T21:46:27,129 - Use a system wide install in /usr/lib/libtorch.so. 2024-06-24T21:46:27,129 - Use a Python environment with PyTorch installed by setting LIBTORCH_USE_PYTORCH=1 2024-06-24T21:46:27,129 See the readme for more details: 2024-06-24T21:46:27,129 https://github.com/LaurentMazare/tch-rs/blob/main/README.md 2024-06-24T21:46:27,130 warning: build failed, waiting for other jobs to finish... 2024-06-24T21:47:15,021 💥 maturin failed 2024-06-24T21:47:15,022 Caused by: Failed to build a native library through cargo 2024-06-24T21:47:15,022 Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.9-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-bv24lmp9/torch-lib-with-rust_1eda944745bf4f878e3b22acbd0313f2/Cargo.toml" "--release" "--lib"` 2024-06-24T21:47:15,023 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2024-06-24T21:47:15,044 ERROR: Building wheel for torch-lib-with-rust (pyproject.toml) exited with 1 2024-06-24T21:47:15,062 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmphnxvr12x[/] 2024-06-24T21:47:15,062 [bold magenta]cwd[/]: /tmp/pip-wheel-bv24lmp9/torch-lib-with-rust_1eda944745bf4f878e3b22acbd0313f2 2024-06-24T21:47:15,062 Building wheel for torch-lib-with-rust (pyproject.toml): finished with status 'error' 2024-06-24T21:47:15,064 ERROR: Failed building wheel for torch-lib-with-rust 2024-06-24T21:47:15,067 Failed to build torch-lib-with-rust 2024-06-24T21:47:15,068 ERROR: Failed to build one or more wheels 2024-06-24T21:47:15,069 Exception information: 2024-06-24T21:47:15,069 Traceback (most recent call last): 2024-06-24T21:47:15,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-06-24T21:47:15,069 status = run_func(*args) 2024-06-24T21:47:15,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-06-24T21:47:15,069 return func(self, options, args) 2024-06-24T21:47:15,069 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2024-06-24T21:47:15,069 raise CommandError("Failed to build one or more wheels") 2024-06-24T21:47:15,069 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2024-06-24T21:47:15,072 Removed build tracker: '/tmp/pip-build-tracker-1hz00xwm'