Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.py reports numerous installation failures #477

Open
cyberpower678 opened this issue Nov 3, 2023 · 4 comments
Open

install.py reports numerous installation failures #477

cyberpower678 opened this issue Nov 3, 2023 · 4 comments

Comments

@cyberpower678
Copy link

cyberpower678 commented Nov 3, 2023

Just trying to get setup I've already hit some barriers. I've cut out the successful builds from the terminal output and only attached the failed ones below. I would appreciate some help/workarounds to getting these installed.

Terminal output

/home/~/anaconda3/bin/conda run -n ann-benchmark --no-capture-output python install.py

Building diskann...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.79kB 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ann-benchmarks:latest
#3 DONE 0.0s

#4 [ 1/24] FROM docker.io/library/ann-benchmarks
#4 DONE 0.0s

#5 [ 5/24] RUN cd /tmp && wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
#5 CACHED

#6 [ 4/24] RUN pip3 install pybind11 numpy
#6 CACHED

#7 [ 7/24] RUN cd /tmp && rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
#7 CACHED

#8 [ 3/24] RUN apt-get install -y wget git cmake g++ libaio-dev libgoogle-perftools-dev clang-format libboost-dev python3 python3-setuptools python3-pip
#8 CACHED

#9 [ 6/24] RUN cd /tmp && apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
#9 CACHED

#10 [ 2/24] RUN apt-get update
#10 CACHED

#11 [ 8/24] RUN cd /tmp && sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
#11 CACHED

#12 [ 9/24] RUN apt-get update
#12 0.623 Get:1 https://apt.repos.intel.com/mkl all InRelease [4438 B]
#12 0.723 Err:1 https://apt.repos.intel.com/mkl all InRelease
#12 0.723 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BAC6F0C353D04109
#12 0.963 Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
#12 1.322 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
#12 1.466 Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
#12 2.286 Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
#12 3.233 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1419 kB]
#12 4.947 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [49.9 kB]
#12 5.339 Reading package lists...
#12 5.933 W: GPG error: https://apt.repos.intel.com/mkl all InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BAC6F0C353D04109
#12 5.933 E: The repository 'https://apt.repos.intel.com/mkl all InRelease' is not signed.
#12 ERROR: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100

[ 9/24] RUN apt-get update:
0.723 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BAC6F0C353D04109
0.963 Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
1.322 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
1.466 Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
2.286 Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
3.233 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1419 kB]
4.947 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [49.9 kB]

5.933 W: GPG error: https://apt.repos.intel.com/mkl all InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BAC6F0C353D04109
5.933 E: The repository 'https://apt.repos.intel.com/mkl all InRelease' is not signed.

Dockerfile:11

9 | RUN cd /tmp && rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
10 | RUN cd /tmp && sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
11 | >>> RUN apt-get update
12 | RUN apt-get install -y intel-mkl-64bit-2020.0-088
13 |

ERROR: failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100

Building kgraph...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 30B 0.0s
#1 transferring dockerfile: 363B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ann-benchmarks:latest
#3 DONE 0.0s

#4 [1/5] FROM docker.io/library/ann-benchmarks
#4 DONE 0.0s

#5 [2/5] RUN apt-get update && apt-get install -y libboost-timer-dev libboost-chrono-dev libboost-program-options-dev libboost-system-dev libboost-python-dev
#5 CACHED

#6 [3/5] RUN git clone https://github.com/aaalgo/kgraph
#6 CACHED

#7 [4/5] RUN cd kgraph && python3 setup.py build && python3 setup.py install
#7 CACHED

#8 [5/5] RUN python3 -c 'import pykgraph'
#8 0.336 Traceback (most recent call last):
#8 0.336 File "", line 1, in
#8 0.336 ModuleNotFoundError: No module named 'pykgraph'
#8 ERROR: process "/bin/sh -c python3 -c 'import pykgraph'" did not complete successfully: exit code: 1

[5/5] RUN python3 -c 'import pykgraph':
0.336 Traceback (most recent call last):
0.336 File "", line 1, in
0.336 ModuleNotFoundError: No module named 'pykgraph'


Dockerfile:6

4 | RUN git clone https://github.com/aaalgo/kgraph
5 | RUN cd kgraph && python3 setup.py build && python3 setup.py install
6 | >>> RUN python3 -c 'import pykgraph'
7 |

ERROR: failed to solve: process "/bin/sh -c python3 -c 'import pykgraph'" did not complete successfully: exit code: 1

Building luceneknn...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.60kB 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ann-benchmarks:latest
#3 DONE 0.0s

#4 [ 1/20] FROM docker.io/library/ann-benchmarks
#4 DONE 0.0s

#5 [14/20] WORKDIR /home/app/pylucene-9.7.0
#5 CACHED

#6 [16/20] RUN mkdir lucene-java-9.7.0/lucene/extensions/src/java/org/apache/pylucene/codecs
#6 CACHED

#7 [ 9/20] RUN wget https://dlcdn.apache.org/lucene/pylucene/pylucene-9.7.0-src.tar.gz
#7 CACHED

#8 [10/20] RUN tar -xzf pylucene-9.7.0-src.tar.gz
#8 CACHED

#9 [13/20] RUN python3 ./setup.py install
#9 CACHED

#10 [ 6/20] RUN echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
#10 CACHED

#11 [15/20] RUN make lucene-java-9.7.0
#11 CACHED

#12 [11/20] WORKDIR /home/app/pylucene-9.7.0/jcc
#12 CACHED

#13 [ 2/20] WORKDIR /home/app
#13 CACHED

#14 [ 8/20] RUN apt-get install -y temurin-20-jdk temurin-17-jdk
#14 CACHED

#15 [ 3/20] RUN apt-get update
#15 CACHED

#16 [12/20] RUN python3 ./setup.py build
#16 CACHED

#17 [ 7/20] RUN apt-get update
#17 CACHED

#18 [ 4/20] RUN apt-get install -y wget apt-transport-https gnupg
#18 CACHED

#19 [ 5/20] RUN wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add -
#19 CACHED

#20 [17/20] RUN wget -O ./lucene-java-9.7.0/lucene/extensions/src/java/org/apache/pylucene/codecs/PyLucene95Codec.java https://gist.githubusercontent.com/benwtrent/79d70d59716f0e25833c5ea84d956c12/raw/8f529f3437c2fb8318f0127ecd71c960e43e0a7f/PyLucene95Codec.java
#20 CACHED

#21 [18/20] RUN make
#21 0.240 (cd lucene-java-9.7.0; ./gradlew collectRuntimeJars)
#21 1.731 Generating gradle.properties
#21 1.808 Downloading https://services.gradle.org/distributions/gradle-7.6-bin.zip
#21 2.394 ...........10%............20%...........30%............40%............50%...........60%............70%............80%...........90%............100%
#21 6.166
#21 6.166 Welcome to Gradle 7.6!
#21 6.166
#21 6.167 Here are the highlights of this release:
#21 6.167 - Added support for Java 19.
#21 6.168 - Introduced --rerun flag for individual task rerun.
#21 6.168 - Improved dependency block for test suites to be strongly typed.
#21 6.168 - Added a pluggable system for Java toolchains provisioning.
#21 6.168
#21 6.169 For more details see https://docs.gradle.org/7.6/release-notes.html
#21 6.169
#21 6.265 Starting a Gradle Daemon (subsequent builds will be faster)
#21 28.27 > Task :buildSrc:compileJava
#21 28.27 > Task :buildSrc:compileGroovy NO-SOURCE
#21 28.27 > Task :buildSrc:processResources NO-SOURCE
#21 28.27 > Task :buildSrc:classes
#21 28.37 > Task :buildSrc:jar
#21 28.37 > Task :buildSrc:assemble
#21 28.37 > Task :buildSrc:compileTestJava NO-SOURCE
#21 28.37 > Task :buildSrc:compileTestGroovy NO-SOURCE
#21 28.37 > Task :buildSrc:processTestResources NO-SOURCE
#21 28.37 > Task :buildSrc:testClasses UP-TO-DATE
#21 28.37 > Task :buildSrc:test NO-SOURCE
#21 28.37 > Task :buildSrc:check UP-TO-DATE
#21 28.37 > Task :buildSrc:build
#21 98.77
#21 98.87 FAILURE: Build completed with 2 failures.
#21 98.87
#21 98.87 1: Task failed with an exception.
#21 98.87 -----------
#21 98.87 * Where:
#21 98.87 Build file '/home/app/pylucene-9.7.0/lucene-java-9.7.0/build.gradle' line: 124
#21 98.87
#21 98.87 * What went wrong:
#21 98.87 A problem occurred evaluating root project 'lucene-root'.
#21 98.87 > Could not determine the dependencies of null.
#21 98.87 > Could not resolve all task dependencies for configuration 'classpath'.
#21 98.87 > Could not resolve com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.7.2.
#21 98.87 Required by:
#21 98.87 unspecified:unspecified:unspecified
#21 98.87 > Could not resolve com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.7.2.
#21 98.87 > Could not get resource 'https://repo.maven.apache.org/maven2/com/carrotsearch/randomizedtesting/randomizedtesting-runner/2.7.2/randomizedtesting-runner-2.7.2.pom'.
#21 98.87 > Could not GET 'https://repo.maven.apache.org/maven2/com/carrotsearch/randomizedtesting/randomizedtesting-runner/2.7.2/randomizedtesting-runner-2.7.2.pom'.
#21 98.87 > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.6/userguide/build_environment.html#gradle_system_properties
#21 98.87 > Remote host terminated the handshake
#21 98.87
#21 98.87 * Try:
#21 98.87 > Run with --stacktrace option to get the stack trace.
#21 98.87 > Run with --info or --debug option to get more log output.
#21 98.87 > Run with --scan to get full insights.
#21 98.87 ==============================================================================
#21 98.87
#21 98.87 2: Task failed with an exception.
#21 98.87 -----------
#21 98.87 * Where:
#21 98.87 Script '/home/app/pylucene-9.7.0/lucene-java-9.7.0/gradle/java/javac.gradle' line: 70
#21 98.87
#21 98.87 * What went wrong:
#21 98.87 A problem occurred evaluating project ':lucene:analysis.tests'.
#21 98.87 > Failed to apply plugin class 'org.gradle.api.plugins.JavaPlugin'.
#21 98.87 > Could not get unknown property 'runtimeJavaVersion' for root project 'lucene-root' of type org.gradle.api.Project.
#21 98.87
#21 98.87 * Try:
#21 98.87 > Run with --stacktrace option to get the stack trace.
#21 98.87 > Run with --info or --debug option to get more log output.
#21 98.87 > Run with --scan to get full insights.
#21 98.87 ==============================================================================
#21 98.87
#21 98.87 * Get more help at https://help.gradle.org
#21 98.87
#21 98.87 BUILD FAILED in 1m 36s
#21 98.87 2 actionable tasks: 2 executed
#21 99.19 make: *** [Makefile:172: lucene] Error 1
#21 ERROR: process "/bin/sh -c make" did not complete successfully: exit code: 2

