2020-07-13T04:56:13,506 Created temporary directory: /tmp/pip-ephem-wheel-cache-zyv4yimz 2020-07-13T04:56:13,511 Created temporary directory: /tmp/pip-req-tracker-qiqomfeu 2020-07-13T04:56:13,511 Initialized build tracking at /tmp/pip-req-tracker-qiqomfeu 2020-07-13T04:56:13,512 Created build tracker: /tmp/pip-req-tracker-qiqomfeu 2020-07-13T04:56:13,512 Entered build tracker: /tmp/pip-req-tracker-qiqomfeu 2020-07-13T04:56:13,514 Created temporary directory: /tmp/pip-wheel-akou0okf 2020-07-13T04:56:13,531 1 location(s) to search for versions of hnswlib: 2020-07-13T04:56:13,531 * https://pypi.org/simple/hnswlib/ 2020-07-13T04:56:13,531 Fetching project page and analyzing links: https://pypi.org/simple/hnswlib/ 2020-07-13T04:56:13,532 Getting page https://pypi.org/simple/hnswlib/ 2020-07-13T04:56:13,535 Found index url https://pypi.org/simple 2020-07-13T04:56:13,736 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 2020-07-13T04:56:13,737 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 2020-07-13T04:56:13,737 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 2020-07-13T04:56:13,746 Given no hashes to check 1 links for project 'hnswlib': discarding no candidates 2020-07-13T04:56:13,747 Using version 0.4.0 (newest of versions: 0.4.0) 2020-07-13T04:56:13,752 Collecting hnswlib==0.4.0 2020-07-13T04:56:13,756 Created temporary directory: /tmp/pip-unpack-_te53ld8 2020-07-13T04:56:13,838 Downloading hnswlib-0.4.0.tar.gz (17 kB) 2020-07-13T04:56:13,957 Added hnswlib==0.4.0 from https://files.pythonhosted.org/packages/97/f0/2fa53f02227df57a566a0f25b910066a50fa0cb12ee120717770d657aabd/hnswlib-0.4.0.tar.gz#sha256=12d93a2bfdc5dda21b91addab88cbf467078615ae3b36fecb79b1f8b1778e4d6 to build tracker '/tmp/pip-req-tracker-qiqomfeu' 2020-07-13T04:56:13,959 Running setup.py (path:/tmp/pip-wheel-akou0okf/hnswlib/setup.py) egg_info for package hnswlib 2020-07-13T04:56:13,961 Created temporary directory: /tmp/pip-pip-egg-info-5jtrp3t9 2020-07-13T04:56:13,961 Running command python setup.py egg_info 2020-07-13T04:56:16,052 running egg_info 2020-07-13T04:56:16,056 creating /tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info 2020-07-13T04:56:16,058 writing /tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/PKG-INFO 2020-07-13T04:56:16,063 writing dependency_links to /tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/dependency_links.txt 2020-07-13T04:56:16,068 writing requirements to /tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/requires.txt 2020-07-13T04:56:16,070 writing top-level names to /tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/top_level.txt 2020-07-13T04:56:16,073 writing manifest file '/tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/SOURCES.txt' 2020-07-13T04:56:16,095 reading manifest file '/tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/SOURCES.txt' 2020-07-13T04:56:16,099 reading manifest template 'MANIFEST.in' 2020-07-13T04:56:16,107 writing manifest file '/tmp/pip-pip-egg-info-5jtrp3t9/hnswlib.egg-info/SOURCES.txt' 2020-07-13T04:56:16,232 Source in /tmp/pip-wheel-akou0okf/hnswlib has version 0.4.0, which satisfies requirement hnswlib==0.4.0 from https://files.pythonhosted.org/packages/97/f0/2fa53f02227df57a566a0f25b910066a50fa0cb12ee120717770d657aabd/hnswlib-0.4.0.tar.gz#sha256=12d93a2bfdc5dda21b91addab88cbf467078615ae3b36fecb79b1f8b1778e4d6 2020-07-13T04:56:16,234 Removed hnswlib==0.4.0 from https://files.pythonhosted.org/packages/97/f0/2fa53f02227df57a566a0f25b910066a50fa0cb12ee120717770d657aabd/hnswlib-0.4.0.tar.gz#sha256=12d93a2bfdc5dda21b91addab88cbf467078615ae3b36fecb79b1f8b1778e4d6 from build tracker '/tmp/pip-req-tracker-qiqomfeu' 2020-07-13T04:56:16,237 Building wheels for collected packages: hnswlib 2020-07-13T04:56:16,246 Created temporary directory: /tmp/pip-wheel-9sezmcm7 2020-07-13T04:56:16,247 Building wheel for hnswlib (setup.py): started 2020-07-13T04:56:16,247 Destination directory: /tmp/pip-wheel-9sezmcm7 2020-07-13T04:56:16,248 Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-akou0okf/hnswlib/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-akou0okf/hnswlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9sezmcm7 2020-07-13T04:56:18,293 running bdist_wheel 2020-07-13T04:56:18,302 running build 2020-07-13T04:56:18,303 running build_ext 2020-07-13T04:56:18,317 creating tmp 2020-07-13T04:56:18,317 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/tmpznq_o9l6.cpp -o tmp/tmpznq_o9l6.o -std=c++14 2020-07-13T04:56:18,438 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/tmplhw9lqod.cpp -o tmp/tmplhw9lqod.o -fvisibility=hidden 2020-07-13T04:56:18,982 building 'hnswlib' extension 2020-07-13T04:56:18,982 creating build 2020-07-13T04:56:18,983 creating build/temp.linux-armv7l-3.7 2020-07-13T04:56:18,985 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/piwheels/.local/lib/python3.7/site-packages/pybind11/include -I/home/piwheels/.local/lib/python3.7/site-packages/pybind11/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.7m -c bindings.cpp -o build/temp.linux-armv7l-3.7/bindings.o -O3 -march=native -fopenmp -DVERSION_INFO="0.4.0" -std=c++14 -fvisibility=hidden 2020-07-13T04:56:27,543 In file included from /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/pytypes.h:12, 2020-07-13T04:56:27,545 from /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:13, 2020-07-13T04:56:27,546 from /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/attr.h:13, 2020-07-13T04:56:27,546 from /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:44, 2020-07-13T04:56:27,547 from bindings.cpp:2: 2020-07-13T04:56:27,547 bindings.cpp: In function ‘PyObject* PyInit_hnswlib()’: 2020-07-13T04:56:27,548 /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/detail/common.h:271:34: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations] 2020-07-13T04:56:27,549 return pybind11_init(); \ 2020-07-13T04:56:27,549 ^ 2020-07-13T04:56:27,550 bindings.cpp:389:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ 2020-07-13T04:56:27,550 PYBIND11_PLUGIN(hnswlib) { 2020-07-13T04:56:27,551 ^~~~~~~~~~~~~~~ 2020-07-13T04:56:27,551 /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/detail/common.h:266:22: note: declared here 2020-07-13T04:56:27,552 static PyObject *pybind11_init(); \ 2020-07-13T04:56:27,552 ^~~~~~~~~~~~~ 2020-07-13T04:56:27,553 bindings.cpp:389:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ 2020-07-13T04:56:27,553 PYBIND11_PLUGIN(hnswlib) { 2020-07-13T04:56:27,554 ^~~~~~~~~~~~~~~ 2020-07-13T04:56:27,555 /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/detail/common.h:271:34: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations] 2020-07-13T04:56:27,556 return pybind11_init(); \ 2020-07-13T04:56:27,556 ^ 2020-07-13T04:56:27,557 bindings.cpp:389:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ 2020-07-13T04:56:27,558 PYBIND11_PLUGIN(hnswlib) { 2020-07-13T04:56:27,558 ^~~~~~~~~~~~~~~ 2020-07-13T04:56:27,559 /home/piwheels/.local/lib/python3.7/site-packages/pybind11/include/pybind11/detail/common.h:266:22: note: declared here 2020-07-13T04:56:27,559 static PyObject *pybind11_init(); \ 2020-07-13T04:56:27,560 ^~~~~~~~~~~~~ 2020-07-13T04:56:27,561 bindings.cpp:389:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ 2020-07-13T04:56:27,561 PYBIND11_PLUGIN(hnswlib) { 2020-07-13T04:56:27,562 ^~~~~~~~~~~~~~~ 2020-07-13T04:56:28,196 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]’: 2020-07-13T04:56:28,197 bindings.cpp:396:42: required from here 2020-07-13T04:56:28,198 bindings.cpp:284:20: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2020-07-13T04:56:28,199 if(rows<=num_threads*4){ 2020-07-13T04:56:28,200 ~~~~^~~~~~~~~~~~~~~ 2020-07-13T04:56:28,226 bindings.cpp:310:40: warning: unused variable ‘data’ [-Wunused-variable] 2020-07-13T04:56:28,227 float *data= (float *) items.data(row); 2020-07-13T04:56:28,227 ^~~~ 2020-07-13T04:56:28,228 bindings.cpp:332:13: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2020-07-13T04:56:28,229 delete[] f; 2020-07-13T04:56:28,229 ^~~~~~ 2020-07-13T04:56:28,230 bindings.cpp:335:13: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2020-07-13T04:56:28,230 delete[] f; 2020-07-13T04:56:28,231 ^~~~~~ 2020-07-13T04:56:28,247 bindings.cpp: In instantiation of ‘void Index::addItems(pybind11::object, pybind11::object, int) [with dist_t = float; data_t = float]’: 2020-07-13T04:56:28,247 bindings.cpp:397:42: required from here 2020-07-13T04:56:28,248 bindings.cpp:161:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2020-07-13T04:56:28,249 if (features != dim) 2020-07-13T04:56:28,249 ~~~~~~~~~^~~~~~ 2020-07-13T04:56:28,250 bindings.cpp:166:16: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2020-07-13T04:56:28,251 if(rows<=num_threads*4){ 2020-07-13T04:56:28,251 ~~~~^~~~~~~~~~~~~~~ 2020-07-13T04:56:28,252 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] 2020-07-13T04:56:28,253 if(ids_numpy.ndim==1 && ids_numpy.shape[0]==rows) { 2020-07-13T04:56:29,553 In file included from hnswlib/hnswlib.h:88, 2020-07-13T04:56:29,554 from bindings.cpp:5: 2020-07-13T04:56:29,554 hnswlib/hnswalg.h: In instantiation of ‘hnswlib::HierarchicalNSW::HierarchicalNSW(hnswlib::SpaceInterface*, size_t, size_t, size_t, size_t) [with dist_t = float; size_t = unsigned int]’: 2020-07-13T04:56:29,555 bindings.cpp:101:20: required from ‘void Index::init_new_index(size_t, size_t, size_t, size_t) [with dist_t = float; data_t = float; size_t = unsigned int]’ 2020-07-13T04:56:29,556 bindings.cpp:394:43: required from here 2020-07-13T04:56:29,556 hnswlib/hnswalg.h:122:26: warning: ‘hnswlib::HierarchicalNSW::element_levels_’ will be initialized after [-Wreorder] 2020-07-13T04:56:29,557 std::vector element_levels_; 2020-07-13T04:56:29,557 ^~~~~~~~~~~~~~~ 2020-07-13T04:56:29,558 hnswlib/hnswalg.h:112:33: warning: ‘std::vector hnswlib::HierarchicalNSW::link_list_update_locks_’ [-Wreorder] 2020-07-13T04:56:29,559 std::vector link_list_update_locks_; 2020-07-13T04:56:29,559 ^~~~~~~~~~~~~~~~~~~~~~~ 2020-07-13T04:56:29,560 In file included from hnswlib/hnswlib.h:88, 2020-07-13T04:56:29,561 from bindings.cpp:5: 2020-07-13T04:56:29,561 hnswlib/hnswalg.h:28:9: warning: when initialized here [-Wreorder] 2020-07-13T04:56:29,562 HierarchicalNSW(SpaceInterface *s, size_t max_elements, size_t M = 16, size_t ef_construction = 200, size_t random_seed = 100) : 2020-07-13T04:56:29,562 ^~~~~~~~~~~~~~~ 2020-07-13T04:56:29,734 In file included from hnswlib/hnswlib.h:88, 2020-07-13T04:56:29,735 from bindings.cpp:5: 2020-07-13T04:56:29,736 hnswlib/hnswalg.h: In instantiation of ‘std::vector hnswlib::HierarchicalNSW::getDataByLabel(hnswlib::labeltype) [with data_t = float; dist_t = float; hnswlib::labeltype = unsigned int]’: 2020-07-13T04:56:29,737 bindings.cpp:242:13: required from ‘std::vector > Index::getDataReturnList(pybind11::object) [with dist_t = float; data_t = float]’ 2020-07-13T04:56:29,737 bindings.cpp:398:49: required from here 2020-07-13T04:56:29,738 hnswlib/hnswalg.h:767:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2020-07-13T04:56:29,739 for (int i = 0; i < dim; i++) { 2020-07-13T04:56:29,739 ~~^~~~~ 2020-07-13T04:56:32,164 hnswlib/hnswalg.h: In instantiation of ‘void hnswlib::HierarchicalNSW::updatePoint(const void*, hnswlib::tableint, float) [with dist_t = float; hnswlib::tableint = unsigned int]’: 2020-07-13T04:56:32,165 hnswlib/hnswalg.h:995:21: required from ‘hnswlib::tableint hnswlib::HierarchicalNSW::addPoint(const void*, hnswlib::labeltype, int) [with dist_t = float; hnswlib::tableint = unsigned int; hnswlib::labeltype = unsigned int]’ 2020-07-13T04:56:32,165 hnswlib/hnswalg.h:828:13: required from ‘void hnswlib::HierarchicalNSW::addPoint(const void*, hnswlib::labeltype) [with dist_t = float; hnswlib::labeltype = unsigned int]’ 2020-07-13T04:56:32,166 bindings.cpp:202:5: required from ‘void Index::addItems(pybind11::object, pybind11::object, int) [with dist_t = float; data_t = float]’ 2020-07-13T04:56:32,167 bindings.cpp:397:42: required from here 2020-07-13T04:56:32,167 hnswlib/hnswalg.h:878:47: warning: comparison of integer expressions of different signedness: ‘std::priority_queue, std::vector, std::allocator > >, hnswlib::HierarchicalNSW::CompareByFirst>::size_type’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2020-07-13T04:56:32,168 if (candidates.size() < elementsToKeep) { 2020-07-13T04:56:32,168 hnswlib/hnswalg.h:898:50: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2020-07-13T04:56:32,169 for (size_t idx = 0; idx < candSize; idx++) { 2020-07-13T04:56:32,170 ~~~~^~~~~~~~~~ 2020-07-13T04:57:34,282 creating build/lib.linux-armv7l-3.7 2020-07-13T04:57:34,284 arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/bindings.o -o build/lib.linux-armv7l-3.7/hnswlib.cpython-37m-arm-linux-gnueabihf.so -fopenmp -pthread 2020-07-13T04:57:35,624 installing to build/bdist.linux-armv7l/wheel 2020-07-13T04:57:35,625 running install 2020-07-13T04:57:35,628 running install_lib 2020-07-13T04:57:35,639 creating build/bdist.linux-armv7l 2020-07-13T04:57:35,639 creating build/bdist.linux-armv7l/wheel 2020-07-13T04:57:35,642 copying build/lib.linux-armv7l-3.7/hnswlib.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel 2020-07-13T04:57:36,153 running install_egg_info 2020-07-13T04:57:36,204 running egg_info 2020-07-13T04:57:36,205 writing hnswlib.egg-info/PKG-INFO 2020-07-13T04:57:36,209 writing dependency_links to hnswlib.egg-info/dependency_links.txt 2020-07-13T04:57:36,212 writing requirements to hnswlib.egg-info/requires.txt 2020-07-13T04:57:36,215 writing top-level names to hnswlib.egg-info/top_level.txt 2020-07-13T04:57:36,222 reading manifest file 'hnswlib.egg-info/SOURCES.txt' 2020-07-13T04:57:36,229 reading manifest template 'MANIFEST.in' 2020-07-13T04:57:36,236 writing manifest file 'hnswlib.egg-info/SOURCES.txt' 2020-07-13T04:57:36,240 Copying hnswlib.egg-info to build/bdist.linux-armv7l/wheel/hnswlib-0.4.0-py3.7.egg-info 2020-07-13T04:57:36,267 running install_scripts 2020-07-13T04:57:36,419 creating build/bdist.linux-armv7l/wheel/hnswlib-0.4.0.dist-info/WHEEL 2020-07-13T04:57:36,425 creating '/tmp/pip-wheel-9sezmcm7/hnswlib-0.4.0-cp37-cp37m-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2020-07-13T04:57:37,432 adding 'hnswlib.cpython-37m-arm-linux-gnueabihf.so' 2020-07-13T04:57:37,488 adding 'hnswlib-0.4.0.dist-info/METADATA' 2020-07-13T04:57:37,490 adding 'hnswlib-0.4.0.dist-info/WHEEL' 2020-07-13T04:57:37,491 adding 'hnswlib-0.4.0.dist-info/top_level.txt' 2020-07-13T04:57:37,492 adding 'hnswlib-0.4.0.dist-info/RECORD' 2020-07-13T04:57:37,605 removing build/bdist.linux-armv7l/wheel 2020-07-13T04:57:37,813 Building wheel for hnswlib (setup.py): finished with status 'done' 2020-07-13T04:57:37,837 Created wheel for hnswlib: filename=hnswlib-0.4.0-cp37-cp37m-linux_armv7l.whl size=1278697 sha256=8828a28dfa6f35d303960d6fc9b8fff1b82c2b6b0919fc6f255f835d633113e1 2020-07-13T04:57:37,838 Stored in directory: /tmp/pip-ephem-wheel-cache-zyv4yimz/wheels/9e/b2/4a/d1825789839b911132217df2b1cf2b7a08933a8f9636f90b7c 2020-07-13T04:57:37,841 Successfully built hnswlib 2020-07-13T04:57:38,071 Removed build tracker: '/tmp/pip-req-tracker-qiqomfeu'