2024-06-24T19:40:21,301 Created temporary directory: /tmp/pip-build-tracker-zk6a38mq 2024-06-24T19:40:21,302 Initialized build tracking at /tmp/pip-build-tracker-zk6a38mq 2024-06-24T19:40:21,302 Created build tracker: /tmp/pip-build-tracker-zk6a38mq 2024-06-24T19:40:21,303 Entered build tracker: /tmp/pip-build-tracker-zk6a38mq 2024-06-24T19:40:21,303 Created temporary directory: /tmp/pip-wheel-v5zw0zvx 2024-06-24T19:40:21,307 Created temporary directory: /tmp/pip-ephem-wheel-cache-8hpon75s 2024-06-24T19:40:21,329 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-24T19:40:21,333 2 location(s) to search for versions of torch-lib-with-rust: 2024-06-24T19:40:21,333 * https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,333 * https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,334 Fetching project page and analyzing links: https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,335 Getting page https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,336 Found index url https://pypi.org/simple/ 2024-06-24T19:40:21,554 Fetched page https://pypi.org/simple/torch-lib-with-rust/ as application/vnd.pypi.simple.v1+json 2024-06-24T19:40:21,556 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-24T19:40:21,556 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-24T19:40:21,557 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,558 Getting page https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,559 Found index url https://www.piwheels.org/simple/ 2024-06-24T19:40:21,723 Fetched page https://www.piwheels.org/simple/torch-lib-with-rust/ as text/html 2024-06-24T19:40:21,724 Skipping link: not a file: https://www.piwheels.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,725 Skipping link: not a file: https://pypi.org/simple/torch-lib-with-rust/ 2024-06-24T19:40:21,746 Given no hashes to check 1 links for project 'torch-lib-with-rust': discarding no candidates 2024-06-24T19:40:21,765 Collecting torch-lib-with-rust==0.1.1 2024-06-24T19:40:21,767 Created temporary directory: /tmp/pip-unpack-jgega2p_ 2024-06-24T19:40:21,982 Downloading torch_lib_with_rust-0.1.1.tar.gz (7.9 kB) 2024-06-24T19:40:22,002 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-zk6a38mq' 2024-06-24T19:40:22,006 Created temporary directory: /tmp/pip-build-env-y9k7_3q9 2024-06-24T19:40:22,011 Installing build dependencies: started 2024-06-24T19:40:22,012 Running command pip subprocess to install build dependencies 2024-06-24T19:40:23,151 Using pip 24.0 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11) 2024-06-24T19:40:23,687 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-06-24T19:40:24,854 Collecting maturin<2.0,>=1.0 2024-06-24T19:40:24,873 Using cached https://www.piwheels.org/simple/maturin/maturin-1.6.0-cp311-cp311-linux_armv7l.whl (5.5 MB) 2024-06-24T19:40:27,384 Installing collected packages: maturin 2024-06-24T19:40:27,807 Successfully installed maturin-1.6.0 2024-06-24T19:40:28,120 [notice] A new release of pip is available: 24.0 -> 24.1 2024-06-24T19:40:28,121 [notice] To update, run: python3 -m pip install --upgrade pip 2024-06-24T19:40:28,404 Installing build dependencies: finished with status 'done' 2024-06-24T19:40:28,407 Getting requirements to build wheel: started 2024-06-24T19:40:28,409 Running command Getting requirements to build wheel 2024-06-24T19:40:28,603 Getting requirements to build wheel: finished with status 'done' 2024-06-24T19:40:28,606 Created temporary directory: /tmp/pip-modern-metadata-4djfgqbu 2024-06-24T19:40:28,608 Preparing metadata (pyproject.toml): started 2024-06-24T19:40:28,610 Running command Preparing metadata (pyproject.toml) 2024-06-24T19:40:29,236 Updating crates.io index 2024-06-24T19:40:31,178 Downloading crates ... 2024-06-24T19:40:31,452 Downloaded safetensors v0.3.3 2024-06-24T19:40:31,541 Downloaded torch-sys v0.16.0 2024-06-24T19:40:31,676 Downloaded tch v0.16.0 2024-06-24T19:40:33,003 Downloaded pyo3-tch v0.16.0 2024-06-24T19:40:33,083 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8 2024-06-24T19:40:33,419 🐍 Not using a specific python interpreter 2024-06-24T19:40:33,419 📡 Using build options features, compatibility from pyproject.toml 2024-06-24T19:40:33,429 torch_lib_with_rust-0.1.1.dist-info 2024-06-24T19:40:33,430 Checking for Rust toolchain.... 2024-06-24T19:40:33,430 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-4djfgqbu --interpreter /usr/bin/python3` 2024-06-24T19:40:33,453 Preparing metadata (pyproject.toml): finished with status 'done' 2024-06-24T19:40:33,458 Source in /tmp/pip-wheel-v5zw0zvx/torch-lib-with-rust_010eb7e7ca9340f7a64b060dc2200ccf 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-24T19:40:33,459 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-zk6a38mq' 2024-06-24T19:40:33,462 Created temporary directory: /tmp/pip-unpack-94k4_u_2 2024-06-24T19:40:33,463 Created temporary directory: /tmp/pip-unpack-cnt3fzoz 2024-06-24T19:40:33,469 Building wheels for collected packages: torch-lib-with-rust 2024-06-24T19:40:33,473 Created temporary directory: /tmp/pip-wheel-1mgd965j 2024-06-24T19:40:33,474 Destination directory: /tmp/pip-wheel-1mgd965j 2024-06-24T19:40:33,476 Building wheel for torch-lib-with-rust (pyproject.toml): started 2024-06-24T19:40:33,477 Running command Building wheel for torch-lib-with-rust (pyproject.toml) 2024-06-24T19:40:33,642 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2024-06-24T19:40:34,228 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8 2024-06-24T19:40:34,560 🐍 Not using a specific python interpreter 2024-06-24T19:40:34,561 📡 Using build options features from pyproject.toml 2024-06-24T19:40:35,325 Compiling libc v0.2.155 2024-06-24T19:40:35,326 Compiling once_cell v1.19.0 2024-06-24T19:40:35,327 Compiling typenum v1.17.0 2024-06-24T19:40:35,327 Compiling version_check v0.9.4 2024-06-24T19:40:36,715 Compiling pkg-config v0.3.30 2024-06-24T19:40:37,916 Compiling generic-array v0.14.7 2024-06-24T19:40:38,872 Compiling autocfg v1.3.0 2024-06-24T19:40:42,244 Compiling cfg-if v1.0.0 2024-06-24T19:40:42,395 Compiling zstd-safe v5.0.2+zstd.1.5.2 2024-06-24T19:40:43,526 Compiling subtle v2.6.0 2024-06-24T19:40:44,441 Compiling proc-macro2 v1.0.86 2024-06-24T19:40:48,139 Compiling jobserver v0.1.31 2024-06-24T19:40:51,715 Compiling cc v1.0.100 2024-06-24T19:40:51,818 Compiling crypto-common v0.1.6 2024-06-24T19:40:51,951 Compiling block-buffer v0.10.4 2024-06-24T19:40:52,339 Compiling unicode-ident v1.0.12 2024-06-24T19:40:52,592 Compiling target-lexicon v0.12.14 2024-06-24T19:40:52,595 Compiling crossbeam-utils v0.8.20 2024-06-24T19:40:54,133 Compiling digest v0.10.7 2024-06-24T19:40:59,115 Compiling quote v1.0.36 2024-06-24T19:40:59,986 Compiling pyo3-build-config v0.21.2 2024-06-24T19:41:02,040 Compiling syn v2.0.68 2024-06-24T19:41:02,880 Compiling inout v0.1.3 2024-06-24T19:41:03,520 Compiling base64ct v1.6.0 2024-06-24T19:41:05,785 Compiling powerfmt v0.2.0 2024-06-24T19:41:07,314 Compiling rand_core v0.6.4 2024-06-24T19:41:07,420 Compiling adler v1.0.2 2024-06-24T19:41:08,018 Compiling miniz_oxide v0.7.4 2024-06-24T19:41:08,353 Compiling password-hash v0.4.2 2024-06-24T19:41:09,653 Compiling zstd-sys v2.0.11+zstd.1.5.6 2024-06-24T19:41:11,847 Compiling bzip2-sys v0.1.11+1.0.8 2024-06-24T19:41:14,682 Compiling deranged v0.3.11 2024-06-24T19:41:17,847 Compiling cipher v0.4.4 2024-06-24T19:41:19,998 Compiling hmac v0.12.1 2024-06-24T19:41:20,605 Compiling sha2 v0.10.8 2024-06-24T19:41:22,736 Compiling crc32fast v1.4.2 2024-06-24T19:41:23,488 Compiling num-conv v0.1.0 2024-06-24T19:41:23,719 Compiling anyhow v1.0.86 2024-06-24T19:41:24,666 Compiling time-core v0.1.2 2024-06-24T19:41:25,050 Compiling time v0.3.36 2024-06-24T19:41:25,665 Compiling flate2 v1.0.30 2024-06-24T19:41:34,041 Compiling pbkdf2 v0.11.0 2024-06-24T19:41:34,616 Compiling aes v0.8.4 2024-06-24T19:41:35,189 Compiling bzip2 v0.4.4 2024-06-24T19:41:37,640 Compiling sha1 v0.10.6 2024-06-24T19:41:38,555 Compiling constant_time_eq v0.1.5 2024-06-24T19:41:39,779 Compiling byteorder v1.5.0 2024-06-24T19:41:44,971 Compiling getrandom v0.2.15 2024-06-24T19:41:48,278 Compiling num-traits v0.2.19 2024-06-24T19:41:49,351 Compiling serde v1.0.203 2024-06-24T19:41:59,639 Compiling serde_derive v1.0.203 2024-06-24T19:42:01,649 Compiling pyo3-ffi v0.21.2 2024-06-24T19:42:06,139 Compiling zstd v0.11.2+zstd.1.5.2 2024-06-24T19:42:08,082 Compiling zip v0.6.6 2024-06-24T19:42:15,330 Compiling torch-sys v0.16.0 2024-06-24T19:42:19,395 error: failed to run custom build command for `torch-sys v0.16.0` 2024-06-24T19:42:19,397 Caused by: 2024-06-24T19:42:19,398 process didn't exit successfully: `/tmp/pip-wheel-v5zw0zvx/torch-lib-with-rust_010eb7e7ca9340f7a64b060dc2200ccf/target/release/build/torch-sys-f20101916795c956/build-script-build` (exit status: 1) 2024-06-24T19:42:19,400 --- stdout 2024-06-24T19:42:19,401 cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH 2024-06-24T19:42:19,403 cargo:rerun-if-env-changed=LIBTORCH 2024-06-24T19:42:19,405 --- stderr 2024-06-24T19:42:19,407 Error: 2024-06-24T19:42:19,408 Cannot find a libtorch install, you can either: 2024-06-24T19:42:19,409 - Install libtorch manually and set the LIBTORCH environment variable to appropriate path. 2024-06-24T19:42:19,410 - Use a system wide install in /usr/lib/libtorch.so. 2024-06-24T19:42:19,411 - Use a Python environment with PyTorch installed by setting LIBTORCH_USE_PYTORCH=1 2024-06-24T19:42:19,413 See the readme for more details: 2024-06-24T19:42:19,414 https://github.com/LaurentMazare/tch-rs/blob/main/README.md 2024-06-24T19:42:19,416 warning: build failed, waiting for other jobs to finish... 2024-06-24T19:43:08,635 💥 maturin failed 2024-06-24T19:43:08,636 Caused by: Failed to build a native library through cargo 2024-06-24T19:43:08,636 Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-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-v5zw0zvx/torch-lib-with-rust_010eb7e7ca9340f7a64b060dc2200ccf/Cargo.toml" "--release" "--lib"` 2024-06-24T19:43:08,637 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2024-06-24T19:43:08,661 ERROR: Building wheel for torch-lib-with-rust (pyproject.toml) exited with 1 2024-06-24T19:43:08,674 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmps69b0udx[/] 2024-06-24T19:43:08,675 [bold magenta]cwd[/]: /tmp/pip-wheel-v5zw0zvx/torch-lib-with-rust_010eb7e7ca9340f7a64b060dc2200ccf 2024-06-24T19:43:08,676 Building wheel for torch-lib-with-rust (pyproject.toml): finished with status 'error' 2024-06-24T19:43:08,678 ERROR: Failed building wheel for torch-lib-with-rust 2024-06-24T19:43:08,681 Failed to build torch-lib-with-rust 2024-06-24T19:43:08,682 ERROR: Failed to build one or more wheels 2024-06-24T19:43:08,683 Exception information: 2024-06-24T19:43:08,683 Traceback (most recent call last): 2024-06-24T19:43:08,683 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-06-24T19:43:08,683 status = run_func(*args) 2024-06-24T19:43:08,683 ^^^^^^^^^^^^^^^ 2024-06-24T19:43:08,683 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-06-24T19:43:08,683 return func(self, options, args) 2024-06-24T19:43:08,683 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-24T19:43:08,683 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2024-06-24T19:43:08,683 raise CommandError("Failed to build one or more wheels") 2024-06-24T19:43:08,683 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2024-06-24T19:43:08,688 Removed build tracker: '/tmp/pip-build-tracker-zk6a38mq'