[18/20] RUN make:
98.87 > Run with --stacktrace option to get the stack trace.
98.87 > Run with --info or --debug option to get more log output.
98.87 > Run with --scan to get full insights.
98.87 ==============================================================================
98.87
98.87 * Get more help at https://help.gradle.org
98.87
98.87 BUILD FAILED in 1m 36s
98.87 2 actionable tasks: 2 executed
99.19 make: *** [Makefile:172: lucene] Error 1


Dockerfile:30

28 | RUN mkdir lucene-java-9.7.0/lucene/extensions/src/java/org/apache/pylucene/codecs
29 | RUN wget -O ./lucene-java-9.7.0/lucene/extensions/src/java/org/apache/pylucene/codecs/PyLucene95Codec.java https://gist.githubusercontent.com/benwtrent/79d70d59716f0e25833c5ea84d956c12/raw/8f529f3437c2fb8318f0127ecd71c960e43e0a7f/PyLucene95Codec.java
30 | >>> RUN make
31 | RUN make install
32 | # Switch back to jdk20 for panama vectorization support

ERROR: failed to solve: process "/bin/sh -c make" did not complete successfully: exit code: 2

@cyberpower678
Copy link
Author

Terminal output continued Building milvus... #0 building with "default" instance using docker driver

#1 [internal] load .dockerignore
#1 transferring context: 55B 0.0s done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 340B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/milvusdb/knowhere-env:pyknowhere1.3-20230303
#3 ...

#4 [auth] milvusdb/knowhere-env:pull token for registry-1.docker.io
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/milvusdb/knowhere-env:pyknowhere1.3-20230303
#3 DONE 2.3s

#5 [1/6] FROM docker.io/milvusdb/knowhere-env:pyknowhere1.3-20230303@sha256:167c3819db92f9458fa6cfe6878a08885a07396453bfbbcb9e48334bb9e5cb98
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 73B 0.0s done
#6 DONE 0.0s

#7 [3/6] COPY run_algorithm.py requirements.txt ./
#7 CACHED

#8 [4/6] RUN pip3 install -r requirements.txt
#8 CACHED

#9 [2/6] WORKDIR /home/app
#9 CACHED

#10 [5/6] RUN pip3 install scipy==1.10.1
#10 CACHED

#11 [6/6] RUN python3 -c 'import pyknowhere'
#11 0.338 Illegal instruction
#11 ERROR: process "/bin/sh -c python3 -c 'import pyknowhere'" did not complete successfully: exit code: 132

[6/6] RUN python3 -c 'import pyknowhere':
0.338 Illegal instruction


Dockerfile:9

7 | RUN pip3 install -r requirements.txt
8 | RUN pip3 install scipy==1.10.1
9 | >>> RUN python3 -c 'import pyknowhere'
10 |
11 | ENTRYPOINT ["python3", "-u", "run_algorithm.py"]

ERROR: failed to solve: process "/bin/sh -c python3 -c 'import pyknowhere'" did not complete successfully: exit code: 132

Building rpforest...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 189B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ann-benchmarks:latest
#3 DONE 0.0s

#4 [1/4] FROM docker.io/library/ann-benchmarks
#4 DONE 0.0s

#5 [2/4] RUN git clone https://github.com/lyst/rpforest
#5 CACHED

