2022-03-05T16:42:36,730 Created temporary directory: /tmp/pip-ephem-wheel-cache-c7bp4i0e 2022-03-05T16:42:36,736 Created temporary directory: /tmp/pip-req-tracker-r60rel9w 2022-03-05T16:42:36,736 Initialized build tracking at /tmp/pip-req-tracker-r60rel9w 2022-03-05T16:42:36,737 Created build tracker: /tmp/pip-req-tracker-r60rel9w 2022-03-05T16:42:36,737 Entered build tracker: /tmp/pip-req-tracker-r60rel9w 2022-03-05T16:42:36,738 Created temporary directory: /tmp/pip-wheel-u5su8448 2022-03-05T16:42:36,811 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-03-05T16:42:36,819 2 location(s) to search for versions of chm-hnsw: 2022-03-05T16:42:36,819 * https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:42:36,819 * https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:42:36,821 Fetching project page and analyzing links: https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:42:36,821 Getting page https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:42:36,825 Found index url https://pypi.org/simple 2022-03-05T16:42:36,955 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:42:36,956 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:42:36,957 Fetching project page and analyzing links: https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:42:36,957 Getting page https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:42:36,959 Found index url https://www.piwheels.org/simple 2022-03-05T16:42:37,209 Skipping link: not a file: https://www.piwheels.org/simple/chm-hnsw/ 2022-03-05T16:42:37,209 Skipping link: not a file: https://pypi.org/simple/chm-hnsw/ 2022-03-05T16:42:37,254 Given no hashes to check 1 links for project 'chm-hnsw': discarding no candidates 2022-03-05T16:42:37,295 Collecting chm-hnsw==0.0.2 2022-03-05T16:42:37,300 Created temporary directory: /tmp/pip-unpack-f2_wo7l_ 2022-03-05T16:42:37,391 Downloading chm_hnsw-0.0.2.tar.gz (13 kB) 2022-03-05T16:42:37,510 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-r60rel9w' 2022-03-05T16:42:37,524 Created temporary directory: /tmp/pip-build-env-n15euf_y 2022-03-05T16:42:37,545 Created temporary directory: /tmp/pip-standalone-pip-0lqrfesc 2022-03-05T16:42:39,812 Installing build dependencies: started 2022-03-05T16:42:39,814 Running command pip subprocess to install build dependencies 2022-03-05T16:42:51,415 Using pip 22.0.3 from /tmp/pip-standalone-pip-0lqrfesc/__env_pip__.zip/pip (python 3.9) 2022-03-05T16:42:52,864 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-03-05T16:42:56,644 Collecting setuptools>=42 2022-03-05T16:42:56,877 Using cached https://www.piwheels.org/simple/setuptools/setuptools-60.9.3-py3-none-any.whl (1.1 MB) 2022-03-05T16:42:57,535 Collecting wheel 2022-03-05T16:42:57,568 Using cached https://www.piwheels.org/simple/wheel/wheel-0.37.1-py2.py3-none-any.whl (35 kB) 2022-03-05T16:43:01,069 Collecting numpy>=1.10.0 2022-03-05T16:43:03,537 Using cached https://www.piwheels.org/simple/numpy/numpy-1.22.2-cp39-cp39-linux_armv7l.whl (12.9 MB) 2022-03-05T16:43:05,068 Collecting pybind11>=2.0 2022-03-05T16:43:05,131 Using cached https://www.piwheels.org/simple/pybind11/pybind11-2.9.1-py2.py3-none-any.whl (211 kB) 2022-03-05T16:43:08,727 Installing collected packages: wheel, setuptools, pybind11, numpy 2022-03-05T16:43:09,013 Creating /tmp/pip-build-env-n15euf_y/overlay/bin 2022-03-05T16:43:09,017 changing mode of /tmp/pip-build-env-n15euf_y/overlay/bin/wheel to 755 2022-03-05T16:43:13,528 changing mode of /tmp/pip-build-env-n15euf_y/overlay/bin/pybind11-config to 755 2022-03-05T16:43:31,256 changing mode of /tmp/pip-build-env-n15euf_y/overlay/bin/f2py to 755 2022-03-05T16:43:31,260 changing mode of /tmp/pip-build-env-n15euf_y/overlay/bin/f2py3 to 755 2022-03-05T16:43:31,264 changing mode of /tmp/pip-build-env-n15euf_y/overlay/bin/f2py3.9 to 755 2022-03-05T16:43:31,346 Successfully installed numpy-1.22.2 pybind11-2.9.1 setuptools-60.9.3 wheel-0.37.1 2022-03-05T16:43:32,081 Installing build dependencies: finished with status 'done' 2022-03-05T16:43:32,106 Getting requirements to build wheel: started 2022-03-05T16:43:32,108 Running command Getting requirements to build wheel 2022-03-05T16:43:34,875 running egg_info 2022-03-05T16:43:34,917 writing manifest file 'chm_hnsw.egg-info/SOURCES.txt' 2022-03-05T16:43:35,100 Getting requirements to build wheel: finished with status 'done' 2022-03-05T16:43:35,123 Created temporary directory: /tmp/pip-modern-metadata-a1npkea0 2022-03-05T16:43:35,129 Preparing metadata (pyproject.toml): started 2022-03-05T16:43:35,131 Running command Preparing metadata (pyproject.toml) 2022-03-05T16:43:37,693 running dist_info 2022-03-05T16:43:37,722 creating /tmp/pip-modern-metadata-a1npkea0/chm_hnsw.egg-info 2022-03-05T16:43:37,735 writing manifest file '/tmp/pip-modern-metadata-a1npkea0/chm_hnsw.egg-info/SOURCES.txt' 2022-03-05T16:43:37,758 writing manifest file '/tmp/pip-modern-metadata-a1npkea0/chm_hnsw.egg-info/SOURCES.txt' 2022-03-05T16:43:38,065 Preparing metadata (pyproject.toml): finished with status 'done' 2022-03-05T16:43:38,079 Source in /tmp/pip-wheel-u5su8448/chm-hnsw_aa467a369a43427c904a7f1dadbf19f3 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:43:38,081 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-r60rel9w' 2022-03-05T16:43:38,089 Created temporary directory: /tmp/pip-unpack-mp3gb9g7 2022-03-05T16:43:38,090 Building wheels for collected packages: chm-hnsw 2022-03-05T16:43:38,100 Created temporary directory: /tmp/pip-wheel-jt78ystv 2022-03-05T16:43:38,101 Destination directory: /tmp/pip-wheel-jt78ystv 2022-03-05T16:43:38,106 Building wheel for chm-hnsw (pyproject.toml): started 2022-03-05T16:43:38,108 Running command Building wheel for chm-hnsw (pyproject.toml) 2022-03-05T16:43:40,717 running bdist_wheel 2022-03-05T16:43:40,726 running build 2022-03-05T16:43:40,726 running build_ext 2022-03-05T16:43:40,741 creating tmp 2022-03-05T16:43:40,742 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.9 -c /tmp/tmpchtstgx7.cpp -o tmp/tmpchtstgx7.o -std=c++14 2022-03-05T16:43:40,928 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.9 -c /tmp/tmp98fjvito.cpp -o tmp/tmp98fjvito.o -fvisibility=hidden 2022-03-05T16:43:41,103 creating build 2022-03-05T16:43:41,104 creating build/temp.linux-armv7l-3.9 2022-03-05T16:43:41,105 creating build/temp.linux-armv7l-3.9/src 2022-03-05T16:43:41,106 creating build/temp.linux-armv7l-3.9/src/bindings 2022-03-05T16:43:41,108 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-build-env-n15euf_y/overlay/lib/python3.9/site-packages/pybind11/include -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -I./src/ -I/usr/include/python3.9 -c ./src/bindings/KnnResults.cpp -o build/temp.linux-armv7l-3.9/./src/bindings/KnnResults.o -O3 -march=native -fopenmp -DVERSION_INFO=\"0.0.2\" -std=c++14 -fvisibility=hidden 2022-03-05T16:43:49,465 ./src/bindings/KnnResults.cpp: In function ‘void chm::checkBufInfo(const pybind11::buffer_info&, size_t)’: 2022-03-05T16:43:49,466 ./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:43:49,466 15 | if (buf.shape[1] != dim) 2022-03-05T16:43:49,467 ./src/bindings/KnnResults.cpp: In function ‘void chm::freeWhenDone(void*)’: 2022-03-05T16:43:49,467 ./src/bindings/KnnResults.cpp:23:12: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2022-03-05T16:43:49,468 23 | delete[] d; 2022-03-05T16:43:49,468 | ^ 2022-03-05T16:44:51,604 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-build-env-n15euf_y/overlay/lib/python3.9/site-packages/pybind11/include -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -I./src/ -I/usr/include/python3.9 -c ./src/bindings/bindings.cpp -o build/temp.linux-armv7l-3.9/./src/bindings/bindings.o -O3 -march=native -fopenmp -DVERSION_INFO=\"0.0.2\" -std=c++14 -fvisibility=hidden 2022-03-05T16:44:54,958 In file included from ./src/bindings/bindings.cpp:1: 2022-03-05T16:44:54,959 ./src/chm/HnswOptim.hpp: In member function ‘void chm::HnswOptim::searchLowerLayer(const Dist*, size_t, size_t, chm::FarHeap&)’: 2022-03-05T16:44:54,959 ./src/chm/HnswOptim.hpp:198:8: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’ 2022-03-05T16:44:54,959 198 | if constexpr(searching) { 2022-03-05T16:44:54,960 | ^~~~~~~~~ 2022-03-05T16:44:54,963 ./src/chm/HnswOptim.hpp: In member function ‘void chm::HnswOptim::selectNeighborsHeuristic(size_t)’: 2022-03-05T16:44:54,964 ./src/chm/HnswOptim.hpp:271:34: error: ‘as_const’ is not a member of ‘std’; did you mean ‘is_const’? 2022-03-05T16:44:54,964 271 | for(const auto& rNode : std::as_const(R)) 2022-03-05T16:44:54,964 | ^~~~~~~~ 2022-03-05T16:44:54,965 | is_const 2022-03-05T16:45:07,971 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2022-03-05T16:45:08,193 ERROR: [present-diagnostic] Building wheel for chm-hnsw (pyproject.toml) exited with 1 2022-03-05T16:45:08,234 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpg2ajdss8[/] 2022-03-05T16:45:08,234 [bold magenta]cwd[/]: /tmp/pip-wheel-u5su8448/chm-hnsw_aa467a369a43427c904a7f1dadbf19f3 2022-03-05T16:45:08,235 Building wheel for chm-hnsw (pyproject.toml): finished with status 'error' 2022-03-05T16:45:08,240 ERROR: Failed building wheel for chm-hnsw 2022-03-05T16:45:08,244 Failed to build chm-hnsw 2022-03-05T16:45:08,246 ERROR: Failed to build one or more wheels 2022-03-05T16:45:08,249 Exception information: 2022-03-05T16:45:08,249 Traceback (most recent call last): 2022-03-05T16:45:08,249 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper 2022-03-05T16:45:08,249 status = run_func(*args) 2022-03-05T16:45:08,249 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2022-03-05T16:45:08,249 return func(self, options, args) 2022-03-05T16:45:08,249 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 176, in run 2022-03-05T16:45:08,249 raise CommandError("Failed to build one or more wheels") 2022-03-05T16:45:08,249 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2022-03-05T16:45:08,256 Removed build tracker: '/tmp/pip-req-tracker-r60rel9w'