2024-04-28T00:31:45,501 Created temporary directory: /tmp/pip-build-tracker-ek7ljykk 2024-04-28T00:31:45,502 Initialized build tracking at /tmp/pip-build-tracker-ek7ljykk 2024-04-28T00:31:45,502 Created build tracker: /tmp/pip-build-tracker-ek7ljykk 2024-04-28T00:31:45,503 Entered build tracker: /tmp/pip-build-tracker-ek7ljykk 2024-04-28T00:31:45,504 Created temporary directory: /tmp/pip-wheel-24vodk2n 2024-04-28T00:31:45,507 Created temporary directory: /tmp/pip-ephem-wheel-cache-_vg6jxem 2024-04-28T00:31:45,535 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-04-28T00:31:45,540 2 location(s) to search for versions of necs: 2024-04-28T00:31:45,540 * https://pypi.org/simple/necs/ 2024-04-28T00:31:45,540 * https://www.piwheels.org/simple/necs/ 2024-04-28T00:31:45,541 Fetching project page and analyzing links: https://pypi.org/simple/necs/ 2024-04-28T00:31:45,542 Getting page https://pypi.org/simple/necs/ 2024-04-28T00:31:45,544 Found index url https://pypi.org/simple/ 2024-04-28T00:31:45,786 Fetched page https://pypi.org/simple/necs/ as application/vnd.pypi.simple.v1+json 2024-04-28T00:31:45,787 Skipping link: No binaries permitted for necs: https://files.pythonhosted.org/packages/32/ea/b557877aafe88c0e58f69421dc8a93acead119c8a9b4261c65b1d4871756/necs-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/necs/) (requires-python:>=3.11) 2024-04-28T00:31:45,788 Found link https://files.pythonhosted.org/packages/21/3b/0916af2c9a860e37b7d2eb35ff697131c4a720e1a93ca7570547cf4a9919/necs-0.1.0.tar.gz (from https://pypi.org/simple/necs/) (requires-python:>=3.11), version: 0.1.0 2024-04-28T00:31:45,789 Fetching project page and analyzing links: https://www.piwheels.org/simple/necs/ 2024-04-28T00:31:45,790 Getting page https://www.piwheels.org/simple/necs/ 2024-04-28T00:31:45,791 Found index url https://www.piwheels.org/simple/ 2024-04-28T00:31:45,955 Fetched page https://www.piwheels.org/simple/necs/ as text/html 2024-04-28T00:31:45,957 Skipping link: not a file: https://www.piwheels.org/simple/necs/ 2024-04-28T00:31:45,957 Skipping link: not a file: https://pypi.org/simple/necs/ 2024-04-28T00:31:45,976 Given no hashes to check 1 links for project 'necs': discarding no candidates 2024-04-28T00:31:45,994 Collecting necs==0.1.0 2024-04-28T00:31:45,996 Created temporary directory: /tmp/pip-unpack-15g_nd9b 2024-04-28T00:31:46,207 Downloading necs-0.1.0.tar.gz (9.9 kB) 2024-04-28T00:31:46,242 Added necs==0.1.0 from https://files.pythonhosted.org/packages/21/3b/0916af2c9a860e37b7d2eb35ff697131c4a720e1a93ca7570547cf4a9919/necs-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-ek7ljykk' 2024-04-28T00:31:46,247 Created temporary directory: /tmp/pip-build-env-t6xcvbud 2024-04-28T00:31:46,251 Installing build dependencies: started 2024-04-28T00:31:46,252 Running command pip subprocess to install build dependencies 2024-04-28T00:31:47,376 Using pip 24.0 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11) 2024-04-28T00:31:47,877 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-04-28T00:31:49,421 Collecting maturin<0.15,>=0.14 2024-04-28T00:31:50,660 Downloading https://www.piwheels.org/simple/maturin/maturin-0.14.17-cp311-cp311-linux_armv7l.whl (7.2 MB) 2024-04-28T00:31:56,800 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.2/7.2 MB 1.2 MB/s eta 0:00:00 2024-04-28T00:31:59,272 Installing collected packages: maturin 2024-04-28T00:31:59,826 Successfully installed maturin-0.14.17 2024-04-28T00:32:00,347 Installing build dependencies: finished with status 'done' 2024-04-28T00:32:00,350 Getting requirements to build wheel: started 2024-04-28T00:32:00,351 Running command Getting requirements to build wheel 2024-04-28T00:32:00,546 Getting requirements to build wheel: finished with status 'done' 2024-04-28T00:32:00,549 Created temporary directory: /tmp/pip-modern-metadata-tj1zgm6a 2024-04-28T00:32:00,552 Preparing metadata (pyproject.toml): started 2024-04-28T00:32:00,553 Running command Preparing metadata (pyproject.toml) 2024-04-28T00:32:01,378 🍹 Building a mixed python/rust project 2024-04-28T00:32:01,379 🔗 Found pyo3 bindings 2024-04-28T00:32:01,634 🐍 Found CPython 3.11 at /usr/bin/python3 2024-04-28T00:32:01,635 📡 Using build options features from pyproject.toml 2024-04-28T00:32:01,663 necs-0.1.0.dist-info 2024-04-28T00:32:01,664 Checking for Rust toolchain.... 2024-04-28T00:32:01,664 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-tj1zgm6a --interpreter /usr/bin/python3` 2024-04-28T00:32:01,687 Preparing metadata (pyproject.toml): finished with status 'done' 2024-04-28T00:32:01,691 Source in /tmp/pip-wheel-24vodk2n/necs_a8f3646d4983466bbebc063d55e2fd25 has version 0.1.0, which satisfies requirement necs==0.1.0 from https://files.pythonhosted.org/packages/21/3b/0916af2c9a860e37b7d2eb35ff697131c4a720e1a93ca7570547cf4a9919/necs-0.1.0.tar.gz 2024-04-28T00:32:01,692 Removed necs==0.1.0 from https://files.pythonhosted.org/packages/21/3b/0916af2c9a860e37b7d2eb35ff697131c4a720e1a93ca7570547cf4a9919/necs-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-ek7ljykk' 2024-04-28T00:32:01,697 Created temporary directory: /tmp/pip-unpack-zquylhmu 2024-04-28T00:32:01,698 Created temporary directory: /tmp/pip-unpack-obx5afnc 2024-04-28T00:32:01,714 Building wheels for collected packages: necs 2024-04-28T00:32:01,718 Created temporary directory: /tmp/pip-wheel-3lde1l91 2024-04-28T00:32:01,719 Destination directory: /tmp/pip-wheel-3lde1l91 2024-04-28T00:32:01,721 Building wheel for necs (pyproject.toml): started 2024-04-28T00:32:01,722 Running command Building wheel for necs (pyproject.toml) 2024-04-28T00:32:01,887 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2024-04-28T00:32:02,260 🍹 Building a mixed python/rust project 2024-04-28T00:32:02,261 🔗 Found pyo3 bindings 2024-04-28T00:32:02,549 🐍 Found CPython 3.11 at /usr/bin/python3 2024-04-28T00:32:02,550 📡 Using build options features from pyproject.toml 2024-04-28T00:32:02,997 Compiling autocfg v1.1.0 2024-04-28T00:32:02,998 Compiling target-lexicon v0.12.6 2024-04-28T00:32:02,999 Compiling proc-macro2 v1.0.56 2024-04-28T00:32:02,999 Compiling once_cell v1.17.1 2024-04-28T00:32:04,403 Compiling libc v0.2.141 2024-04-28T00:32:04,818 Compiling unicode-ident v1.0.8 2024-04-28T00:32:05,226 Compiling quote v1.0.26 2024-04-28T00:32:05,729 Compiling num-traits v0.2.15 2024-04-28T00:32:06,582 Compiling syn v1.0.109 2024-04-28T00:32:08,100 Compiling lock_api v0.4.9 2024-04-28T00:32:08,879 Compiling parking_lot_core v0.9.7 2024-04-28T00:32:09,477 Compiling pyo3-build-config v0.18.2 2024-04-28T00:32:14,588 Compiling memoffset v0.8.0 2024-04-28T00:32:15,401 Compiling num-integer v0.1.45 2024-04-28T00:32:16,176 Compiling scopeguard v1.1.0 2024-04-28T00:32:16,433 Compiling smallvec v1.10.0 2024-04-28T00:32:18,263 Compiling cfg-if v1.0.0 2024-04-28T00:32:23,744 Compiling rawpointer v0.2.1 2024-04-28T00:32:23,993 Compiling matrixmultiply v0.3.2 2024-04-28T00:32:26,286 Compiling pyo3-ffi v0.18.2 2024-04-28T00:32:27,787 Compiling pyo3 v0.18.2 2024-04-28T00:32:29,344 Compiling parking_lot v0.12.1 2024-04-28T00:32:32,426 Compiling num-complex v0.4.3 2024-04-28T00:32:34,113 Compiling indoc v1.0.9 2024-04-28T00:32:37,552 Compiling unindent v0.1.11 2024-04-28T00:32:38,712 Compiling ndarray v0.15.6 2024-04-28T00:32:39,524 Compiling either v1.8.1 2024-04-28T00:32:39,598 Compiling rustc-hash v1.1.0 2024-04-28T00:32:40,536 Compiling itertools v0.10.5 2024-04-28T00:32:41,274 Compiling pyo3-macros-backend v0.18.2 2024-04-28T00:33:07,021 Compiling pyo3-macros v0.18.2 2024-04-28T00:33:25,678 Compiling numpy v0.18.0 2024-04-28T00:33:41,309 Compiling necs v0.1.0 (/tmp/pip-wheel-24vodk2n/necs_a8f3646d4983466bbebc063d55e2fd25) 2024-04-28T00:33:42,017 error: could not compile `necs` (lib) due to 4 previous errors 2024-04-28T00:33:42,024 💥 maturin failed 2024-04-28T00:33:42,026 Caused by: Failed to build a native library through cargo 2024-04-28T00:33:42,027 Caused by: Cargo build finished with "exit status: 101": `PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" PYO3_PYTHON="/usr/bin/python3" PYTHON_SYS_EXECUTABLE="/usr/bin/python3" "cargo" "rustc" "--release" "--features" "pyo3/extension-module" "--manifest-path" "/tmp/pip-wheel-24vodk2n/necs_a8f3646d4983466bbebc063d55e2fd25/Cargo.toml" "--message-format" "json" "--lib"` 2024-04-28T00:33:42,027 error[E0308]: mismatched types 2024-04-28T00:33:42,028 --> src/lib.rs:68:45 2024-04-28T00:33:42,029 | 2024-04-28T00:33:42,030 68 | let indices = slice.indices(self.indices.len() as i64)?; 2024-04-28T00:33:42,030 | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` 2024-04-28T00:33:42,031 | | 2024-04-28T00:33:42,032 | arguments to this method are incorrect 2024-04-28T00:33:42,032 | 2024-04-28T00:33:42,033 note: method defined here 2024-04-28T00:33:42,034 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/pyo3-0.18.2/src/types/slice.rs:63:12 2024-04-28T00:33:42,035 | 2024-04-28T00:33:42,036 63 | pub fn indices(&self, length: c_long) -> PyResult { 2024-04-28T00:33:42,036 | ^^^^^^^ 2024-04-28T00:33:42,037 help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit 2024-04-28T00:33:42,038 | 2024-04-28T00:33:42,039 68 | let indices = slice.indices((self.indices.len() as i64).try_into().unwrap())?; 2024-04-28T00:33:42,040 | + +++++++++++++++++++++ 2024-04-28T00:33:42,042 error[E0308]: mismatched types 2024-04-28T00:33:42,042 --> src/lib.rs:100:45 2024-04-28T00:33:42,043 | 2024-04-28T00:33:42,044 100 | let indices = slice.indices(self.indices.len() as i64)?; 2024-04-28T00:33:42,044 | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` 2024-04-28T00:33:42,045 | | 2024-04-28T00:33:42,046 | arguments to this method are incorrect 2024-04-28T00:33:42,053 | 2024-04-28T00:33:42,054 note: method defined here 2024-04-28T00:33:42,054 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/pyo3-0.18.2/src/types/slice.rs:63:12 2024-04-28T00:33:42,055 | 2024-04-28T00:33:42,055 63 | pub fn indices(&self, length: c_long) -> PyResult { 2024-04-28T00:33:42,056 | ^^^^^^^ 2024-04-28T00:33:42,056 help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit 2024-04-28T00:33:42,057 | 2024-04-28T00:33:42,057 100 | let indices = slice.indices((self.indices.len() as i64).try_into().unwrap())?; 2024-04-28T00:33:42,058 | + +++++++++++++++++++++ 2024-04-28T00:33:42,059 error[E0308]: mismatched types 2024-04-28T00:33:42,060 --> src/lib.rs:132:45 2024-04-28T00:33:42,060 | 2024-04-28T00:33:42,061 132 | let indices = slice.indices(self.indices.len() as i64)?; 2024-04-28T00:33:42,061 | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` 2024-04-28T00:33:42,062 | | 2024-04-28T00:33:42,062 | arguments to this method are incorrect 2024-04-28T00:33:42,063 | 2024-04-28T00:33:42,063 note: method defined here 2024-04-28T00:33:42,064 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/pyo3-0.18.2/src/types/slice.rs:63:12 2024-04-28T00:33:42,064 | 2024-04-28T00:33:42,065 63 | pub fn indices(&self, length: c_long) -> PyResult { 2024-04-28T00:33:42,065 | ^^^^^^^ 2024-04-28T00:33:42,066 help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit 2024-04-28T00:33:42,066 | 2024-04-28T00:33:42,066 132 | let indices = slice.indices((self.indices.len() as i64).try_into().unwrap())?; 2024-04-28T00:33:42,067 | + +++++++++++++++++++++ 2024-04-28T00:33:42,068 error: aborting due to 3 previous errors 2024-04-28T00:33:42,069 For more information about this error, try `rustc --explain E0308`. 2024-04-28T00:33:42,070 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2024-04-28T00:33:42,071 ERROR: Building wheel for necs (pyproject.toml) exited with 1 2024-04-28T00:33:42,084 [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/tmpnxidw_gw[/] 2024-04-28T00:33:42,085 [bold magenta]cwd[/]: /tmp/pip-wheel-24vodk2n/necs_a8f3646d4983466bbebc063d55e2fd25 2024-04-28T00:33:42,086 Building wheel for necs (pyproject.toml): finished with status 'error' 2024-04-28T00:33:42,088 ERROR: Failed building wheel for necs 2024-04-28T00:33:42,091 Failed to build necs 2024-04-28T00:33:42,092 ERROR: Failed to build one or more wheels 2024-04-28T00:33:42,093 Exception information: 2024-04-28T00:33:42,093 Traceback (most recent call last): 2024-04-28T00:33:42,093 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-04-28T00:33:42,093 status = run_func(*args) 2024-04-28T00:33:42,093 ^^^^^^^^^^^^^^^ 2024-04-28T00:33:42,093 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-04-28T00:33:42,093 return func(self, options, args) 2024-04-28T00:33:42,093 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-04-28T00:33:42,093 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2024-04-28T00:33:42,093 raise CommandError("Failed to build one or more wheels") 2024-04-28T00:33:42,093 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2024-04-28T00:33:42,097 Removed build tracker: '/tmp/pip-build-tracker-ek7ljykk'