2022-03-05T16:32:33,283 Created temporary directory: /tmp/pip-ephem-wheel-cache-r4ab58m5 2022-03-05T16:32:33,288 Created temporary directory: /tmp/pip-req-tracker-f3p686l5 2022-03-05T16:32:33,289 Initialized build tracking at /tmp/pip-req-tracker-f3p686l5 2022-03-05T16:32:33,289 Created build tracker: /tmp/pip-req-tracker-f3p686l5 2022-03-05T16:32:33,290 Entered build tracker: /tmp/pip-req-tracker-f3p686l5 2022-03-05T16:32:33,291 Created temporary directory: /tmp/pip-wheel-0ap2va3r 2022-03-05T16:32:33,359 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-03-05T16:32:33,368 2 location(s) to search for versions of chm-hnsw: 2022-03-05T16:32:33,368 * https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:32:33,368 * https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:32:33,369 Fetching project page and analyzing links: https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:32:33,370 Getting page https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:32:33,374 Found index url https://pypi.org/simple 2022-03-05T16:32:33,484 Found link https://files.pythonhosted.org/packages/94/b3/e885b43e41ab1132500c18fe7fa299fc2a0d926c82ea3ee88fd783fed712/chm_hnsw-0.0.1.tar.gz#sha256=7aabb1a1d09a2bcecad5f9bce026e95b6852ceec544ee749352f5fa1f93a3aec (from https://pypi.org/simple/chm-hnsw/), version: 0.0.1 2022-03-05T16:32:33,485 Found link https://files.pythonhosted.org/packages/0d/fa/8ff855b0c60f33cae6121840f48ec0ee6e4c97556b99c7a10233bc661240/chm_hnsw-0.0.2.tar.gz#sha256=3009fe48eeaa1d64927e0d0913a8a3b951ef0fe8f256d46c009a130e7924f5be (from https://pypi.org/simple/chm-hnsw/), version: 0.0.2 2022-03-05T16:32:33,486 Fetching project page and analyzing links: https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:32:33,487 Getting page https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:32:33,489 Found index url https://www.piwheels.org/simple 2022-03-05T16:32:33,742 Skipping link: not a file: https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:32:33,742 Skipping link: not a file: https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:32:33,776 Given no hashes to check 1 links for project 'chm-hnsw': discarding no candidates 2022-03-05T16:32:33,807 Collecting chm-hnsw==0.0.2 2022-03-05T16:32:33,811 Created temporary directory: /tmp/pip-unpack-l56yz00q 2022-03-05T16:32:33,902 Downloading chm_hnsw-0.0.2.tar.gz (13 kB) 2022-03-05T16:32:34,020 Added chm-hnsw==0.0.2 from https://files.pythonhosted.org/packages/0d/fa/8ff855b0c60f33cae6121840f48ec0ee6e4c97556b99c7a10233bc661240/chm_hnsw-0.0.2.tar.gz#sha256=3009fe48eeaa1d64927e0d0913a8a3b951ef0fe8f256d46c009a130e7924f5be to build tracker '/tmp/pip-req-tracker-f3p686l5' 2022-03-05T16:32:34,039 Created temporary directory: /tmp/pip-build-env-j0pqagfc 2022-03-05T16:32:34,053 Created temporary directory: /tmp/pip-standalone-pip-95y5_lfl 2022-03-05T16:32:36,351 Installing build dependencies: started 2022-03-05T16:32:36,354 Running command pip subprocess to install build dependencies 2022-03-05T16:32:46,401 Using pip 22.0.3 from /tmp/pip-standalone-pip-95y5_lfl/__env_pip__.zip/pip (python 3.7) 2022-03-05T16:32:47,824 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-03-05T16:32:51,744 Collecting setuptools>=42 2022-03-05T16:32:51,984 Using cached https://www.piwheels.org/simple/setuptools/setuptools-60.9.3-py3-none-any.whl (1.1 MB) 2022-03-05T16:32:52,627 Collecting wheel 2022-03-05T16:32:52,662 Using cached https://www.piwheels.org/simple/wheel/wheel-0.37.1-py2.py3-none-any.whl (35 kB) 2022-03-05T16:32:55,177 Link requires a different Python (3.7.3 not in: '>=3.8'): https://files.pythonhosted.org/packages/7a/7f/5384d4c85a2349bd89ff1c0253bff77c7b617e48af201f2d823fc619189a/numpy-1.22.0rc1.zip#sha256=bc991b3f8ea7c0f6703df2bc23c098cfe6f1a3a5e8a3a901eb6a5619275d53ff (from https://pypi.org/simple/numpy/) (requires-python:>=3.8) 2022-03-05T16:32:55,189 Link requires a different Python (3.7.3 not in: '>=3.8'): https://files.pythonhosted.org/packages/a1/4a/8fd68d9a0a9fe5419cdbb697ffc96259fb716bd952c5c64225991add7551/numpy-1.22.0rc2.zip#sha256=01810dc32c5ac4c895b5c0d285497e1eb52038834919f3d2eaddfb9526b20dc9 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8) 2022-03-05T16:32:55,202 Link requires a different Python (3.7.3 not in: '>=3.8'): https://files.pythonhosted.org/packages/17/d4/d3ac79fca81154e8d3e11232967024f480cfdc87dfeef479803716fb20cb/numpy-1.22.0rc3.zip#sha256=0b5642efe2a36f2191102b44bb95ee1479f14c1adb2d7155303e50b2517e43bc (from https://pypi.org/simple/numpy/) (requires-python:>=3.8) 2022-03-05T16:32:55,214 Link requires a different Python (3.7.3 not in: '>=3.8'): https://files.pythonhosted.org/packages/50/e1/9b0c184f04b8cf5f3c941ffa56fbcbe936888bdac9aa7ba6bae405ac752b/numpy-1.22.0.zip#sha256=a955e4128ac36797aaffd49ab44ec74a71c11d6938df83b1285492d277db5397 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8) 2022-03-05T16:32:55,226 Link requires a different Python (3.7.3 not in: '>=3.8'): https://files.pythonhosted.org/packages/0a/c8/a62767a6b374a0dfb02d2a0456e5f56a372cdd1689dbc6ffb6bf1ddedbc0/numpy-1.22.1.zip#sha256=e348ccf5bc5235fc405ab19d53bec215bb373300e5523c7b476cc0da8a5e9973 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8) 2022-03-05T16:32:55,237 Link requires a different Python (3.7.3 not in: '>=3.8'): https://files.pythonhosted.org/packages/e9/6c/c0a8130fe198f27bab92f1b28631e0cc2572295f6b7a31e87efe7448aa1c/numpy-1.22.2.zip#sha256=076aee5a3763d41da6bef9565fdf3cb987606f567cd8b104aded2b38b7b47abf (from https://pypi.org/simple/numpy/) (requires-python:>=3.8) 2022-03-05T16:32:55,934 Collecting numpy>=1.10.0 2022-03-05T16:32:58,344 Using cached https://www.piwheels.org/simple/numpy/numpy-1.21.4-cp37-cp37m-linux_armv7l.whl (12.3 MB) 2022-03-05T16:32:59,881 Collecting pybind11>=2.0 2022-03-05T16:32:59,973 Using cached https://www.piwheels.org/simple/pybind11/pybind11-2.9.1-py2.py3-none-any.whl (211 kB) 2022-03-05T16:33:05,016 Installing collected packages: wheel, setuptools, pybind11, numpy 2022-03-05T16:33:05,285 Creating /tmp/pip-build-env-j0pqagfc/overlay/bin 2022-03-05T16:33:05,289 changing mode of /tmp/pip-build-env-j0pqagfc/overlay/bin/wheel to 755 2022-03-05T16:33:09,394 changing mode of /tmp/pip-build-env-j0pqagfc/overlay/bin/pybind11-config to 755 2022-03-05T16:33:25,288 changing mode of /tmp/pip-build-env-j0pqagfc/overlay/bin/f2py to 755 2022-03-05T16:33:25,292 changing mode of /tmp/pip-build-env-j0pqagfc/overlay/bin/f2py3 to 755 2022-03-05T16:33:25,296 changing mode of /tmp/pip-build-env-j0pqagfc/overlay/bin/f2py3.7 to 755 2022-03-05T16:33:25,378 Successfully installed numpy-1.21.4 pybind11-2.9.1 setuptools-60.9.3 wheel-0.37.1 2022-03-05T16:33:26,078 Installing build dependencies: finished with status 'done' 2022-03-05T16:33:26,104 Getting requirements to build wheel: started 2022-03-05T16:33:26,106 Running command Getting requirements to build wheel 2022-03-05T16:33:29,024 running egg_info 2022-03-05T16:33:29,072 writing manifest file 'chm_hnsw.egg-info/SOURCES.txt' 2022-03-05T16:33:29,264 Getting requirements to build wheel: finished with status 'done' 2022-03-05T16:33:29,287 Created temporary directory: /tmp/pip-modern-metadata-toltmb8o 2022-03-05T16:33:29,293 Preparing metadata (pyproject.toml): started 2022-03-05T16:33:29,295 Running command Preparing metadata (pyproject.toml) 2022-03-05T16:33:32,068 running dist_info 2022-03-05T16:33:32,097 creating /tmp/pip-modern-metadata-toltmb8o/chm_hnsw.egg-info 2022-03-05T16:33:32,111 writing manifest file '/tmp/pip-modern-metadata-toltmb8o/chm_hnsw.egg-info/SOURCES.txt' 2022-03-05T16:33:32,133 writing manifest file '/tmp/pip-modern-metadata-toltmb8o/chm_hnsw.egg-info/SOURCES.txt' 2022-03-05T16:33:32,444 Preparing metadata (pyproject.toml): finished with status 'done' 2022-03-05T16:33:32,457 Source in /tmp/pip-wheel-0ap2va3r/chm-hnsw_420c870a78bf42dba368e66b2a5510ec has version 0.0.2, which satisfies requirement chm-hnsw==0.0.2 from https://files.pythonhosted.org/packages/0d/fa/8ff855b0c60f33cae6121840f48ec0ee6e4c97556b99c7a10233bc661240/chm_hnsw-0.0.2.tar.gz#sha256=3009fe48eeaa1d64927e0d0913a8a3b951ef0fe8f256d46c009a130e7924f5be 2022-03-05T16:33:32,460 Removed chm-hnsw==0.0.2 from https://files.pythonhosted.org/packages/0d/fa/8ff855b0c60f33cae6121840f48ec0ee6e4c97556b99c7a10233bc661240/chm_hnsw-0.0.2.tar.gz#sha256=3009fe48eeaa1d64927e0d0913a8a3b951ef0fe8f256d46c009a130e7924f5be from build tracker '/tmp/pip-req-tracker-f3p686l5' 2022-03-05T16:33:32,468 Created temporary directory: /tmp/pip-unpack-ax3j172z 2022-03-05T16:33:32,470 Building wheels for collected packages: chm-hnsw 2022-03-05T16:33:32,480 Created temporary directory: /tmp/pip-wheel-cva4s0rq 2022-03-05T16:33:32,480 Destination directory: /tmp/pip-wheel-cva4s0rq 2022-03-05T16:33:32,485 Building wheel for chm-hnsw (pyproject.toml): started 2022-03-05T16:33:32,487 Running command Building wheel for chm-hnsw (pyproject.toml) 2022-03-05T16:33:35,495 running bdist_wheel 2022-03-05T16:33:35,503 running build 2022-03-05T16:33:35,503 running build_ext 2022-03-05T16:33:35,520 creating tmp 2022-03-05T16:33:35,521 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -I/usr/include/python3.7m -c /tmp/tmp1455k9_0.cpp -o tmp/tmp1455k9_0.o -std=c++14 2022-03-05T16:33:35,715 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -I/usr/include/python3.7m -c /tmp/tmp8hnkbd3v.cpp -o tmp/tmp8hnkbd3v.o -fvisibility=hidden 2022-03-05T16:33:35,889 creating build 2022-03-05T16:33:35,889 creating build/temp.linux-armv7l-3.7 2022-03-05T16:33:35,890 creating build/temp.linux-armv7l-3.7/src 2022-03-05T16:33:35,891 creating build/temp.linux-armv7l-3.7/src/bindings 2022-03-05T16:33:35,894 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -I/tmp/pip-build-env-j0pqagfc/overlay/lib/python3.7/site-packages/pybind11/include -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I./src/ -I/usr/include/python3.7m -c ./src/bindings/KnnResults.cpp -o build/temp.linux-armv7l-3.7/./src/bindings/KnnResults.o -O3 -march=native -fopenmp -DVERSION_INFO=\"0.0.2\" -std=c++14 -fvisibility=hidden 2022-03-05T16:33:43,465 ./src/bindings/KnnResults.cpp: In function ‘void chm::checkBufInfo(const pybind11::buffer_info&, size_t)’: 2022-03-05T16:33:43,465 ./src/bindings/KnnResults.cpp:15:21: warning: comparison of integer expressions of different signedness: ‘const value_type’ {aka ‘const int’} and ‘const size_t’ {aka ‘const unsigned int’} [-Wsign-compare] 2022-03-05T16:33:43,466 if (buf.shape[1] != dim) 2022-03-05T16:33:43,468 ./src/bindings/KnnResults.cpp: In function ‘void chm::freeWhenDone(void*)’: 2022-03-05T16:33:43,469 ./src/bindings/KnnResults.cpp:23:12: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2022-03-05T16:33:43,469 delete[] d; 2022-03-05T16:33:43,469 ^ 2022-03-05T16:34:54,297 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -I/tmp/pip-build-env-j0pqagfc/overlay/lib/python3.7/site-packages/pybind11/include -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I./src/ -I/usr/include/python3.7m -c ./src/bindings/bindings.cpp -o build/temp.linux-armv7l-3.7/./src/bindings/bindings.o -O3 -march=native -fopenmp -DVERSION_INFO=\"0.0.2\" -std=c++14 -fvisibility=hidden 2022-03-05T16:34:57,248 In file included from ./src/bindings/bindings.cpp:1: 2022-03-05T16:34:57,249 ./src/chm/HnswOptim.hpp: In member function ‘void chm::HnswOptim::searchLowerLayer(const Dist*, size_t, size_t, chm::FarHeap&)’: 2022-03-05T16:34:57,250 ./src/chm/HnswOptim.hpp:198:8: warning: ‘if constexpr’ only available with -std=c++17 or -std=gnu++17 2022-03-05T16:34:57,250 if constexpr(searching) { 2022-03-05T16:34:57,250 ^~~~~~~~~ 2022-03-05T16:34:57,251 ./src/chm/HnswOptim.hpp: In member function ‘void chm::HnswOptim::selectNeighborsHeuristic(size_t)’: 2022-03-05T16:34:57,251 ./src/chm/HnswOptim.hpp:271:34: error: ‘as_const’ is not a member of ‘std’ 2022-03-05T16:34:57,252 for(const auto& rNode : std::as_const(R)) 2022-03-05T16:34:57,252 ^~~~~~~~ 2022-03-05T16:34:57,253 ./src/chm/HnswOptim.hpp:271:34: note: suggested alternative: ‘is_const’ 2022-03-05T16:34:57,253 for(const auto& rNode : std::as_const(R)) 2022-03-05T16:34:57,253 ^~~~~~~~ 2022-03-05T16:34:57,254 is_const 2022-03-05T16:35:08,466 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2022-03-05T16:35:08,686 ERROR: [present-diagnostic] Building wheel for chm-hnsw (pyproject.toml) exited with 1 2022-03-05T16:35:08,729 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpxh4w6lx3[/] 2022-03-05T16:35:08,729 [bold magenta]cwd[/]: /tmp/pip-wheel-0ap2va3r/chm-hnsw_420c870a78bf42dba368e66b2a5510ec 2022-03-05T16:35:08,730 Building wheel for chm-hnsw (pyproject.toml): finished with status 'error' 2022-03-05T16:35:08,734 ERROR: Failed building wheel for chm-hnsw 2022-03-05T16:35:08,739 Failed to build chm-hnsw 2022-03-05T16:35:08,742 ERROR: Failed to build one or more wheels 2022-03-05T16:35:08,744 Exception information: 2022-03-05T16:35:08,744 Traceback (most recent call last): 2022-03-05T16:35:08,744 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper 2022-03-05T16:35:08,744 status = run_func(*args) 2022-03-05T16:35:08,744 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2022-03-05T16:35:08,744 return func(self, options, args) 2022-03-05T16:35:08,744 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 176, in run 2022-03-05T16:35:08,744 raise CommandError("Failed to build one or more wheels") 2022-03-05T16:35:08,744 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2022-03-05T16:35:08,752 Removed build tracker: '/tmp/pip-req-tracker-f3p686l5'