Created temporary directory: /tmp/pip-ephem-wheel-cache-6y7vz6tj Created temporary directory: /tmp/pip-req-tracker-hewt88u5 Created requirements tracker '/tmp/pip-req-tracker-hewt88u5' Created temporary directory: /tmp/pip-wheel-dl7b0xru Looking in indexes: https://pypi.python.org/simple Collecting annoy==1.13.0 1 location(s) to search for versions of annoy: * https://pypi.python.org/simple/annoy/ Getting page https://pypi.python.org/simple/annoy/ Analyzing links from page https://pypi.org/simple/annoy/ Found link https://files.pythonhosted.org/packages/38/e0/2894e96a2072b729a8be6ccab827ad0a7002fdd108a27aefca703b52a630/annoy-1.0.tar.gz#sha256=2c73f2f21999952b1d9735425f0303824b29d25d11698a34ebdfa952a92768e9 (from https://pypi.org/simple/annoy/), version: 1.0 Found link https://files.pythonhosted.org/packages/94/88/e7866feaa26e1ce0da1050a03ab3e1589b9721f00cb1a6f9cd5aad2b18da/annoy-1.0.1.tar.gz#sha256=a7bda187929b4d31805edd6a933cbada9d5b465b7bb9affe2844b986222bbaf8 (from https://pypi.org/simple/annoy/), version: 1.0.1 Found link https://files.pythonhosted.org/packages/e7/f5/51968a73b7cb81973f12612e9bff9bd5665f39a6b67455d12124f725ae0d/annoy-1.0.2.tar.gz#sha256=6bdee98c900e72d77fe1814bf8e18a0fa8f4d1ae3ee8f1ef1b2617fa26a02c8a (from https://pypi.org/simple/annoy/), version: 1.0.2 Found link https://files.pythonhosted.org/packages/fb/bd/0eaa670a05cbb699b2bb5b7e528033ac11b1fcc906a34fe12cd0d1c46f0f/annoy-1.0.3.tar.gz#sha256=5ca80a258bddb9e5cd98190638e4f824c212d1e54f3e932e092f87ef5e4dc7a1 (from https://pypi.org/simple/annoy/), version: 1.0.3 Found link https://files.pythonhosted.org/packages/aa/61/f297896a07b18c8c634c0632786c22eb91c6e7d11fc8e71c8c71b4b87b27/annoy-1.0.4.tar.gz#sha256=a18f221905b4007653aeaee35dc675118872b072cf5b64651ceae2aabead3a6d (from https://pypi.org/simple/annoy/), version: 1.0.4 Found link https://files.pythonhosted.org/packages/30/31/56ad61b57600b06e4ca390cf7e6c525cf1824c33c4028909bfad975a20bd/annoy-1.0.5.tar.gz#sha256=93e4faed778c41aa16ccdabd08bafedcf123aa096bd58e118f3b9799eda07fb6 (from https://pypi.org/simple/annoy/), version: 1.0.5 Found link https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz#sha256=5755b01e62b61e47137035888866c76286452b0d1db840feaf837ccb8a8350cb (from https://pypi.org/simple/annoy/), version: 1.1.1 Found link https://files.pythonhosted.org/packages/d8/66/24f73e530b2cf243a19c05103275cf9ccfff83205cbe8214a7e46d7304bc/annoy-1.2.1.tar.gz#sha256=6f5e4df1d7054d2c3fbbb9b9bba9022488d1a88158bc9087d00f0c8e8c759aef (from https://pypi.org/simple/annoy/), version: 1.2.1 Found link https://files.pythonhosted.org/packages/64/ac/2438a580ca0622aa92449775b14d60115444c30f9fb3c733377f1e22df87/annoy-1.2.2.tar.gz#sha256=69db6723ebc9df2ff458304f7b75ca9287bf92e565ad7b6a2dd978c5bab75523 (from https://pypi.org/simple/annoy/), version: 1.2.2 Found link https://files.pythonhosted.org/packages/eb/30/551d129e19216b9c2a6cf7440ff877e83ee97ec121d2f06639488a38ab2b/annoy-1.3.1.tar.gz#sha256=5ec90011b2637e1d015ab17d7b6e609f2c8c5f58959066fc3876b60919b09ef0 (from https://pypi.org/simple/annoy/), version: 1.3.1 Found link https://files.pythonhosted.org/packages/b9/6c/f4e357bcdec0d8948c23459baa8bca04bcbe9e5771a10126953b714b5f31/annoy-1.3.2.tar.gz#sha256=6c7e8ae8d7f00496426a3b12c807917624687b880cd6b25a2ee071ed008e4f11 (from https://pypi.org/simple/annoy/), version: 1.3.2 Found link https://files.pythonhosted.org/packages/3d/95/df172afb0b4b3ef9fe00c17b3ee354221aa8ac30dc3312289d8c8e46cdcf/annoy-1.4.1.tar.gz#sha256=0fb89d7975f376610f67ee03c0284ef01f63fcd8286d48ad9a0ddcf6d402160f (from https://pypi.org/simple/annoy/), version: 1.4.1 Found link https://files.pythonhosted.org/packages/27/0d/83aeb728dc0652e376c384a4f0b27b4b3ce6e2e2a0054fa9fa5c4d102ddd/annoy-1.5.1.tar.gz#sha256=2ee290b3ae0fada52c310966eea7f0aee0123f92678138702d33de7036fc48da (from https://pypi.org/simple/annoy/), version: 1.5.1 Found link https://files.pythonhosted.org/packages/b7/54/96cb02ad090e2c3e388343e3be66316ed2f282ae3b309c89efcbea4590b0/annoy-1.5.2.tar.gz#sha256=39be32e80d35d031936721e8ee997e045fdcf16744ee7b249270acd08769516f (from https://pypi.org/simple/annoy/), version: 1.5.2 Found link https://files.pythonhosted.org/packages/04/1d/8197a3a00eda4426d646403d4cc6519ed6d2a37e7131c05c5c334b9942ce/annoy-1.6.0.tar.gz#sha256=2036bc3eab0d621c2fc2449b97bb870cfdf30b5657be646b58977823a1574e19 (from https://pypi.org/simple/annoy/), version: 1.6.0 Found link https://files.pythonhosted.org/packages/70/1d/983c70bec3d96e2f16d2ca85cbf14957dc812b60eaecc572380d450e96c3/annoy-1.6.1.tar.gz#sha256=ac68661d7820b567d54dcc9a044840c4659a1fd2b1a3a173bfd4383cebc9e3b6 (from https://pypi.org/simple/annoy/), version: 1.6.1 Found link https://files.pythonhosted.org/packages/33/d4/2ebe9244d5c37e890215bb19b223867a0c6554b31320474bddcbf1dd1b62/annoy-1.6.2.tar.gz#sha256=023daca27d79cd743c844b7c8e0d50a55d5b9cc267355398f94d56330c9eb945 (from https://pypi.org/simple/annoy/), version: 1.6.2 Found link https://files.pythonhosted.org/packages/f3/1b/d3efe497937e04abb0745dcacff10b2176b669f78439e19a23a005ed9879/annoy-1.7.0.tar.gz#sha256=58a61cb65a0b639702720eecb4216680245bc4a538d7d8ce4b41e1ef8196c923 (from https://pypi.org/simple/annoy/), version: 1.7.0 Found link https://files.pythonhosted.org/packages/37/ae/cf07549e1593199d4bbd4d99aaf3cd118af7cc4d29f684e652b3f868cece/annoy-1.8.0.tar.gz#sha256=9ac9bd931a4ced34a27c6a8719de3c9a662fe30ea6cfedaa95b3941067b1fe3e (from https://pypi.org/simple/annoy/), version: 1.8.0 Found link https://files.pythonhosted.org/packages/3a/14/e733caa00f20544d4f3685434073a6911f4712e7316b140537a750cceb37/annoy-1.8.3.tar.gz#sha256=99e7f168a0b37d1aba9fde629e09d5eb427b62665c2cc459983ad2d077ca6e24 (from https://pypi.org/simple/annoy/), version: 1.8.3 Found link https://files.pythonhosted.org/packages/07/67/5abcaa7cabe74a646e139eeabd475eb3812413f952618df93a3e672bf2c8/annoy-1.9.0.tar.gz#sha256=2c8c4a6008ed015e9adc83ee53242f1d16020b7ed8ac88acbc951ad39c228454 (from https://pypi.org/simple/annoy/), version: 1.9.0 Found link https://files.pythonhosted.org/packages/ee/00/c7b67fd1850e5f1a8ce010e78f90e051f9cc6239d6c8389ba568e07647fc/annoy-1.9.1.tar.gz#sha256=d885daa538f792eafc1ca80674bf62f510c53b1cd12903cee9fe636d8de0aa42 (from https://pypi.org/simple/annoy/), version: 1.9.1 Found link https://files.pythonhosted.org/packages/bd/d1/593d9dcaececf7bbb3e43507c69a1762c3858a536152650404c823ab7044/annoy-1.9.2.tar.gz#sha256=19802bbb4de6ad2d53ce8c90e82c4d61f25ea51ce04ac223289b6073c2f43ea1 (from https://pypi.org/simple/annoy/), version: 1.9.2 Found link https://files.pythonhosted.org/packages/ca/bf/1aa587617058fb6fcfb30f039d977e830d535cc3f732434a6c71482f0084/annoy-1.9.3.tar.gz#sha256=6b8ac2c190fbbec011eef7163ff58fe2c1273f8efb369ec4d2ae59f46b8ef202 (from https://pypi.org/simple/annoy/), version: 1.9.3 Found link https://files.pythonhosted.org/packages/f9/05/e8d413f5eb2201cb5398ba67c5434ab58258ffe6a264418df6a387bb17d7/annoy-1.9.4.tar.gz#sha256=3865ecf41778b340268536181f8aa23ff09523cd815c40dcec94334a2606c16e (from https://pypi.org/simple/annoy/), version: 1.9.4 Found link https://files.pythonhosted.org/packages/3e/71/3ba9782fd36a465771bcba35a6053475ac5b8f8e0eb57f77a4a3299e6e04/annoy-1.9.5.tar.gz#sha256=8dd63b5f6a173a647c2c09df1d3d7a8bc90129fd88168a84f6239116b928738a (from https://pypi.org/simple/annoy/), version: 1.9.5 Found link https://files.pythonhosted.org/packages/f9/6b/415da727a080c24336fe726623dbe4b10deb60642d3a50072076d4934a5b/annoy-1.10.0.tar.gz#sha256=08c4b2d4c6c686e31a9a1040e7a87d60a20e32e0508d6c3e05c15c36a415cdd8 (from https://pypi.org/simple/annoy/), version: 1.10.0 Found link https://files.pythonhosted.org/packages/4c/53/3d8d938b7056fc9a175bee21eeaa182e06b5633b36e4d2fb75e09aec35e3/annoy-1.11.1.tar.gz#sha256=f3a05dd62ce94231f9e65021ec29a858ef45f0228bc8e41bbd4b1e280547c087 (from https://pypi.org/simple/annoy/), version: 1.11.1 Found link https://files.pythonhosted.org/packages/14/e2/b5b87195af592036f5d13abc0aac3419251b3661b92cf7d199d454b376ac/annoy-1.11.4.tar.gz#sha256=d348e77920d7139d1889cff36865caf4f7ca6e5e96121d82d114809947151d85 (from https://pypi.org/simple/annoy/), version: 1.11.4 Found link https://files.pythonhosted.org/packages/4b/d9/83ab48fff79f91ee3269f9e96aeca7545fe20ec4cc4898cc57f6e202e08d/annoy-1.11.5.tar.gz#sha256=0b2196905954c3a8f47804f06e078602d66f3925526b13d20e117c52db6241ca (from https://pypi.org/simple/annoy/), version: 1.11.5 Found link https://files.pythonhosted.org/packages/f1/9a/3db2737d76a66201873dd0a4301df4774ed16127139efa3db313cdbca04b/annoy-1.12.0.tar.gz#sha256=8f2aa56f7971dc1e9e10ee5a846aabe83a13e692e0107e317c101a5674a4ec70 (from https://pypi.org/simple/annoy/), version: 1.12.0 Found link https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz#sha256=737fe0507df99b70cc80fdd82a782d824191bdd0bfe5fd1ff4c8d2b2f32e238b (from https://pypi.org/simple/annoy/), version: 1.13.0 Using version 1.13.0 (newest of versions: 1.13.0) Created temporary directory: /tmp/pip-unpack-vhfwj55_ Downloading https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz (634kB) Downloading from URL https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz#sha256=737fe0507df99b70cc80fdd82a782d824191bdd0bfe5fd1ff4c8d2b2f32e238b (from https://pypi.org/simple/annoy/) Added annoy==1.13.0 from https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz#sha256=737fe0507df99b70cc80fdd82a782d824191bdd0bfe5fd1ff4c8d2b2f32e238b to build tracker '/tmp/pip-req-tracker-hewt88u5' Running setup.py (path:/tmp/pip-wheel-dl7b0xru/annoy/setup.py) egg_info for package annoy Running command python setup.py egg_info running egg_info creating pip-egg-info/annoy.egg-info writing pip-egg-info/annoy.egg-info/PKG-INFO writing top-level names to pip-egg-info/annoy.egg-info/top_level.txt writing dependency_links to pip-egg-info/annoy.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/annoy.egg-info/SOURCES.txt' reading manifest file 'pip-egg-info/annoy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pip-egg-info/annoy.egg-info/SOURCES.txt' Source in /tmp/pip-wheel-dl7b0xru/annoy has version 1.13.0, which satisfies requirement annoy==1.13.0 from https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz#sha256=737fe0507df99b70cc80fdd82a782d824191bdd0bfe5fd1ff4c8d2b2f32e238b Removed annoy==1.13.0 from https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz#sha256=737fe0507df99b70cc80fdd82a782d824191bdd0bfe5fd1ff4c8d2b2f32e238b from build tracker '/tmp/pip-req-tracker-hewt88u5' Building wheels for collected packages: annoy Created temporary directory: /tmp/pip-wheel-yhhv9436 Running setup.py bdist_wheel for annoy: started Destination directory: /tmp/pip-wheel-yhhv9436 Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-wheel-dl7b0xru/annoy/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-yhhv9436 running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.5 creating build/lib.linux-armv7l-3.5/annoy copying annoy/__init__.py -> build/lib.linux-armv7l-3.5/annoy running build_ext building 'annoy.annoylib' extension creating build/temp.linux-armv7l-3.5 creating build/temp.linux-armv7l-3.5/src arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-RUbMX3/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/annoymodule.cc -o build/temp.linux-armv7l-3.5/src/annoymodule.o -O3 -ffast-math -fno-associative-math -march=native cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ src/annoymodule.cc: In function 'bool convert_list_to_vector(PyObject*, int, std::vector >*)': src/annoymodule.cc:276:93: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'Py_ssize_t {aka int}' [-Wformat=] snprintf(buf, 128, "Vector has wrong length (expected %d, got %ld)", f, PyObject_Size(v)); ^ In file included from src/annoymodule.cc:15:0: src/annoylib.h: In instantiation of 'bool AnnoyIndex::load(const char*) [with S = int; T = long long unsigned int; Distance = Hamming; Random = Kiss64Random]': src/annoymodule.cc:73:64: required from here src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:863:19: note: in expansion of macro 'showUpdate' if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); ^~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h: In instantiation of 'S AnnoyIndex::_make_tree(const std::vector<_Tp>&, bool) [with S = int; T = long long unsigned int; Distance = Hamming; Random = Kiss64Random]': src/annoylib.h:770:34: required from 'void AnnoyIndex::build(int) [with S = int; T = long long unsigned int; Distance = Hamming; Random = Kiss64Random]' src/annoymodule.cc:69:37: required from here src/annoylib.h:921:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indices.size() <= (size_t)_K && (!is_root || _n_items <= (size_t)_K || indices.size() == 1)) { ~~~~~~~~~^~~~~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:963:9: note: in expansion of macro 'showUpdate' showUpdate("Failed splitting %lu items\n", indices.size()); ^~~~~~~~~~ src/annoylib.h: In instantiation of 'bool AnnoyIndex::load(const char*) [with S = int; T = float; Distance = DotProduct; Random = Kiss64Random]': src/annoymodule.cc:560:3: required from here src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:863:19: note: in expansion of macro 'showUpdate' if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); ^~~~~~~~~~ src/annoylib.h: In instantiation of 'bool AnnoyIndex::load(const char*) [with S = int; T = float; Distance = Manhattan; Random = Kiss64Random]': src/annoymodule.cc:560:3: required from here src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:863:19: note: in expansion of macro 'showUpdate' if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); ^~~~~~~~~~ src/annoylib.h: In instantiation of 'bool AnnoyIndex::load(const char*) [with S = int; T = float; Distance = Euclidean; Random = Kiss64Random]': src/annoymodule.cc:560:3: required from here src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:863:19: note: in expansion of macro 'showUpdate' if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); ^~~~~~~~~~ src/annoylib.h: In instantiation of 'bool AnnoyIndex::load(const char*) [with S = int; T = float; Distance = Angular; Random = Kiss64Random]': src/annoymodule.cc:560:3: required from here src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:863:19: note: in expansion of macro 'showUpdate' if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); ^~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h: In instantiation of 'S AnnoyIndex::_make_tree(const std::vector<_Tp>&, bool) [with S = int; T = float; Distance = DotProduct; Random = Kiss64Random]': src/annoylib.h:770:34: required from 'void AnnoyIndex::build(int) [with S = int; T = float; Distance = DotProduct; Random = Kiss64Random]' src/annoymodule.cc:560:3: required from here src/annoylib.h:921:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indices.size() <= (size_t)_K && (!is_root || _n_items <= (size_t)_K || indices.size() == 1)) { ~~~~~~~~~^~~~~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:963:9: note: in expansion of macro 'showUpdate' showUpdate("Failed splitting %lu items\n", indices.size()); ^~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h: In instantiation of 'S AnnoyIndex::_make_tree(const std::vector<_Tp>&, bool) [with S = int; T = float; Distance = Manhattan; Random = Kiss64Random]': src/annoylib.h:770:34: required from 'void AnnoyIndex::build(int) [with S = int; T = float; Distance = Manhattan; Random = Kiss64Random]' src/annoymodule.cc:560:3: required from here src/annoylib.h:921:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indices.size() <= (size_t)_K && (!is_root || _n_items <= (size_t)_K || indices.size() == 1)) { ~~~~~~~~~^~~~~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:963:9: note: in expansion of macro 'showUpdate' showUpdate("Failed splitting %lu items\n", indices.size()); ^~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h: In instantiation of 'S AnnoyIndex::_make_tree(const std::vector<_Tp>&, bool) [with S = int; T = float; Distance = Euclidean; Random = Kiss64Random]': src/annoylib.h:770:34: required from 'void AnnoyIndex::build(int) [with S = int; T = float; Distance = Euclidean; Random = Kiss64Random]' src/annoymodule.cc:560:3: required from here src/annoylib.h:921:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indices.size() <= (size_t)_K && (!is_root || _n_items <= (size_t)_K || indices.size() == 1)) { ~~~~~~~~~^~~~~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:963:9: note: in expansion of macro 'showUpdate' showUpdate("Failed splitting %lu items\n", indices.size()); ^~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h: In instantiation of 'S AnnoyIndex::_make_tree(const std::vector<_Tp>&, bool) [with S = int; T = float; Distance = Angular; Random = Kiss64Random]': src/annoylib.h:770:34: required from 'void AnnoyIndex::build(int) [with S = int; T = float; Distance = Angular; Random = Kiss64Random]' src/annoymodule.cc:560:3: required from here src/annoylib.h:921:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indices.size() <= (size_t)_K && (!is_root || _n_items <= (size_t)_K || indices.size() == 1)) { ~~~~~~~~~^~~~~~~~~~~~~ In file included from src/annoymodule.cc:15:0: src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:960:9: note: in expansion of macro 'showUpdate' showUpdate("\tNo hyperplane found (left has %ld children, right has %ld children)\n", ^~~~~~~~~~ src/annoylib.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type {aka unsigned int}' [-Wformat=] #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/annoylib.h:963:9: note: in expansion of macro 'showUpdate' showUpdate("Failed splitting %lu items\n", indices.size()); ^~~~~~~~~~ In file included from /usr/include/c++/6/vector:69:0, from src/annoylib.h:47, from src/annoymodule.cc:15: /usr/include/c++/6/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator > >; _Tp = float; _Alloc = std::allocator]': /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' will change in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' will change in GCC 7.1 In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from src/annoylib.h:48, from src/annoymodule.cc:15: /usr/include/c++/6/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _Distance = int; _Tp = std::pair; _Compare = __gnu_cxx::__ops::_Iter_comp_iter > >]': /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' will change in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _Distance = int; _Tp = std::pair; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' will change in GCC 7.1 In file included from /usr/include/c++/6/vector:64:0, from src/annoylib.h:47, from src/annoymodule.cc:15: /usr/include/c++/6/bits/stl_vector.h: In member function 'virtual void HammingWrapper::get_nns_by_vector(const float*, size_t, size_t, std::vector >*, std::vector >*)': /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' will change in GCC 7.1 _M_range_insert(__pos, __first, __last, _IterCategory()); ^~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h: In member function 'virtual void HammingWrapper::get_nns_by_item(int32_t, size_t, size_t, std::vector >*, std::vector >*)': /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' will change in GCC 7.1 _M_range_insert(__pos, __first, __last, _IterCategory()); ^~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' will change in GCC 7.1 arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.5-RUbMX3/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.5/src/annoymodule.o -o build/lib.linux-armv7l-3.5/annoy/annoylib.cpython-35m-arm-linux-gnueabihf.so installing to build/bdist.linux-armv7l/wheel running install running install_lib creating build/bdist.linux-armv7l creating build/bdist.linux-armv7l/wheel creating build/bdist.linux-armv7l/wheel/annoy copying build/lib.linux-armv7l-3.5/annoy/__init__.py -> build/bdist.linux-armv7l/wheel/annoy copying build/lib.linux-armv7l-3.5/annoy/annoylib.cpython-35m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/annoy running install_egg_info running egg_info writing dependency_links to annoy.egg-info/dependency_links.txt writing annoy.egg-info/PKG-INFO writing top-level names to annoy.egg-info/top_level.txt reading manifest file 'annoy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'annoy.egg-info/SOURCES.txt' Copying annoy.egg-info to build/bdist.linux-armv7l/wheel/annoy-1.13.0-py3.5.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/annoy-1.13.0.dist-info/WHEEL Running setup.py bdist_wheel for annoy: finished with status 'done' Stored in directory: /tmp/tmpu2u2cbj_ Successfully built annoy Cleaning up... Removing source in /tmp/pip-wheel-dl7b0xru/annoy Removed build tracker '/tmp/pip-req-tracker-hewt88u5'