#6 [3/4] RUN cd rpforest && python3 setup.py install
#6 0.511 running install
#6 0.511 /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#6 0.511 warnings.warn(
#6 0.536 /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
#6 0.536 warnings.warn(
#6 0.568 running bdist_egg
#6 0.568 running egg_info
#6 0.568 creating rpforest.egg-info
#6 0.569 writing rpforest.egg-info/PKG-INFO
#6 0.569 writing dependency_links to rpforest.egg-info/dependency_links.txt
#6 0.569 writing requirements to rpforest.egg-info/requires.txt
#6 0.569 writing top-level names to rpforest.egg-info/top_level.txt
#6 0.569 writing manifest file 'rpforest.egg-info/SOURCES.txt'
#6 0.572 reading manifest file 'rpforest.egg-info/SOURCES.txt'
#6 0.572 reading manifest template 'MANIFEST.in'
#6 0.573 adding license file 'LICENSE'
#6 0.573 writing manifest file 'rpforest.egg-info/SOURCES.txt'
#6 0.573 installing library code to build/bdist.linux-x86_64/egg
#6 0.573 running install_lib
#6 0.573 running build_py
#6 0.574 creating build
#6 0.574 creating build/lib.linux-x86_64-3.10
#6 0.574 creating build/lib.linux-x86_64-3.10/rpforest
#6 0.574 copying rpforest/rpforest.py -> build/lib.linux-x86_64-3.10/rpforest
#6 0.575 copying rpforest/init.py -> build/lib.linux-x86_64-3.10/rpforest
#6 0.575 copying rpforest/VERSION -> build/lib.linux-x86_64-3.10/rpforest
#6 0.575 copying rpforest/rpforest_fast.cpp -> build/lib.linux-x86_64-3.10/rpforest
#6 0.579 copying rpforest/rpforest_fast.pyx -> build/lib.linux-x86_64-3.10/rpforest
#6 0.580 running build_ext
#6 0.580 building 'rpforest.rpforest_fast' extension
#6 0.581 creating build/temp.linux-x86_64-3.10
#6 0.581 creating build/temp.linux-x86_64-3.10/rpforest
#6 0.581 x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.10/dist-packages/numpy/core/include -I/usr/include/python3.10 -c rpforest/rpforest_fast.cpp -o build/temp.linux-x86_64-3.10/rpforest/rpforest_fast.o -ffast-math
#6 0.631 In file included from /usr/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940,
#6 0.631 from /usr/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
#6 0.631 from /usr/local/lib/python3.10/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
#6 0.631 from rpforest/rpforest_fast.cpp:635:
#6 0.631 /usr/local/lib/python3.10/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#6 0.631 17 | #warning "Using deprecated NumPy API, disable it with "
#6 0.631 | ^~~~~~~
#6 1.007 rpforest/rpforest_fast.cpp: In function ‘PyObject* __pyx_gb_8rpforest_13rpforest_fast_4Tree_10generator(__pyx_CoroutineObject*, PyThreadState*, PyObject*)’:
#6 1.007 rpforest/rpforest_fast.cpp:5360:31: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘std::vector<__pyx_t_8rpforest_13rpforest_fast_Node*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
#6 1.007 5360 | if (unlikely(!((__pyx_t_2 == __pyx_cur_scope->__pyx_v_leaves.size()) != 0))) {
#6 1.007 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.007 rpforest/rpforest_fast.cpp:835:43: note: in definition of macro ‘unlikely’
#6 1.007 835 | #define unlikely(x) __builtin_expect(!!(x), 0)
#6 1.007 | ^
#6 1.023 rpforest/rpforest_fast.cpp: In function ‘void __pyx_f_8rpforest_13rpforest_fast_make_tree(__pyx_t_8rpforest_13rpforest_fast_Node*, __pyx_t_8rpforest_13rpforest_fast_Hyperplanes*, __Pyx_memviewslice, unsigned int, unsigned int)’:
#6 1.023 rpforest/rpforest_fast.cpp:7203:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
#6 1.023 7203 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
#6 1.023 | ~~~~~~~~~~^~~~~~~~~~~
#6 1.024 rpforest/rpforest_fast.cpp:7291:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
#6 1.024 7291 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
#6 1.024 | ~~~~~~~~~~^~~~~~~~~~~
#6 1.027 rpforest/rpforest_fast.cpp: In function ‘void __pyx_f_8rpforest_13rpforest_fast_add_hyperplane(__pyx_t_8rpforest_13rpforest_fast_Hyperplanes*)’:
#6 1.027 rpforest/rpforest_fast.cpp:7968:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
#6 1.027 7968 | for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
#6 1.027 | ~~~~~~~~~~^~~~~~~~~~~
#6 1.088 In file included from /usr/include/python3.10/Python.h:74,
#6 1.088 from rpforest/rpforest_fast.cpp:27:
#6 1.088 rpforest/rpforest_fast.cpp: In function ‘void __pyx_tp_dealloc_8rpforest_13rpforest_fast_Tree(PyObject*)’:
#6 1.088 /usr/include/python3.10/object.h:133:33: error: lvalue required as increment operand
#6 1.088 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.088 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.088 rpforest/rpforest_fast.cpp:25779:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.088 25779 | ++Py_REFCNT(o);
#6 1.088 | ^~~~~~~~~
#6 1.088 /usr/include/python3.10/object.h:133:33: error: lvalue required as decrement operand
#6 1.088 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.088 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.088 rpforest/rpforest_fast.cpp:25781:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.088 25781 | --Py_REFCNT(o);
#6 1.088 | ^~~~~~~~~
#6 1.090 rpforest/rpforest_fast.cpp: In function ‘void __pyx_tp_dealloc_array(PyObject*)’:
#6 1.090 /usr/include/python3.10/object.h:133:33: error: lvalue required as increment operand
#6 1.090 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.090 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.090 rpforest/rpforest_fast.cpp:26016:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.090 26016 | ++Py_REFCNT(o);
#6 1.090 | ^~~~~~~~~
#6 1.090 /usr/include/python3.10/object.h:133:33: error: lvalue required as decrement operand
#6 1.090 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.090 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.090 rpforest/rpforest_fast.cpp:26018:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.090 26018 | --Py_REFCNT(o);
#6 1.090 | ^~~~~~~~~
#6 1.092 rpforest/rpforest_fast.cpp: In function ‘void __pyx_tp_dealloc_memoryview(PyObject*)’:
#6 1.092 /usr/include/python3.10/object.h:133:33: error: lvalue required as increment operand
#6 1.092 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.092 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.092 rpforest/rpforest_fast.cpp:26327:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.092 26327 | ++Py_REFCNT(o);
#6 1.092 | ^~~~~~~~~
#6 1.092 /usr/include/python3.10/object.h:133:33: error: lvalue required as decrement operand
#6 1.092 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.092 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.092 rpforest/rpforest_fast.cpp:26329:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.092 26329 | --Py_REFCNT(o);
#6 1.092 | ^~~~~~~~~
#6 1.093 rpforest/rpforest_fast.cpp: In function ‘void __pyx_tp_dealloc__memoryviewslice(PyObject*)’:
#6 1.093 /usr/include/python3.10/object.h:133:33: error: lvalue required as increment operand
#6 1.093 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.093 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.093 rpforest/rpforest_fast.cpp:26577:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.093 26577 | ++Py_REFCNT(o);
#6 1.093 | ^~~~~~~~~
#6 1.093 /usr/include/python3.10/object.h:133:33: error: lvalue required as decrement operand
#6 1.093 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
#6 1.093 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.093 rpforest/rpforest_fast.cpp:26579:7: note: in expansion of macro ‘Py_REFCNT’
#6 1.093 26579 | --Py_REFCNT(o);
#6 1.093 | ^~~~~~~~~
#6 1.104 In file included from /usr/include/python3.10/unicodeobject.h:1046,
#6 1.104 from /usr/include/python3.10/Python.h:83,
#6 1.104 from rpforest/rpforest_fast.cpp:27:
#6 1.104 rpforest/rpforest_fast.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’:
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#6 1.104 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#6 1.104 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.104 261 | PyUnicode_WSTR_LENGTH(op) :
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.104 rpforest/rpforest_fast.cpp:28209:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.104 28209 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.104 | ^~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.104 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE
PyUnicode_AsUnicode(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.104 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
#6 1.104 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#6 1.104 rpforest/rpforest_fast.cpp:28209:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.104 28209 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.104 | ^~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#6 1.104 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
#6 1.104 | ^~~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.104 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.104 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.104 264 | PyUnicode_WSTR_LENGTH(op)))
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.104 rpforest/rpforest_fast.cpp:28209:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.104 28209 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.104 | ^~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.104 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.104 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.104 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.104 261 | PyUnicode_WSTR_LENGTH(op) :
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.104 rpforest/rpforest_fast.cpp:28209:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.104 28209 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.104 | ^~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.104 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE
PyUnicode_AsUnicode(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.104 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
#6 1.104 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#6 1.104 rpforest/rpforest_fast.cpp:28209:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.104 28209 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.104 | ^~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#6 1.104 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
#6 1.104 | ^~~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.104 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.104 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.104 264 | PyUnicode_WSTR_LENGTH(op)))
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.104 rpforest/rpforest_fast.cpp:28209:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.104 28209 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.104 | ^~~~~~~~~~~~~~~~~~
#6 1.104 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.104 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.104 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.105 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.105 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.105 261 | PyUnicode_WSTR_LENGTH(op) :
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.105 rpforest/rpforest_fast.cpp:28225:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.105 28225 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.105 | ^~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.105 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE
PyUnicode_AsUnicode(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.105 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
#6 1.105 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#6 1.105 rpforest/rpforest_fast.cpp:28225:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.105 28225 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.105 | ^~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#6 1.105 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
#6 1.105 | ^~~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.105 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.105 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.105 264 | PyUnicode_WSTR_LENGTH(op)))
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.105 rpforest/rpforest_fast.cpp:28225:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.105 28225 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.105 | ^~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.105 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.105 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.105 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.105 261 | PyUnicode_WSTR_LENGTH(op) :
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.105 rpforest/rpforest_fast.cpp:28225:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.105 28225 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.105 | ^~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.105 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE
PyUnicode_AsUnicode(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.105 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
#6 1.105 | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#6 1.105 rpforest/rpforest_fast.cpp:28225:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.105 28225 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.105 | ^~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#6 1.105 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
#6 1.105 | ^~~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject
)’ is deprecated [-Wdeprecated-declarations]
#6 1.105 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject
)op)
#6 1.105 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#6 1.105 264 | PyUnicode_WSTR_LENGTH(op)))
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.105 rpforest/rpforest_fast.cpp:28225:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#6 1.105 28225 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#6 1.105 | ^~~~~~~~~~~~~~~~~~
#6 1.105 /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#6 1.105 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) {
#6 1.105 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#6 1.119 rpforest/rpforest_fast.cpp: In function ‘PyObject
__Pyx_decode_c_string(const char
, Py_ssize_t, Py_ssize_t, const char
, const char
, PyObject
()(const char, Py_ssize_t, const char*))’:
#6 1.119 rpforest/rpforest_fast.cpp:30226:37: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations]
#6 1.119 30226 | return PyUnicode_FromUnicode(NULL, 0);
#6 1.119 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
#6 1.119 In file included from /usr/include/python3.10/unicodeobject.h:1046,
#6 1.119 from /usr/include/python3.10/Python.h:83,
#6 1.119 from rpforest/rpforest_fast.cpp:27:
#6 1.119 /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
#6 1.119 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
#6 1.119 | ^~~~~~~~~~~~~~~~~~~~~
#6 1.152 rpforest/rpforest_fast.cpp: In function ‘PyObject* __Pyx_Coroutine_Send(PyObject*, PyObject*)’:
#6 1.152 rpforest/rpforest_fast.cpp:33225:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
#6 1.152 33225 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
#6 1.152 | ^~~~~~~~~~~
#6 1.152 | _PyGen_yf
#6 1.157 rpforest/rpforest_fast.cpp:33230:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
#6 1.157 33230 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
#6 1.157 | ^~~~~~~~~~~
#6 1.157 | _PyGen_yf
#6 1.163 rpforest/rpforest_fast.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’:
#6 1.163 rpforest/rpforest_fast.cpp:33314:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
#6 1.163 33314 | ret = _PyGen_Send((PyGenObject*)yf, NULL);
#6 1.163 | ^~~~~~~~~~~
#6 1.163 | _PyGen_yf
#6 1.341 error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
#6 ERROR: process "/bin/sh -c cd rpforest && python3 setup.py install" did not complete successfully: exit code: 1

[3/4] RUN cd rpforest && python3 setup.py install:
1.157 rpforest/rpforest_fast.cpp:33230:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
1.157 33230 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
1.157 | ^~~~~~~~~~~
1.157 | _PyGen_yf
1.163 rpforest/rpforest_fast.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’:
1.163 rpforest/rpforest_fast.cpp:33314:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
1.163 33314 | ret = _PyGen_Send((PyGenObject*)yf, NULL);
1.163 | ^~~~~~~~~~~
1.163 | _PyGen_yf
1.341 error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1


Dockerfile:4

2 |
3 | RUN git clone https://github.com/lyst/rpforest
4 | >>> RUN cd rpforest && python3 setup.py install
5 | RUN python3 -c 'import rpforest'
6 |

ERROR: failed to solve: process "/bin/sh -c cd rpforest && python3 setup.py install" did not complete successfully: exit code: 1

Building sptag...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 936B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ann-benchmarks:latest
#3 DONE 0.0s

#4 [1/7] FROM docker.io/library/ann-benchmarks
#4 DONE 0.0s

#5 [2/7] RUN git clone --recursive https://github.com/microsoft/SPTAG
#5 CACHED

#6 [4/7] RUN cd SPTAG && wget -qO- https://github.com/pabs3/SPTAG/commit/bd9c25d1409325ac45ebeb7f1e8fc87d03ec478c.patch | git apply && cd ..
#6 CACHED

#7 [3/7] RUN apt-get update && apt-get -y install wget build-essential cmake libboost-all-dev libtbb-dev software-properties-common swig
#7 CACHED

#8 [5/7] RUN apt-get -y remove libpython2.7
#8 CACHED

#9 [6/7] RUN cd SPTAG && mkdir build && cd build && cmake .. && make && cd ..
#9 0.328 -- The C compiler identification is GNU 11.4.0
#9 0.370 -- The CXX compiler identification is GNU 11.4.0
#9 0.377 -- Detecting C compiler ABI info
#9 0.426 -- Detecting C compiler ABI info - done
#9 0.433 -- Check for working C compiler: /usr/bin/cc - skipped
#9 0.433 -- Detecting C compile features
#9 0.433 -- Detecting C compile features - done
#9 0.436 -- Detecting CXX compiler ABI info
#9 0.490 -- Detecting CXX compiler ABI info - done
#9 0.497 -- Check for working CXX compiler: /usr/bin/c++ - skipped
#9 0.497 -- Detecting CXX compile features
#9 0.497 -- Detecting CXX compile features - done
#9 0.507 -- Found numa library: inc=/usr/include, lib=/usr/lib/x86_64-linux-gnu/libnuma.so, staticlib=/usr/lib/x86_64-linux-gnu/libnuma.a
#9 0.507 -- Build type: Release
#9 0.507 -- Platform type: x64
#9 0.676 -- Found OpenMP_C: -fopenmp (found version "4.5")
#9 0.734 -- Found OpenMP_CXX: -fopenmp (found version "4.5")
#9 0.734 -- Found OpenMP: TRUE (found version "4.5")
#9 0.734 -- Found openmp.
#9 0.848 -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.66") found components: system thread serialization wserialization regex filesystem
#9 0.849 -- Found Boost.
#9 0.849 -- Include Path: /usr/include
#9 0.849 -- Library Path: /usr/lib/x86_64-linux-gnu
#9 0.849 -- Library: Boost::system;Boost::thread;Boost::serialization;Boost::wserialization;Boost::regex;Boost::filesystem
#9 0.851 -- ZSTD VERSION: 1.5.2
#9 0.855 -- Performing Test CXX_FLAG_STD_CPLUSPLUS11
#9 0.909 -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success
#9 0.909 -- Performing Test C_FLAG_STD_C99
#9 0.954 -- Performing Test C_FLAG_STD_C99 - Success
#9 0.954 -- Performing Test C_FLAG_WALL
#9 0.999 -- Performing Test C_FLAG_WALL - Success
#9 1.000 -- Performing Test CXX_FLAG_WALL
#9 1.053 -- Performing Test CXX_FLAG_WALL - Success
#9 1.054 -- Performing Test C_FLAG_WEXTRA
#9 1.100 -- Performing Test C_FLAG_WEXTRA - Success
#9 1.101 -- Performing Test CXX_FLAG_WEXTRA
#9 1.155 -- Performing Test CXX_FLAG_WEXTRA - Success
#9 1.155 -- Performing Test C_FLAG_WUNDEF
#9 1.201 -- Performing Test C_FLAG_WUNDEF - Success
#9 1.202 -- Performing Test CXX_FLAG_WUNDEF
#9 1.255 -- Performing Test CXX_FLAG_WUNDEF - Success
#9 1.255 -- Performing Test C_FLAG_WSHADOW
#9 1.302 -- Performing Test C_FLAG_WSHADOW - Success
#9 1.302 -- Performing Test CXX_FLAG_WSHADOW
#9 1.356 -- Performing Test CXX_FLAG_WSHADOW - Success
#9 1.356 -- Performing Test C_FLAG_WCAST_ALIGN
#9 1.402 -- Performing Test C_FLAG_WCAST_ALIGN - Success
#9 1.402 -- Performing Test CXX_FLAG_WCAST_ALIGN
#9 1.457 -- Performing Test CXX_FLAG_WCAST_ALIGN - Success
#9 1.457 -- Performing Test C_FLAG_WCAST_QUAL
#9 1.502 -- Performing Test C_FLAG_WCAST_QUAL - Success
#9 1.503 -- Performing Test CXX_FLAG_WCAST_QUAL
#9 1.556 -- Performing Test CXX_FLAG_WCAST_QUAL - Success
#9 1.556 -- Performing Test C_FLAG_WSTRICT_PROTOTYPES
#9 1.601 -- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success
#9 1.601 -- CMAKE_INSTALL_PREFIX: /usr/local
#9 1.601 -- CMAKE_INSTALL_LIBDIR: lib
#9 1.601 -- ZSTD_LEGACY_SUPPORT not defined!
#9 1.601 -- ZSTD_MULTITHREAD_SUPPORT is enabled
#9 1.602 -- Found Threads: TRUE
#9 1.609 -- The ASM compiler identification is GNU
#9 1.610 -- Found assembler: /usr/bin/cc
#9 1.725 -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1")
#9 2.469 -- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1")
#9 2.469 -- Found MPI: TRUE (found version "3.1")
#9 2.470 -- Found MPI.
#9 2.470 -- MPI Include Path: /usr/lib/x86_64-linux-gnu/openmpi/include;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
#9 2.470 -- MPI Libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
#9 2.471 -- BOOST_TEST_DYN_LINK
#9 2.477 -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.66") found components: system thread serialization wserialization regex filesystem unit_test_framework
#9 2.478 -- Found Boost.
#9 2.478 -- Include Path: /usr/include
#9 2.478 -- Library Path: /usr/lib/x86_64-linux-gnu
#9 2.478 -- Library: Boost::system;Boost::thread;Boost::serialization;Boost::wserialization;Boost::regex;Boost::filesystem;Boost::unit_test_framework
#9 2.481 CUDA_TOOLKIT_ROOT_DIR not found or specified
#9 2.483 -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
#9 2.484 -- Could not find cuda.
#9 2.586 -- Found Python3: /usr/include/python3.10 (found version "3.10.12") found components: Development Development.Module Development.Embed
#9 2.588 CUDA_TOOLKIT_ROOT_DIR not found or specified
#9 2.590 -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
#9 2.591 -- Could not find cuda.
#9 2.591 -- Found Python.
#9 2.591 -- Include Path: /usr/include/python3.10
#9 2.591 -- Library Path: /usr/lib/x86_64-linux-gnu/libpython3.10.so
#9 2.828 -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
#9 2.828 -- Could not find JNI.
#9 2.828 -- Could not find C#.
#9 2.829 -- Configuring done
#9 2.889 -- Generating done
#9 2.892 -- Build files have been written to: /home/app/SPTAG/build
#9 2.917 Scanning dependencies of target libzstd_shared
#9 2.923 [ 1%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/common/debug.c.o
#9 2.936 [ 1%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/common/entropy_common.c.o
#9 3.041 [ 2%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/common/error_private.c.o
#9 3.072 [ 2%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/common/fse_decompress.c.o
#9 3.363 [ 3%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/common/pool.c.o
#9 3.434 [ 3%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/common/threading.c.o
#9 3.450 [ 3%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/common/xxhash.c.o
#9 3.543 [ 4%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/common/zstd_common.c.o
#9 3.584 [ 4%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/fse_compress.c.o
#9 3.768 [ 5%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/compress/hist.c.o
#9 3.830 [ 5%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/huf_compress.c.o
#9 4.463 [ 6%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/compress/zstd_compress.c.o
#9 5.651 [ 6%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/zstd_compress_literals.c.o
#9 5.711 [ 7%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/compress/zstd_compress_sequences.c.o
#9 5.855 [ 7%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/zstd_compress_superblock.c.o
#9 5.981 [ 8%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/compress/zstd_double_fast.c.o
#9 7.304 [ 8%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/zstd_fast.c.o
#9 8.502 [ 9%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/compress/zstd_lazy.c.o
#9 12.92 [ 9%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/zstd_ldm.c.o
#9 13.12 [ 10%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/compress/zstd_opt.c.o
#9 14.41 [ 10%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/compress/zstdmt_compress.c.o
#9 14.70 [ 10%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/decompress/huf_decompress.c.o
#9 16.09 [ 11%] Building ASM object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/decompress/huf_decompress_amd64.S.o
#9 16.10 [ 11%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/decompress/zstd_ddict.c.o
#9 16.16 [ 12%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/decompress/zstd_decompress.c.o
#9 16.47 [ 12%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/decompress/zstd_decompress_block.c.o
#9 17.57 [ 13%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/dictBuilder/cover.c.o
#9 17.78 [ 13%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/dictBuilder/divsufsort.c.o
#9 18.58 [ 14%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir////lib/dictBuilder/fastcover.c.o
#9 18.74 [ 14%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/
///lib/dictBuilder/zdict.c.o
#9 19.02 [ 15%] Linking C shared library ../../../../../../Release/libzstd.so
#9 19.07 [ 15%] Built target libzstd_shared
#9 19.07 Scanning dependencies of target libzstd_static
#9 19.08 [ 15%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/debug.c.o
#9 19.09 [ 16%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/entropy_common.c.o
#9 19.20 [ 16%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/error_private.c.o
#9 19.23 [ 16%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/fse_decompress.c.o
#9 19.51 [ 17%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/pool.c.o
#9 19.58 [ 17%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/threading.c.o
#9 19.60 [ 18%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/xxhash.c.o
#9 19.69 [ 18%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/zstd_common.c.o
#9 19.73 [ 19%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/fse_compress.c.o
#9 19.92 [ 19%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/hist.c.o
#9 19.98 [ 20%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/huf_compress.c.o
#9 20.61 [ 20%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_compress.c.o
#9 21.79 [ 21%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_compress_literals.c.o
#9 21.85 [ 21%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_compress_sequences.c.o
#9 21.99 [ 22%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_compress_superblock.c.o
#9 22.12 [ 22%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_double_fast.c.o
#9 23.45 [ 23%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_fast.c.o
#9 24.64 [ 23%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_lazy.c.o
#9 29.02 [ 23%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_ldm.c.o
#9 29.22 [ 24%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_opt.c.o
#9 30.50 [ 24%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstdmt_compress.c.o
#9 30.80 [ 25%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/decompress/huf_decompress.c.o
#9 32.17 [ 25%] Building ASM object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/decompress/huf_decompress_amd64.S.o
#9 32.19 [ 26%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/decompress/zstd_ddict.c.o
#9 32.25 [ 26%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/decompress/zstd_decompress.c.o
#9 32.55 [ 27%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/decompress/zstd_decompress_block.c.o
#9 33.65 [ 27%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/dictBuilder/cover.c.o
#9 33.87 [ 28%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/dictBuilder/divsufsort.c.o
#9 34.67 [ 28%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/dictBuilder/fastcover.c.o
#9 34.83 [ 29%] Building C object ThirdParty/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/dictBuilder/zdict.c.o
#9 35.11 [ 29%] Linking C static library ../../../../../../Release/libzstd.a
#9 35.14 [ 29%] Built target libzstd_static
#9 35.15 [ 29%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir////programs/zstdcli.c.o
#9 35.54 [ 30%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir/
///programs/util.c.o
#9 35.76 [ 30%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir////programs/timefn.c.o
#9 35.78 [ 31%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir/
///programs/fileio.c.o
#9 36.43 [ 31%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir////programs/benchfn.c.o
#9 36.49 [ 32%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir/
///programs/benchzstd.c.o
#9 36.77 [ 32%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir////programs/datagen.c.o
#9 36.84 [ 32%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir/
///programs/dibio.c.o
#9 36.94 [ 33%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd.dir////programs/zstdcli_trace.c.o
#9 36.99 [ 33%] Linking C executable ../../../../../../Release/zstd
#9 37.03 [ 33%] Built target zstd
#9 37.04 [ 34%] Creating zstdcat symlink
#9 37.05 [ 34%] Built target zstdcat
#9 37.06 [ 34%] Creating unzstd symlink
#9 37.07 [ 34%] Built target unzstd
#9 37.08 [ 34%] Copying manpage zstd.1
#9 37.09 [ 34%] Built target zstd.1
#9 37.10 [ 35%] Copying manpage zstdgrep.1
#9 37.11 [ 35%] Built target zstdgrep.1
#9 37.12 [ 35%] Copying manpage zstdless.1
#9 37.13 [ 35%] Built target zstdless.1
#9 37.15 [ 35%] Creating zstdcat.1 symlink
#9 37.16 [ 35%] Built target zstdcat.1
#9 37.17 [ 36%] Creating unzstd.1 symlink
#9 37.18 [ 36%] Built target unzstd.1
#9 37.19 [ 37%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd-frugal.dir/
///programs/zstdcli.c.o
#9 37.48 [ 37%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd-frugal.dir////programs/util.c.o
#9 37.69 [ 38%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd-frugal.dir/
///programs/timefn.c.o
#9 37.71 [ 38%] Building C object ThirdParty/zstd/build/cmake/programs/CMakeFiles/zstd-frugal.dir///__/programs/fileio.c.o
#9 38.34 [ 39%] Linking C executable ../../../../../../Release/zstd-frugal
#9 38.37 [ 39%] Built target zstd-frugal
#9 38.38 [ 40%] Creating zstdmt symlink
#9 38.39 [ 40%] Built target zstdmt
#9 38.41 [ 40%] Building CXX object AnnService/CMakeFiles/DistanceUtils.dir/src/Core/Common/DistanceUtils.cpp.o
#9 39.62 [ 40%] Building CXX object AnnService/CMakeFiles/DistanceUtils.dir/src/Core/Common/SIMDUtils.cpp.o
#9 40.34 [ 41%] Building CXX object AnnService/CMakeFiles/DistanceUtils.dir/src/Core/Common/InstructionUtils.cpp.o
#9 40.99 [ 41%] Linking CXX static library ../../Release/libDistanceUtils.a
#9 41.01 [ 41%] Built target DistanceUtils
#9 41.02 [ 42%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/BKT/BKTIndex.cpp.o
#9 41.77 In file included from /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:18,
#9 41.77 from /home/app/SPTAG/AnnService/src/Core/BKT/BKTIndex.cpp:4:
#9 41.77 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 41.77 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 41.77 47 | switch (m_invalidIDBehaviorSetting)
#9 41.77 | ^
#9 41.77 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 41.77 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 41.77 63 | switch (m_invalidIDBehaviorSetting)
#9 41.77 | ^
#9 41.86 In file included from /home/app/SPTAG/AnnService/src/Core/BKT/BKTIndex.cpp:4:
#9 41.86 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = signed char]':
#9 41.86 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 41.86 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.86 155 | return std::move(buffersize);
#9 41.86 | ^
#9 41.86 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 41.87 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = signed char]':
#9 41.87 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 41.87 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.87 165 | return std::move(files);
#9 41.87 | ^
#9 41.87 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = unsigned char]':
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.89 155 | return std::move(buffersize);
#9 41.89 | ^
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.89 165 | return std::move(files);
#9 41.89 | ^
#9 41.89 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = short int]':
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.91 155 | return std::move(buffersize);
#9 41.91 | ^
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = short int]':
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.91 165 | return std::move(files);
#9 41.91 | ^
#9 41.91 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = float]':
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.93 155 | return std::move(buffersize);
#9 41.93 | ^
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = float]':
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 41.93 165 | return std::move(files);
#9 41.93 | ^
#9 41.93 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 62.26 [ 42%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/Common/CommonUtils.cpp.o
#9 63.03 [ 43%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/Common/IQuantizer.cpp.o
#9 63.13 In file included from /home/app/SPTAG/AnnService/src/Core/Common/IQuantizer.cpp:3:
#9 63.13 /home/app/SPTAG/AnnService/inc/Core/Common/OPQQuantizer.h:210:9: warning: extra tokens at end of #endif directive [-Wendif-labels]
#9 63.13 210 | #endif SPTAG_COMMON_OPQQUANTIZER_H
#9 63.13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#9 65.06 [ 43%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/Common/NeighborhoodGraph.cpp.o
#9 66.17 [ 44%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/Common/TruthSet.cpp.o
#9 68.03 [ 44%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/KDT/KDTIndex.cpp.o
#9 68.78 In file included from /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:18,
#9 68.78 from /home/app/SPTAG/AnnService/src/Core/KDT/KDTIndex.cpp:4:
#9 68.78 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 68.78 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 68.78 47 | switch (m_invalidIDBehaviorSetting)
#9 68.78 | ^
#9 68.78 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 68.78 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 68.78 63 | switch (m_invalidIDBehaviorSetting)
#9 68.78 | ^
#9 68.87 In file included from /home/app/SPTAG/AnnService/src/Core/KDT/KDTIndex.cpp:4:
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = signed char]':
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.87 134 | return std::move(buffersize);
#9 68.87 | ^
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = signed char]':
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.87 144 | return std::move(files);
#9 68.87 | ^
#9 68.87 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = unsigned char]':
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.89 134 | return std::move(buffersize);
#9 68.89 | ^
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.89 144 | return std::move(files);
#9 68.89 | ^
#9 68.89 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = short int]':
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.91 134 | return std::move(buffersize);
#9 68.91 | ^
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = short int]':
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.91 144 | return std::move(files);
#9 68.91 | ^
#9 68.91 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = float]':
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.93 134 | return std::move(buffersize);
#9 68.93 | ^
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = float]':
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 68.93 144 | return std::move(files);
#9 68.93 | ^
#9 68.93 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 85.19 [ 45%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/MetadataSet.cpp.o
#9 86.39 [ 45%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/SPANN/SPANNIndex.cpp.o
#9 87.14 In file included from /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:17,
#9 87.14 from /home/app/SPTAG/AnnService/src/Core/SPANN/SPANNIndex.cpp:4:
#9 87.14 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 87.14 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 87.14 47 | switch (m_invalidIDBehaviorSetting)
#9 87.14 | ^
#9 87.14 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 87.14 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 87.14 63 | switch (m_invalidIDBehaviorSetting)
#9 87.14 | ^
#9 87.40 In file included from /home/app/SPTAG/AnnService/src/Core/SPANN/SPANNIndex.cpp:4:
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = signed char]':
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.40 99 | return std::move(buffersize);
#9 87.40 | ^
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = signed char]':
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.40 110 | return std::move(files);
#9 87.40 | ^
#9 87.40 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = unsigned char]':
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.43 99 | return std::move(buffersize);
#9 87.43 | ^
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = unsigned char]':
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.43 110 | return std::move(files);
#9 87.43 | ^
#9 87.43 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = short int]':
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.45 99 | return std::move(buffersize);
#9 87.45 | ^
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = short int]':
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.45 110 | return std::move(files);
#9 87.45 | ^
#9 87.45 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = float]':
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.47 99 | return std::move(buffersize);
#9 87.47 | ^
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = float]':
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 87.47 110 | return std::move(files);
#9 87.47 | ^
#9 87.47 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 110.6 [ 46%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/VectorIndex.cpp.o
#9 111.3 In file included from /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:18,
#9 111.3 from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:10:
#9 111.3 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 111.3 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 111.3 47 | switch (m_invalidIDBehaviorSetting)
#9 111.3 | ^
#9 111.3 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 111.3 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 111.3 63 | switch (m_invalidIDBehaviorSetting)
#9 111.3 | ^
#9 111.4 /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp: In member function 'virtual std::shared_ptr<std::vector > SPTAG::VectorIndex::CalculateBufferSize() const':
#9 111.4 /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:174:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.4 174 | return std::move(ret);
#9 111.4 | ~~~~~~~~~^~~~~
#9 111.4 /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:174:21: note: remove 'std::move' call
#9 111.8 In file included from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:12:
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = float]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 99 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = float]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 110 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = short int]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 99 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = short int]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 110 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = unsigned char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 99 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = unsigned char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 110 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = signed char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 99 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = signed char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 110 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 111.8 In file included from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:11:
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = float]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 134 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = float]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 144 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = short int]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 134 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = short int]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 144 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = unsigned char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 134 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 144 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = signed char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 134 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = signed char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 144 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 111.8 In file included from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:10:
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = float]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 155 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = float]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 165 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = short int]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 155 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = short int]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 165 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = unsigned char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 155 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 165 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = signed char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 155 | return std::move(buffersize);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = signed char]':
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 111.8 165 | return std::move(files);
#9 111.8 | ^
#9 111.8 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 115.1 [ 46%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Core/VectorSet.cpp.o
#9 115.7 [ 46%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/ArgumentsParser.cpp.o
#9 116.1 [ 47%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/AsyncFileReader.cpp.o
#9 116.7 [ 47%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/Base64Encode.cpp.o
#9 116.9 [ 48%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/CommonHelper.cpp.o
#9 117.3 [ 48%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/Concurrent.cpp.o
#9 117.6 [ 49%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/DynamicNeighbors.cpp.o
#9 118.0 [ 49%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/SimpleIniReader.cpp.o
#9 118.8 [ 50%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/VectorSetReader.cpp.o
#9 119.8 [ 50%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/VectorSetReaders/DefaultReader.cpp.o
#9 120.4 [ 51%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/VectorSetReaders/TxtReader.cpp.o
#9 121.5 [ 51%] Building CXX object AnnService/CMakeFiles/SPTAGLib.dir/src/Helper/VectorSetReaders/XvecReader.cpp.o
#9 122.1 [ 52%] Linking CXX shared library ../../Release/libSPTAGLib.so
#9 122.3 [ 52%] Built target SPTAGLib
#9 122.3 [ 52%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/BKT/BKTIndex.cpp.o
#9 123.0 In file included from /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:18,
#9 123.0 from /home/app/SPTAG/AnnService/src/Core/BKT/BKTIndex.cpp:4:
#9 123.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 123.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 123.0 47 | switch (m_invalidIDBehaviorSetting)
#9 123.0 | ^
#9 123.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 123.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 123.0 63 | switch (m_invalidIDBehaviorSetting)
#9 123.0 | ^
#9 123.1 In file included from /home/app/SPTAG/AnnService/src/Core/BKT/BKTIndex.cpp:4:
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = signed char]':
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.1 155 | return std::move(buffersize);
#9 123.1 | ^
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = signed char]':
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.1 165 | return std::move(files);
#9 123.1 | ^
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = unsigned char]':
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.1 155 | return std::move(buffersize);
#9 123.1 | ^
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.1 165 | return std::move(files);
#9 123.1 | ^
#9 123.1 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = short int]':
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.2 155 | return std::move(buffersize);
#9 123.2 | ^
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = short int]':
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.2 165 | return std::move(files);
#9 123.2 | ^
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = float]':
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.2 155 | return std::move(buffersize);
#9 123.2 | ^
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = float]':
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 123.2 165 | return std::move(files);
#9 123.2 | ^
#9 123.2 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 143.3 [ 53%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/Common/CommonUtils.cpp.o
#9 144.1 [ 53%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/Common/IQuantizer.cpp.o
#9 144.2 In file included from /home/app/SPTAG/AnnService/src/Core/Common/IQuantizer.cpp:3:
#9 144.2 /home/app/SPTAG/AnnService/inc/Core/Common/OPQQuantizer.h:210:9: warning: extra tokens at end of #endif directive [-Wendif-labels]
#9 144.2 210 | #endif SPTAG_COMMON_OPQQUANTIZER_H
#9 144.2 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#9 146.0 [ 53%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/Common/NeighborhoodGraph.cpp.o
#9 147.1 [ 54%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/Common/TruthSet.cpp.o
#9 149.0 [ 54%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/KDT/KDTIndex.cpp.o
#9 149.7 In file included from /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:18,
#9 149.7 from /home/app/SPTAG/AnnService/src/Core/KDT/KDTIndex.cpp:4:
#9 149.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 149.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 149.7 47 | switch (m_invalidIDBehaviorSetting)
#9 149.7 | ^
#9 149.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 149.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 149.7 63 | switch (m_invalidIDBehaviorSetting)
#9 149.7 | ^
#9 149.8 In file included from /home/app/SPTAG/AnnService/src/Core/KDT/KDTIndex.cpp:4:
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = signed char]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 134 | return std::move(buffersize);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = signed char]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 144 | return std::move(files);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = unsigned char]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 134 | return std::move(buffersize);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 144 | return std::move(files);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = short int]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 134 | return std::move(buffersize);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = short int]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 144 | return std::move(files);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = float]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 134 | return std::move(buffersize);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = float]':
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 149.8 144 | return std::move(files);
#9 149.8 | ^
#9 149.8 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 165.8 [ 55%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/MetadataSet.cpp.o
#9 167.0 [ 55%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/SPANN/SPANNIndex.cpp.o
#9 167.7 In file included from /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:17,
#9 167.7 from /home/app/SPTAG/AnnService/src/Core/SPANN/SPANNIndex.cpp:4:
#9 167.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 167.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 167.7 47 | switch (m_invalidIDBehaviorSetting)
#9 167.7 | ^
#9 167.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 167.7 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 167.7 63 | switch (m_invalidIDBehaviorSetting)
#9 167.7 | ^
#9 168.0 In file included from /home/app/SPTAG/AnnService/src/Core/SPANN/SPANNIndex.cpp:4:
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = signed char]':
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.0 99 | return std::move(buffersize);
#9 168.0 | ^
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = signed char]':
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.0 110 | return std::move(files);
#9 168.0 | ^
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = unsigned char]':
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.0 99 | return std::move(buffersize);
#9 168.0 | ^
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = unsigned char]':
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.0 110 | return std::move(files);
#9 168.0 | ^
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = short int]':
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.0 99 | return std::move(buffersize);
#9 168.0 | ^
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = short int]':
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.0 110 | return std::move(files);
#9 168.0 | ^
#9 168.0 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = float]':
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.1 99 | return std::move(buffersize);
#9 168.1 | ^
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = float]':
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 168.1 110 | return std::move(files);
#9 168.1 | ^
#9 168.1 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 191.5 [ 56%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/VectorIndex.cpp.o
#9 192.2 In file included from /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:18,
#9 192.2 from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:10:
#9 192.2 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 192.2 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 192.2 47 | switch (m_invalidIDBehaviorSetting)
#9 192.2 | ^
#9 192.2 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 192.2 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 192.2 63 | switch (m_invalidIDBehaviorSetting)
#9 192.2 | ^
#9 192.3 /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp: In member function 'virtual std::shared_ptr<std::vector > SPTAG::VectorIndex::CalculateBufferSize() const':
#9 192.3 /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:174:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.3 174 | return std::move(ret);
#9 192.3 | ~~~~~~~~~^~~~~
#9 192.3 /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:174:21: note: remove 'std::move' call
#9 192.7 In file included from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:12:
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = float]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 99 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = float]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 110 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = short int]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 99 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = short int]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 110 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = unsigned char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 99 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = unsigned char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 110 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::SPANN::Index::BufferSize() const [with T = signed char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:93:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 99 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:99:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::SPANN::Index::GetIndexFiles() const [with T = signed char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:102:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 110 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:110:39: note: remove 'std::move' call
#9 192.7 In file included from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:11:
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = float]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 134 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = float]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 144 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = short int]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 134 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = short int]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 144 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = unsigned char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 134 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 144 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::KDT::Index::BufferSize() const [with T = signed char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:127:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 134 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:134:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::KDT::Index::GetIndexFiles() const [with T = signed char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:137:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 144 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/KDT/Index.h:144:39: note: remove 'std::move' call
#9 192.7 In file included from /home/app/SPTAG/AnnService/src/Core/VectorIndex.cpp:10:
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = float]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 155 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = float]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 165 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = short int]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 155 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = short int]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 165 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = unsigned char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 155 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = unsigned char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 165 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector > SPTAG::BKT::Index::BufferSize() const [with T = signed char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:148:57: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 155 | return std::move(buffersize);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:155:44: note: remove 'std::move' call
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h: In instantiation of 'std::shared_ptr<std::vector<std::__cxx11::basic_string > > SPTAG::BKT::Index::GetIndexFiles() const [with T = signed char]':
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:158:55: required from here
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
#9 192.7 165 | return std::move(files);
#9 192.7 | ^
#9 192.7 /home/app/SPTAG/AnnService/inc/Core/BKT/Index.h:165:39: note: remove 'std::move' call
#9 196.0 [ 56%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Core/VectorSet.cpp.o
#9 196.6 [ 57%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/ArgumentsParser.cpp.o
#9 197.0 [ 57%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/AsyncFileReader.cpp.o
#9 197.6 [ 58%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/Base64Encode.cpp.o
#9 197.8 [ 58%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/CommonHelper.cpp.o
#9 198.3 [ 59%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/Concurrent.cpp.o
#9 198.5 [ 59%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/DynamicNeighbors.cpp.o
#9 198.9 [ 60%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/SimpleIniReader.cpp.o
#9 199.7 [ 60%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/VectorSetReader.cpp.o
#9 200.7 [ 60%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/VectorSetReaders/DefaultReader.cpp.o
#9 201.3 [ 61%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/VectorSetReaders/TxtReader.cpp.o
#9 202.4 [ 61%] Building CXX object AnnService/CMakeFiles/SPTAGLibStatic.dir/src/Helper/VectorSetReaders/XvecReader.cpp.o
#9 203.0 [ 62%] Linking CXX static library ../../Release/libSPTAGLibStatic.a
#9 203.1 [ 62%] Built target SPTAGLibStatic
#9 203.1 [ 62%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/QueryParser.cpp.o
#9 203.6 [ 63%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/SearchExecutionContext.cpp.o
#9 204.7 [ 63%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/SearchExecutor.cpp.o
#9 205.6 [ 64%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/SearchService.cpp.o
#9 209.1 [ 64%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/ServiceContext.cpp.o
#9 210.1 [ 65%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/ServiceSettings.cpp.o
#9 210.4 [ 65%] Building CXX object AnnService/CMakeFiles/server.dir/src/Server/main.cpp.o
#9 212.2 [ 66%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/Client.cpp.o
#9 213.2 /home/app/SPTAG/AnnService/src/Socket/Client.cpp: In member function 'SPTAG::Socket::ConnectionID SPTAG::Socket::Client::ConnectToServer(const string&, const string&, SPTAG::ErrorCode&)':
#9 213.2 /home/app/SPTAG/AnnService/src/Socket/Client.cpp:63:21: warning: loop variable 'ep' creates a copy from type 'const boost::asio::ip::basic_resolver_entryboost::asio::ip::tcp' [-Wrange-loop-construct]
#9 213.2 63 | for (const auto ep : endPoints)
#9 213.2 | ^~
#9 213.2 /home/app/SPTAG/AnnService/src/Socket/Client.cpp:63:21: note: use reference type to prevent copying
#9 213.2 63 | for (const auto ep : endPoints)
#9 213.2 | ^~
#9 213.2 | &
#9 215.2 [ 66%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/Common.cpp.o
#9 215.2 [ 67%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/Connection.cpp.o
#9 216.0 In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
#9 216.0 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
#9 216.0 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
#9 216.0 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
#9 216.0 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
#9 216.0 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
#9 216.0 from /usr/include/boost/shared_ptr.hpp:17,
#9 216.0 from /usr/include/boost/date_time/time_clock.hpp:17,
#9 216.0 from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
#9 216.0 from /usr/include/boost/asio/time_traits.hpp:23,
#9 216.0 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
#9 216.0 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
#9 216.0 from /usr/include/boost/asio/basic_waitable_timer.hpp:22,
#9 216.0 from /usr/include/boost/asio/steady_timer.hpp:22,
#9 216.0 from /usr/include/boost/asio/basic_socket_streambuf.hpp:36,
#9 216.0 from /usr/include/boost/asio/basic_socket_iostream.hpp:24,
#9 216.0 from /usr/include/boost/asio/ip/tcp.hpp:20,
#9 216.0 from /home/app/SPTAG/AnnService/inc/Socket/Connection.h:13,
#9 216.0 from /home/app/SPTAG/AnnService/src/Socket/Connection.cpp:4:
#9 216.0 /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
#9 216.0 36 | BOOST_PRAGMA_MESSAGE(
#9 216.0 | ^~~~~~~~~~~~~~~~~~~~
#9 218.0 [ 67%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/ConnectionManager.cpp.o
#9 219.1 [ 68%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/Packet.cpp.o
#9 219.6 [ 68%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/RemoteSearchQuery.cpp.o
#9 220.2 [ 68%] Building CXX object AnnService/CMakeFiles/server.dir/src/Socket/Server.cpp.o
#9 223.2 [ 69%] Linking CXX executable ../../Release/server
#9 223.3 [ 69%] Built target server
#9 223.3 [ 70%] Building CXX object AnnService/CMakeFiles/client.dir/src/Client/ClientWrapper.cpp.o
#9 225.5 [ 70%] Building CXX object AnnService/CMakeFiles/client.dir/src/Client/Options.cpp.o
#9 226.1 [ 71%] Building CXX object AnnService/CMakeFiles/client.dir/src/Client/main.cpp.o
#9 227.7 [ 71%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/Client.cpp.o
#9 228.7 /home/app/SPTAG/AnnService/src/Socket/Client.cpp: In member function 'SPTAG::Socket::ConnectionID SPTAG::Socket::Client::ConnectToServer(const string&, const string&, SPTAG::ErrorCode&)':
#9 228.7 /home/app/SPTAG/AnnService/src/Socket/Client.cpp:63:21: warning: loop variable 'ep' creates a copy from type 'const boost::asio::ip::basic_resolver_entryboost::asio::ip::tcp' [-Wrange-loop-construct]
#9 228.7 63 | for (const auto ep : endPoints)
#9 228.7 | ^~
#9 228.7 /home/app/SPTAG/AnnService/src/Socket/Client.cpp:63:21: note: use reference type to prevent copying
#9 228.7 63 | for (const auto ep : endPoints)
#9 228.7 | ^~
#9 228.7 | &
#9 230.7 [ 72%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/Common.cpp.o
#9 230.7 [ 72%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/Connection.cpp.o
#9 231.5 In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
#9 231.5 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
#9 231.5 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
#9 231.5 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
#9 231.5 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
#9 231.5 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
#9 231.5 from /usr/include/boost/shared_ptr.hpp:17,
#9 231.5 from /usr/include/boost/date_time/time_clock.hpp:17,
#9 231.5 from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
#9 231.5 from /usr/include/boost/asio/time_traits.hpp:23,
#9 231.5 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
#9 231.5 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
#9 231.5 from /usr/include/boost/asio/basic_waitable_timer.hpp:22,
#9 231.5 from /usr/include/boost/asio/steady_timer.hpp:22,
#9 231.5 from /usr/include/boost/asio/basic_socket_streambuf.hpp:36,
#9 231.5 from /usr/include/boost/asio/basic_socket_iostream.hpp:24,
#9 231.5 from /usr/include/boost/asio/ip/tcp.hpp:20,
#9 231.5 from /home/app/SPTAG/AnnService/inc/Socket/Connection.h:13,
#9 231.5 from /home/app/SPTAG/AnnService/src/Socket/Connection.cpp:4:
#9 231.5 /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
#9 231.5 36 | BOOST_PRAGMA_MESSAGE(
#9 231.5 | ^~~~~~~~~~~~~~~~~~~~
#9 233.4 [ 72%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/ConnectionManager.cpp.o
#9 234.5 [ 73%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/Packet.cpp.o
#9 235.0 [ 73%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/RemoteSearchQuery.cpp.o
#9 235.6 [ 74%] Building CXX object AnnService/CMakeFiles/client.dir/src/Socket/Server.cpp.o
#9 238.6 [ 74%] Linking CXX executable ../../Release/client
#9 238.7 [ 74%] Built target client
#9 238.7 [ 74%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Aggregator/AggregatorContext.cpp.o
#9 239.4 [ 75%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Aggregator/AggregatorExecutionContext.cpp.o
#9 239.9 [ 75%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Aggregator/AggregatorService.cpp.o
#9 244.4 [ 76%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Aggregator/AggregatorSettings.cpp.o
#9 244.8 [ 76%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Aggregator/main.cpp.o
#9 246.2 [ 77%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Server/QueryParser.cpp.o
#9 246.7 [ 77%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/Client.cpp.o
#9 247.7 /home/app/SPTAG/AnnService/src/Socket/Client.cpp: In member function 'SPTAG::Socket::ConnectionID SPTAG::Socket::Client::ConnectToServer(const string&, const string&, SPTAG::ErrorCode&)':
#9 247.7 /home/app/SPTAG/AnnService/src/Socket/Client.cpp:63:21: warning: loop variable 'ep' creates a copy from type 'const boost::asio::ip::basic_resolver_entryboost::asio::ip::tcp' [-Wrange-loop-construct]
#9 247.7 63 | for (const auto ep : endPoints)
#9 247.7 | ^~
#9 247.7 /home/app/SPTAG/AnnService/src/Socket/Client.cpp:63:21: note: use reference type to prevent copying
#9 247.7 63 | for (const auto ep : endPoints)
#9 247.7 | ^~
#9 247.7 | &
#9 249.7 [ 78%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/Common.cpp.o
#9 249.7 [ 78%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/Connection.cpp.o
#9 250.5 In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
#9 250.5 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
#9 250.5 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
#9 250.5 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
#9 250.5 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
#9 250.5 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
#9 250.5 from /usr/include/boost/shared_ptr.hpp:17,
#9 250.5 from /usr/include/boost/date_time/time_clock.hpp:17,
#9 250.5 from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
#9 250.5 from /usr/include/boost/asio/time_traits.hpp:23,
#9 250.5 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
#9 250.5 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
#9 250.5 from /usr/include/boost/asio/basic_waitable_timer.hpp:22,
#9 250.5 from /usr/include/boost/asio/steady_timer.hpp:22,
#9 250.5 from /usr/include/boost/asio/basic_socket_streambuf.hpp:36,
#9 250.5 from /usr/include/boost/asio/basic_socket_iostream.hpp:24,
#9 250.5 from /usr/include/boost/asio/ip/tcp.hpp:20,
#9 250.5 from /home/app/SPTAG/AnnService/inc/Socket/Connection.h:13,
#9 250.5 from /home/app/SPTAG/AnnService/src/Socket/Connection.cpp:4:
#9 250.5 /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
#9 250.5 36 | BOOST_PRAGMA_MESSAGE(
#9 250.5 | ^~~~~~~~~~~~~~~~~~~~
#9 252.4 [ 78%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/ConnectionManager.cpp.o
#9 253.6 [ 79%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/Packet.cpp.o
#9 254.0 [ 79%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/RemoteSearchQuery.cpp.o
#9 254.7 [ 80%] Building CXX object AnnService/CMakeFiles/aggregator.dir/src/Socket/Server.cpp.o
#9 257.6 [ 80%] Linking CXX executable ../../Release/aggregator
#9 257.7 [ 80%] Built target aggregator
#9 257.7 [ 81%] Building CXX object AnnService/CMakeFiles/indexbuilder.dir/src/IndexBuilder/main.cpp.o
#9 258.9 [ 81%] Linking CXX executable ../../Release/indexbuilder
#9 259.0 [ 81%] Built target indexbuilder
#9 259.1 [ 82%] Building CXX object AnnService/CMakeFiles/indexsearcher.dir/src/IndexSearcher/main.cpp.o
#9 263.4 [ 82%] Linking CXX executable ../../Release/indexsearcher
#9 263.5 [ 82%] Built target indexsearcher
#9 263.5 [ 83%] Building CXX object AnnService/CMakeFiles/quantizer.dir/src/Quantizer/main.cpp.o
#9 264.2 /home/app/SPTAG/AnnService/src/Quantizer/main.cpp: In function 'int main(int, char**)':
#9 264.2 /home/app/SPTAG/AnnService/src/Quantizer/main.cpp:115:20: warning: enumeration value 'Undefined' not handled in switch [-Wswitch]
#9 264.2 115 | switch (options->m_inputValueType)
#9 264.2 | ^
#9 264.3 In file included from /home/app/SPTAG/AnnService/src/Quantizer/main.cpp:9:
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h: In instantiation of 'std::unique_ptr<_Tp []> TrainPQQuantizer(std::shared_ptr, std::shared_ptrSPTAG::VectorSet, std::shared_ptrSPTAG::VectorSet) [with T = signed char]':
#9 264.3 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:6:1: required from here
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h:91:14: warning: unused variable 'nclusters' [-Wunused-variable]
#9 264.3 91 | auto nclusters = COMMON::KmeansClustering(dset, localindices, 0, dset.R(), kargs, options->m_trainingSamples, options->m_KmeansLambda, options->m_debug, nullptr);
#9 264.3 | ^~~~~~~~~
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h: In instantiation of 'std::unique_ptr<_Tp []> TrainPQQuantizer(std::shared_ptr, std::shared_ptrSPTAG::VectorSet, std::shared_ptrSPTAG::VectorSet) [with T = unsigned char]':
#9 264.3 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:7:1: required from here
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h:91:14: warning: unused variable 'nclusters' [-Wunused-variable]
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h: In instantiation of 'std::unique_ptr<_Tp []> TrainPQQuantizer(std::shared_ptr, std::shared_ptrSPTAG::VectorSet, std::shared_ptrSPTAG::VectorSet) [with T = short int]':
#9 264.3 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:8:1: required from here
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h:91:14: warning: unused variable 'nclusters' [-Wunused-variable]
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h: In instantiation of 'std::unique_ptr<_Tp []> TrainPQQuantizer(std::shared_ptr, std::shared_ptrSPTAG::VectorSet, std::shared_ptrSPTAG::VectorSet) [with T = float]':
#9 264.3 /home/app/SPTAG/AnnService/inc/Core/DefinitionList.h:9:1: required from here
#9 264.3 /home/app/SPTAG/AnnService/inc/Quantizer/Training.h:91:14: warning: unused variable 'nclusters' [-Wunused-variable]
#9 271.1 [ 83%] Linking CXX executable ../../Release/quantizer
#9 271.2 [ 83%] Built target quantizer
#9 271.2 [ 83%] Building CXX object AnnService/CMakeFiles/ssdserving.dir/src/SSDServing/main.cpp.o
#9 272.0 In file included from /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:17,
#9 272.0 from /home/app/SPTAG/AnnService/src/SSDServing/main.cpp:8:
#9 272.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 272.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 272.0 47 | switch (m_invalidIDBehaviorSetting)
#9 272.0 | ^
#9 272.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 272.0 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 272.0 63 | switch (m_invalidIDBehaviorSetting)
#9 272.0 | ^
#9 276.8 [ 84%] Linking CXX executable ../../Release/ssdserving
#9 276.9 [ 84%] Built target ssdserving
#9 276.9 [ 84%] Building CXX object AnnService/CMakeFiles/ssdservingLib.dir/src/SSDServing/main.cpp.o
#9 277.6 In file included from /home/app/SPTAG/AnnService/inc/Core/SPANN/Index.h:17,
#9 277.6 from /home/app/SPTAG/AnnService/src/SSDServing/main.cpp:8:
#9 277.6 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Contains(const SizeType&) const':
#9 277.6 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:47:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 277.6 47 | switch (m_invalidIDBehaviorSetting)
#9 277.6 | ^
#9 277.6 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h: In member function 'bool SPTAG::COMMON::Labelset::Insert(const SizeType&)':
#9 277.6 /home/app/SPTAG/AnnService/inc/Core/Common/Labelset.h:63:28: warning: enumeration value 'Passthrough' not handled in switch [-Wswitch]
#9 277.6 63 | switch (m_invalidIDBehaviorSetting)
#9 277.6 | ^
#9 282.4 [ 85%] Linking CXX static library ../../Release/libssdservingLib.a
#9 282.4 [ 85%] Built target ssdservingLib
#9 282.5 [ 86%] Building CXX object AnnService/CMakeFiles/balanceddatapartition.dir/src/BalancedDataPartition/main.cpp.o
#9 283.2 /home/app/SPTAG/AnnService/src/BalancedDataPartition/main.cpp: In function 'SPTAG::ErrorCode SyncSaveCenter(SPTAG::COMMON::KmeansArgs&, int, int, long long unsigned int, float, float, float, float, int, int, bool)':
#9 283.2 /home/app/SPTAG/AnnService/src/BalancedDataPartition/main.cpp:679:35: error: 'fail' is not a member of 'SPTAG::ErrorCode'; did you mean 'Fail'?
#9 283.2 679 | return ErrorCode::fail;
#9 283.2 | ^~~~
#9 283.2 | Fail
#9 283.2 /home/app/SPTAG/AnnService/src/BalancedDataPartition/main.cpp: In function 'SPTAG::ErrorCode SyncLoadCenter(SPTAG::COMMON::KmeansArgs&, int, int, long long unsigned int&, float&, float&, float&, float&, int&, bool)':
#9 283.2 /home/app/SPTAG/AnnService/src/BalancedDataPartition/main.cpp:702:31: error: 'fail' is not a member of 'SPTAG::ErrorCode'; did you mean 'Fail'?
#9 283.2 702 | return ErrorCode::fail;
#9 283.2 | ^~~~
#9 283.2 | Fail
#9 283.7 make[2]: *** [AnnService/CMakeFiles/balanceddatapartition.dir/build.make:76: AnnService/CMakeFiles/balanceddatapartition.dir/src/BalancedDataPartition/main.cpp.o] Error 1
#9 283.7 make[1]: *** [CMakeFiles/Makefile2:919: AnnService/CMakeFiles/balanceddatapartition.dir/all] Error 2
#9 283.7 make: *** [Makefile:136: all] Error 2
#9 ERROR: process "/bin/sh -c cd SPTAG && mkdir build && cd build && cmake .. && make && cd .." did not complete successfully: exit code: 2

[6/7] RUN cd SPTAG && mkdir build && cd build && cmake .. && make && cd ..:
283.2 | ^~~~
283.2 | Fail
283.2 /home/app/SPTAG/AnnService/src/BalancedDataPartition/main.cpp: In function 'SPTAG::ErrorCode SyncLoadCenter(SPTAG::COMMON::KmeansArgs&, int, int, long long unsigned int&, float&, float&, float&, float&, int&, bool)':
283.2 /home/app/SPTAG/AnnService/src/BalancedDataPartition/main.cpp:702:31: error: 'fail' is not a member of 'SPTAG::ErrorCode'; did you mean 'Fail'?
283.2 702 | return ErrorCode::fail;
283.2 | ^~~~
283.2 | Fail
283.7 make[2]: *** [AnnService/CMakeFiles/balanceddatapartition.dir/build.make:76: AnnService/CMakeFiles/balanceddatapartition.dir/src/BalancedDataPartition/main.cpp.o] Error 1
283.7 make[1]: *** [CMakeFiles/Makefile2:919: AnnService/CMakeFiles/balanceddatapartition.dir/all] Error 2
283.7 make: *** [Makefile:136: all] Error 2


Dockerfile:17

15 |
16 | # Compile
17 | >>> RUN cd SPTAG && mkdir build && cd build && cmake .. && make && cd ..
18 |
19 | # so python can find the SPTAG module

ERROR: failed to solve: process "/bin/sh -c cd SPTAG && mkdir build && cd build && cmake .. && make && cd .." did not complete successfully: exit code: 2
Building subprocess...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount2887581383/Dockerfile: no such file or directory
Building tinyknn...
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 30B 0.0s
#1 transferring dockerfile: 196B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 55B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ann-benchmarks:latest
#3 DONE 0.0s

#4 [1/4] FROM docker.io/library/ann-benchmarks
#4 DONE 0.0s

#5 [2/4] RUN git clone https://github.com/thomasahle/tinyknn.git
#5 CACHED

#6 [3/4] RUN cd tinyknn && python3 -m pip install .
#6 0.521 Processing /home/app/tinyknn
#6 0.524 Installing build dependencies: started
#6 20.64 Installing build dependencies: finished with status 'done'
#6 20.64 Getting requirements to build wheel: started
#6 22.37 Getting requirements to build wheel: finished with status 'done'
#6 22.37 Preparing metadata (pyproject.toml): started
#6 22.79 Preparing metadata (pyproject.toml): finished with status 'done'
#6 23.09 Collecting Cython>=0.29 (from tinyknn==0.3)
#6 23.09 Using cached Cython-3.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
#6 23.09 Requirement already satisfied: numpy>=1.24 in /usr/local/lib/python3.10/dist-packages (from tinyknn==0.3) (1.24.2)
#6 23.09 Requirement already satisfied: pytest>=7.2 in /usr/local/lib/python3.10/dist-packages (from tinyknn==0.3) (7.2.2)
#6 23.09 Requirement already satisfied: scikit-learn>=1.2 in /usr/local/lib/python3.10/dist-packages (from tinyknn==0.3) (1.2.1)
#6 23.10 Requirement already satisfied: tqdm>=4.65.0 in /usr/local/lib/python3.10/dist-packages (from tinyknn==0.3) (4.66.1)
#6 23.10 Requirement already satisfied: scipy>=0.18 in /usr/lib/python3/dist-packages (from tinyknn==0.3) (1.8.0)
#6 23.11 Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.10/dist-packages (from pytest>=7.2->tinyknn==0.3) (23.1.0)
#6 23.11 Requirement already satisfied: iniconfig in /usr/local/lib/python3.10/dist-packages (from pytest>=7.2->tinyknn==0.3) (2.0.0)
#6 23.11 Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from pytest>=7.2->tinyknn==0.3) (23.2)
#6 23.11 Requirement already satisfied: pluggy<2.0,>=0.12 in /usr/local/lib/python3.10/dist-packages (from pytest>=7.2->tinyknn==0.3) (1.3.0)
#6 23.11 Requirement already satisfied: exceptiongroup>=1.0.0rc8 in /usr/local/lib/python3.10/dist-packages (from pytest>=7.2->tinyknn==0.3) (1.1.3)
#6 23.11 Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.10/dist-packages (from pytest>=7.2->tinyknn==0.3) (2.0.1)
#6 23.14 Requirement already satisfied: joblib>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=1.2->tinyknn==0.3) (1.3.2)
#6 23.14 Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=1.2->tinyknn==0.3) (3.2.0)
#6 23.17 Using cached Cython-3.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
#6 23.18 Building wheels for collected packages: tinyknn
#6 23.19 Building wheel for tinyknn (pyproject.toml): started
#6 24.20 Building wheel for tinyknn (pyproject.toml): finished with status 'error'
#6 24.20 error: subprocess-exited-with-error
#6 24.20
#6 24.20 × Building wheel for tinyknn (pyproject.toml) did not run successfully.
#6 24.20 │ exit code: 1
#6 24.20 ╰─> [46 lines of output]
#6 24.20 running bdist_wheel
#6 24.20 running build
#6 24.20 running build_py
#6 24.20 creating build
#6 24.20 creating build/lib.linux-x86_64-cpython-310
#6 24.20 creating build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 copying tinyknn/ivf.py -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 copying tinyknn/_transform.py -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 copying tinyknn/fast_pq.py -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 copying tinyknn/utils.py -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 copying tinyknn/init.py -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 running egg_info
#6 24.20 writing tinyknn.egg-info/PKG-INFO
#6 24.20 writing dependency_links to tinyknn.egg-info/dependency_links.txt
#6 24.20 writing requirements to tinyknn.egg-info/requires.txt
#6 24.20 writing top-level names to tinyknn.egg-info/top_level.txt
#6 24.20 dependency /tmp/pip-build-env-dhwcff3p/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
#6 24.20 dependency /tmp/pip-build-env-dhwcff3p/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
#6 24.20 dependency /tmp/pip-build-env-dhwcff3p/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
#6 24.20 dependency /tmp/pip-build-env-dhwcff3p/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
#6 24.20 dependency /tmp/pip-build-env-dhwcff3p/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
#6 24.20 reading manifest file 'tinyknn.egg-info/SOURCES.txt'
#6 24.20 adding license file 'LICENSE'
#6 24.20 writing manifest file 'tinyknn.egg-info/SOURCES.txt'
#6 24.20 copying tinyknn/_fast_pq.cpp -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 copying tinyknn/_fast_pq_256.cpp -> build/lib.linux-x86_64-cpython-310/tinyknn
#6 24.20 running build_ext
#6 24.20 building 'tinyknn._fast_pq' extension
#6 24.20 creating build/temp.linux-x86_64-cpython-310
#6 24.20 creating build/temp.linux-x86_64-cpython-310/tinyknn
#6 24.20 x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/tmp/pip-build-env-dhwcff3p/overlay/local/lib/python3.10/dist-packages/numpy/core/include -I/usr/include/python3.10 -c tinyknn/_fast_pq.cpp -o build/temp.linux-x86_64-cpython-310/tinyknn/_fast_pq.o -O3 -march=native -ffast-math -Wno-unused-function -fprefetch-loop-arrays
#6 24.20 tinyknn/_fast_pq.cpp: In function ‘void __pyx_f_7tinyknn_8_fast_pq_estimate_pq_sse(__Pyx_memviewslice, __Pyx_memviewslice, __Pyx_memviewslice, bool, int)’:
#6 24.20 tinyknn/_fast_pq.cpp:17520:320: error: cannot convert a value of type ‘int’ to vector type ‘__m128i’ which has different size
#6 24.20 17520 | __pyx_t_6 = __pyx_f_7tinyknn_8_fast_pq_compute_block_dists((&(*((__uint64_t ) ( / dim=1 */ ((char ) (((__uint64_t ) ( / dim=0 / (__pyx_v_data.data + __pyx_t_4 * __pyx_v_data.strides[0]) )) + __pyx_t_5)) )))), ((__pyx_v_data.shape[1]) / 2), __pyx_v_tables, __pyx_v_signd); if (unlikely(__pyx_t_6 == ((__m128i)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 109, __pyx_L1_error)
#6 24.20 | ^
#6 24.20 tinyknn/_fast_pq.cpp:1480:43: note: in definition of macro ‘unlikely’
#6 24.20 1480 | #define unlikely(x) __builtin_expect(!!(x), 0)
#6 24.20 | ^
#6 24.20 tinyknn/_fast_pq.cpp: In function ‘void __pyx_f_7tinyknn_8_fast_pq_query_pq_sse(__Pyx_memviewslice, int, __Pyx_memviewslice, __Pyx_memviewslice, __Pyx_memviewslice, bool, int, __pyx_opt_args_7tinyknn_8_fast_pq_query_pq_sse
)’:
#6 24.20 tinyknn/_fast_pq.cpp:17831:320: error: cannot convert a value of type ‘int’ to vector type ‘__m128i’ which has different size
#6 24.20 17831 | __pyx_t_6 = __pyx_f_7tinyknn_8_fast_pq_compute_block_dists((&(
((__uint64_t ) ( / dim=1 */ ((char *) (((__uint64_t ) ( / dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) )) + __pyx_t_5)) )))), ((__pyx_v_data.shape[1]) / 2), __pyx_v_tables, __pyx_v_signd); if (unlikely(__pyx_t_6 == ((__m128i)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 158, __pyx_L1_error)
#6 24.20 | ^
#6 24.20 tinyknn/_fast_pq.cpp:1480:43: note: in definition of macro ‘unlikely’
#6 24.20 1480 | #define unlikely(x) __builtin_expect(!!(x), 0)
#6 24.20 | ^
#6 24.20 error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
#6 24.20 [end of output]
#6 24.20
#6 24.20 note: This error originates from a subprocess, and is likely not a problem with pip.
#6 24.20 ERROR: Failed building wheel for tinyknn
#6 24.20 Failed to build tinyknn
#6 24.20 ERROR: Could not build wheels for tinyknn, which is required to install pyproject.toml-based projects
#6 ERROR: process "/bin/sh -c cd tinyknn && python3 -m pip install ." did not complete successfully: exit code: 1

[3/4] RUN cd tinyknn && python3 -m pip install .:
24.20 tinyknn/_fast_pq.cpp:1480:43: note: in definition of macro ‘unlikely’
24.20 1480 | #define unlikely(x) __builtin_expect(!!(x), 0)
24.20 | ^
24.20 error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
24.20 [end of output]
24.20
24.20 note: This error originates from a subprocess, and is likely not a problem with pip.
24.20 ERROR: Failed building wheel for tinyknn
24.20 Failed to build tinyknn
24.20 ERROR: Could not build wheels for tinyknn, which is required to install pyproject.toml-based projects


Dockerfile:4

2 |
3 | RUN git clone https://github.com/thomasahle/tinyknn.git
4 | >>> RUN cd tinyknn && python3 -m pip install .
5 | RUN python3 -c 'import tinyknn'
6 |

ERROR: failed to solve: process "/bin/sh -c cd tinyknn && python3 -m pip install ." did not complete successfully: exit code: 1

Building py...
ERROR: could not find ann_benchmarks/algorithms/py: stat ann_benchmarks/algorithms/py: no such file or directory
Building pycache...
ERROR: invalid tag "ann-benchmarks-pycache": invalid reference format

Install Status:
{'annoy': 'success'}
{'balltree': 'success'}
{'base': 'success'}
{'bruteforce': 'success'}
{'ckdtree': 'success'}
{'datasketch': 'success'}
{'diskann': 'fail'}
{'dolphinnpy': 'success'}
{'dummy_algo': 'success'}
{'elasticsearch': 'success'}
{'elastiknn': 'success'}
{'faiss': 'success'}
{'faiss_gpu': 'success'}
{'faiss_hnsw': 'success'}
{'flann': 'success'}
{'glass': 'success'}
{'hnswlib': 'success'}
{'kdtree': 'success'}
{'kgraph': 'fail'}
{'luceneknn': 'fail'}
{'milvus': 'fail'}
{'mrpt': 'success'}
{'n2': 'success'}
{'nearpy': 'fail'}
{'nmslib': 'success'}
{'nndescent': 'success'}
{'onng_ngt': 'success'}
{'opensearchknn': 'success'}
{'panng_ngt': 'success'}
{'pgvector': 'success'}
{'pg_embedding': 'success'}
{'puffinn': 'success'}
{'pynndescent': 'success'}
{'qdrant': 'success'}
{'qg_ngt': 'success'}
{'qsg_ngt': 'success'}
{'redisearch': 'success'}
{'rpforest': 'fail'}
{'scann': 'success'}
{'sptag': 'fail'}
{'subprocess': 'fail'}
{'tinyknn': 'fail'}
{'vald': 'success'}
{'vearch': 'success'}
{'vespa': 'success'}
{'voyager': 'success'}
{'weaviate': 'success'}
{'py': 'fail'}
{'pycache': 'fail'}
ERROR conda.cli.main_run:execute(49): conda run python install.py failed. (See above for error)

Process finished with exit code 1

@maumueller
Copy link
Collaborator

@cyberpower678 Which CPU/OS are you running on?

@cyberpower678
Copy link
Author

This particular install is on Windows 11 on an Ubuntu 22.04 WSL2 with and AMD Ryzen Threadripper 3990X

@cyberpower678
Copy link
Author

I found that kgraph was simply renamed and all you need to do is use the updated name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants