2021-07-15T08:36:41,412 Created temporary directory: /tmp/pip-ephem-wheel-cache-x4_ccee9 2021-07-15T08:36:41,416 Created temporary directory: /tmp/pip-req-tracker-yyzqtisj 2021-07-15T08:36:41,416 Initialized build tracking at /tmp/pip-req-tracker-yyzqtisj 2021-07-15T08:36:41,416 Created build tracker: /tmp/pip-req-tracker-yyzqtisj 2021-07-15T08:36:41,417 Entered build tracker: /tmp/pip-req-tracker-yyzqtisj 2021-07-15T08:36:41,417 Created temporary directory: /tmp/pip-wheel-ammklmwi 2021-07-15T08:36:41,451 1 location(s) to search for versions of hnswlib: 2021-07-15T08:36:41,451 * https://pypi.org/simple/hnswlib/ 2021-07-15T08:36:41,451 Fetching project page and analyzing links: https://pypi.org/simple/hnswlib/ 2021-07-15T08:36:41,452 Getting page https://pypi.org/simple/hnswlib/ 2021-07-15T08:36:41,454 Found index url https://pypi.org/simple 2021-07-15T08:36:41,627 Found link https://files.pythonhosted.org/packages/51/ee/850ac2cdc9483a5a26fd4173be486f48db0bdb9e2b200dfc3149a572a907/hnswlib-0.3.2.0.tar.gz#sha256=4d8fbbe0232be71ced38142616e9eb4e91cefcef06b1c9435cd3ae87781411e9 (from https://pypi.org/simple/hnswlib/), version: 0.3.2.0 2021-07-15T08:36:41,627 Found link https://files.pythonhosted.org/packages/2a/5e/cc9a462fe81334433ce889a375e463d2febfb7540337243e6a6a53be7bbf/hnswlib-0.3.4.tar.gz#sha256=3ceebe78d22765c0e928ac1e304d73cb8d2aa30aede2463eda902f3847fe39dd (from https://pypi.org/simple/hnswlib/), version: 0.3.4 2021-07-15T08:36:41,628 Found link https://files.pythonhosted.org/packages/97/f0/2fa53f02227df57a566a0f25b910066a50fa0cb12ee120717770d657aabd/hnswlib-0.4.0.tar.gz#sha256=12d93a2bfdc5dda21b91addab88cbf467078615ae3b36fecb79b1f8b1778e4d6 (from https://pypi.org/simple/hnswlib/), version: 0.4.0 2021-07-15T08:36:41,628 Found link https://files.pythonhosted.org/packages/fb/ff/a02bb1971d6034ff268bb1554009ac074d9d58434129c50bf136e7f39897/hnswlib-0.5.0.tar.gz#sha256=5a3a3d79442852b0587aec0c773a16a20e3a3b105efa229301878e78012b9901 (from https://pypi.org/simple/hnswlib/), version: 0.5.0 2021-07-15T08:36:41,628 Found link https://files.pythonhosted.org/packages/03/8c/3e0e608278b740f2a78ba76ba406dbecc8b7d3ce8cfb858580f13ea04930/hnswlib-0.5.1.tar.gz#sha256=5598c0a1a6eeb577bc271cac59983c89eb4c1beb1b7e75ba50068e2dc0c038f2 (from https://pypi.org/simple/hnswlib/), version: 0.5.1 2021-07-15T08:36:41,629 Found link https://files.pythonhosted.org/packages/d2/9e/5a7df9844e0f2cf9bef801cbcb973924b6796fbe5fae4209daa23497beb2/hnswlib-0.5.2.tar.gz#sha256=0e275686e31067f921d72d2e411ff541b8abcbea0dcf0c5dc5eeb7da2b67c171 (from https://pypi.org/simple/hnswlib/), version: 0.5.2 2021-07-15T08:36:41,629 Skipping link: not a file: https://pypi.org/simple/hnswlib/ 2021-07-15T08:36:41,649 Given no hashes to check 1 links for project 'hnswlib': discarding no candidates 2021-07-15T08:36:41,671 Collecting hnswlib==0.3.4 2021-07-15T08:36:41,672 Created temporary directory: /tmp/pip-unpack-vz5fqv2q 2021-07-15T08:36:41,848 Downloading hnswlib-0.3.4.tar.gz (15 kB) 2021-07-15T08:36:41,899 Added hnswlib==0.3.4 from https://files.pythonhosted.org/packages/2a/5e/cc9a462fe81334433ce889a375e463d2febfb7540337243e6a6a53be7bbf/hnswlib-0.3.4.tar.gz#sha256=3ceebe78d22765c0e928ac1e304d73cb8d2aa30aede2463eda902f3847fe39dd to build tracker '/tmp/pip-req-tracker-yyzqtisj' 2021-07-15T08:36:41,900 Running setup.py (path:/tmp/pip-wheel-ammklmwi/hnswlib_1cfed75c1e5844e78d5e44fdaf5c203a/setup.py) egg_info for package hnswlib 2021-07-15T08:36:41,901 Created temporary directory: /tmp/pip-pip-egg-info-rt97fjtp 2021-07-15T08:36:41,902 Running command python setup.py egg_info 2021-07-15T08:36:43,349 running egg_info 2021-07-15T08:36:43,352 creating /tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info 2021-07-15T08:36:43,353 writing /tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/PKG-INFO 2021-07-15T08:36:43,356 writing dependency_links to /tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/dependency_links.txt 2021-07-15T08:36:43,358 writing requirements to /tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/requires.txt 2021-07-15T08:36:43,359 writing top-level names to /tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/top_level.txt 2021-07-15T08:36:43,360 writing manifest file '/tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/SOURCES.txt' 2021-07-15T08:36:43,401 reading manifest file '/tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/SOURCES.txt' 2021-07-15T08:36:43,403 reading manifest template 'MANIFEST.in' 2021-07-15T08:36:43,408 writing manifest file '/tmp/pip-pip-egg-info-rt97fjtp/hnswlib.egg-info/SOURCES.txt' 2021-07-15T08:36:43,497 Source in /tmp/pip-wheel-ammklmwi/hnswlib_1cfed75c1e5844e78d5e44fdaf5c203a has version 0.3.4, which satisfies requirement hnswlib==0.3.4 from https://files.pythonhosted.org/packages/2a/5e/cc9a462fe81334433ce889a375e463d2febfb7540337243e6a6a53be7bbf/hnswlib-0.3.4.tar.gz#sha256=3ceebe78d22765c0e928ac1e304d73cb8d2aa30aede2463eda902f3847fe39dd 2021-07-15T08:36:43,498 Removed hnswlib==0.3.4 from https://files.pythonhosted.org/packages/2a/5e/cc9a462fe81334433ce889a375e463d2febfb7540337243e6a6a53be7bbf/hnswlib-0.3.4.tar.gz#sha256=3ceebe78d22765c0e928ac1e304d73cb8d2aa30aede2463eda902f3847fe39dd from build tracker '/tmp/pip-req-tracker-yyzqtisj' 2021-07-15T08:36:43,502 Created temporary directory: /tmp/pip-unpack-xiansna5 2021-07-15T08:36:43,503 Building wheels for collected packages: hnswlib 2021-07-15T08:36:43,507 Created temporary directory: /tmp/pip-wheel-0gb0hznw 2021-07-15T08:36:43,507 Building wheel for hnswlib (setup.py): started 2021-07-15T08:36:43,508 Destination directory: /tmp/pip-wheel-0gb0hznw 2021-07-15T08:36:43,508 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ammklmwi/hnswlib_1cfed75c1e5844e78d5e44fdaf5c203a/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ammklmwi/hnswlib_1cfed75c1e5844e78d5e44fdaf5c203a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0gb0hznw 2021-07-15T08:36:44,958 running bdist_wheel 2021-07-15T08:36:44,964 running build 2021-07-15T08:36:44,964 running build_ext 2021-07-15T08:36:44,972 creating tmp 2021-07-15T08:36:44,973 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 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c /tmp/tmpgvy8d3cq.cpp -o tmp/tmpgvy8d3cq.o -std=c++14 2021-07-15T08:36:45,083 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 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c /tmp/tmpgb75jiow.cpp -o tmp/tmpgb75jiow.o -fvisibility=hidden 2021-07-15T08:36:45,533 building 'hnswlib' extension 2021-07-15T08:36:45,534 creating build 2021-07-15T08:36:45,534 creating build/temp.linux-armv7l-3.9 2021-07-15T08:36:45,535 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 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/piwheels/.local/lib/python3.9/site-packages/pybind11/include -I/home/piwheels/.local/lib/python3.9/site-packages/pybind11/include -I/home/piwheels/.local/lib/python3.9/site-packages/numpy/core/include -I/usr/include/python3.9 -c bindings.cpp -o build/temp.linux-armv7l-3.9/bindings.o -O3 -march=native -fopenmp -DVERSION_INFO="0.3.4" -std=c++14 -fvisibility=hidden 2021-07-15T08:36:51,245 In file included from /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/pytypes.h:12, 2021-07-15T08:36:51,245 from /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/cast.h:13, 2021-07-15T08:36:51,246 from /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/attr.h:13, 2021-07-15T08:36:51,246 from /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/pybind11.h:45, 2021-07-15T08:36:51,246 from bindings.cpp:2: 2021-07-15T08:36:51,246 bindings.cpp: In function ‘PyObject* PyInit_hnswlib()’: 2021-07-15T08:36:51,247 /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/detail/common.h:288:34: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations] 2021-07-15T08:36:51,247 288 | return pybind11_init(); \ 2021-07-15T08:36:51,247 | ^ 2021-07-15T08:36:51,247 bindings.cpp:389:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ 2021-07-15T08:36:51,247 389 | PYBIND11_PLUGIN(hnswlib) { 2021-07-15T08:36:51,248 | ^~~~~~~~~~~~~~~ 2021-07-15T08:36:51,248 /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/detail/common.h:283:22: note: declared here 2021-07-15T08:36:51,248 283 | static PyObject *pybind11_init(); \ 2021-07-15T08:36:51,248 | ^~~~~~~~~~~~~ 2021-07-15T08:36:51,249 bindings.cpp:389:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ 2021-07-15T08:36:51,249 389 | PYBIND11_PLUGIN(hnswlib) { 2021-07-15T08:36:51,249 | ^~~~~~~~~~~~~~~ 2021-07-15T08:36:51,249 bindings.cpp: In function ‘PyObject* pybind11_init()’: 2021-07-15T08:36:51,249 bindings.cpp:390:31: warning: ‘pybind11::module_::module_(const char*, const char*)’ is deprecated: Use PYBIND11_MODULE or module_::create_extension_module instead [-Wdeprecated-declarations] 2021-07-15T08:36:51,250 390 | py::module m("hnswlib"); 2021-07-15T08:36:51,250 | ^ 2021-07-15T08:36:51,250 In file included from bindings.cpp:2: 2021-07-15T08:36:51,250 /home/piwheels/.local/lib/python3.9/site-packages/pybind11/include/pybind11/pybind11.h:947:14: note: declared here 2021-07-15T08:36:51,250 947 | explicit module_(const char *name, const char *doc = nullptr) { 2021-07-15T08:36:51,251 | ^~~~~~~ 2021-07-15T08:36:51,794 bindings.cpp: In instantiation of ‘pybind11::object Index::knnQuery_return_numpy(pybind11::object, size_t, int) [with dist_t = float; data_t = float; size_t = unsigned int]’: 2021-07-15T08:36:51,795 bindings.cpp:396:42: required from here 2021-07-15T08:36:51,795 bindings.cpp:284:20: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2021-07-15T08:36:51,795 284 | if(rows<=num_threads*4){ 2021-07-15T08:36:51,795 | ~~~~^~~~~~~~~~~~~~~ 2021-07-15T08:36:51,810 bindings.cpp:310:40: warning: unused variable ‘data’ [-Wunused-variable] 2021-07-15T08:36:51,810 310 | float *data= (float *) items.data(row); 2021-07-15T08:36:51,810 | ^~~~ 2021-07-15T08:36:51,811 bindings.cpp:332:22: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2021-07-15T08:36:51,811 332 | delete[] f; 2021-07-15T08:36:51,811 | ^ 2021-07-15T08:36:51,812 bindings.cpp:335:22: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2021-07-15T08:36:51,812 335 | delete[] f; 2021-07-15T08:36:51,812 | ^ 2021-07-15T08:36:51,823 bindings.cpp: In instantiation of ‘void Index::addItems(pybind11::object, pybind11::object, int) [with dist_t = float; data_t = float]’: 2021-07-15T08:36:51,823 bindings.cpp:397:42: required from here 2021-07-15T08:36:51,823 bindings.cpp:161:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2021-07-15T08:36:51,824 161 | if (features != dim) 2021-07-15T08:36:51,824 | ~~~~~~~~~^~~~~~ 2021-07-15T08:36:51,824 bindings.cpp:166:16: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2021-07-15T08:36:51,824 166 | if(rows<=num_threads*4){ 2021-07-15T08:36:51,825 | ~~~~^~~~~~~~~~~~~~~ 2021-07-15T08:36:51,825 bindings.cpp:175:55: warning: comparison of integer expressions of different signedness: ‘__gnu_cxx::__alloc_traits, int>::value_type’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-15T08:36:51,825 175 | if(ids_numpy.ndim==1 && ids_numpy.shape[0]==rows) { 2021-07-15T08:36:52,988 In file included from hnswlib/hnswlib.h:88, 2021-07-15T08:36:52,988 from bindings.cpp:5: 2021-07-15T08:36:52,988 hnswlib/hnswalg.h: In instantiation of ‘std::vector hnswlib::HierarchicalNSW::getDataByLabel(hnswlib::labeltype) [with data_t = float; dist_t = float; hnswlib::labeltype = unsigned int]’: 2021-07-15T08:36:52,989 bindings.cpp:242:69: required from ‘std::vector > Index::getDataReturnList(pybind11::object) [with dist_t = float; data_t = float]’ 2021-07-15T08:36:52,989 bindings.cpp:398:49: required from here 2021-07-15T08:36:52,989 hnswlib/hnswalg.h:734:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-15T08:36:52,989 734 | for (int i = 0; i < dim; i++) { 2021-07-15T08:36:52,990 | ~~^~~~~ 2021-07-15T08:37:31,547 creating build/lib.linux-armv7l-3.9 2021-07-15T08:37:31,547 arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.9/bindings.o -o build/lib.linux-armv7l-3.9/hnswlib.cpython-39-arm-linux-gnueabihf.so -fopenmp -pthread 2021-07-15T08:37:32,189 installing to build/bdist.linux-armv7l/wheel 2021-07-15T08:37:32,189 running install 2021-07-15T08:37:32,190 running install_lib 2021-07-15T08:37:32,194 creating build/bdist.linux-armv7l 2021-07-15T08:37:32,195 creating build/bdist.linux-armv7l/wheel 2021-07-15T08:37:32,196 copying build/lib.linux-armv7l-3.9/hnswlib.cpython-39-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel 2021-07-15T08:37:32,274 running install_egg_info 2021-07-15T08:37:32,300 running egg_info 2021-07-15T08:37:32,301 writing hnswlib.egg-info/PKG-INFO 2021-07-15T08:37:32,303 writing dependency_links to hnswlib.egg-info/dependency_links.txt 2021-07-15T08:37:32,304 writing requirements to hnswlib.egg-info/requires.txt 2021-07-15T08:37:32,306 writing top-level names to hnswlib.egg-info/top_level.txt 2021-07-15T08:37:32,341 reading manifest file 'hnswlib.egg-info/SOURCES.txt' 2021-07-15T08:37:32,344 reading manifest template 'MANIFEST.in' 2021-07-15T08:37:32,349 writing manifest file 'hnswlib.egg-info/SOURCES.txt' 2021-07-15T08:37:32,351 Copying hnswlib.egg-info to build/bdist.linux-armv7l/wheel/hnswlib-0.3.4-py3.9.egg-info 2021-07-15T08:37:32,365 running install_scripts 2021-07-15T08:37:32,449 creating build/bdist.linux-armv7l/wheel/hnswlib-0.3.4.dist-info/WHEEL 2021-07-15T08:37:32,451 creating '/tmp/pip-wheel-0gb0hznw/hnswlib-0.3.4-cp39-cp39-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2021-07-15T08:37:33,145 adding 'hnswlib.cpython-39-arm-linux-gnueabihf.so' 2021-07-15T08:37:33,183 adding 'hnswlib-0.3.4.dist-info/METADATA' 2021-07-15T08:37:33,184 adding 'hnswlib-0.3.4.dist-info/WHEEL' 2021-07-15T08:37:33,185 adding 'hnswlib-0.3.4.dist-info/top_level.txt' 2021-07-15T08:37:33,185 adding 'hnswlib-0.3.4.dist-info/RECORD' 2021-07-15T08:37:33,207 removing build/bdist.linux-armv7l/wheel 2021-07-15T08:37:33,344 Building wheel for hnswlib (setup.py): finished with status 'done' 2021-07-15T08:37:33,369 Created wheel for hnswlib: filename=hnswlib-0.3.4-cp39-cp39-linux_armv7l.whl size=1349504 sha256=b0c781a726b4070fbb267d223e3ebe8b29e875c4f9c70b9b4322ff8ad2bbcd35 2021-07-15T08:37:33,370 Stored in directory: /tmp/pip-ephem-wheel-cache-x4_ccee9/wheels/8f/e9/28/f1a5c63050d7030c294c9d52b804981ea00aa9fe42488a13b0 2021-07-15T08:37:33,384 Successfully built hnswlib 2021-07-15T08:37:33,433 Removed build tracker: '/tmp/pip-req-tracker-yyzqtisj'